Printing several forms in one spool request
In this recipe, we will see how printed multiple forms may be included in a single spool request. We will create a number of form pages comprising employees data. Each page will contain one employee's salary information. The recipe will focus on the important parts of the program related to Smart Form processing. We assume that an internal table EMPLOYEE_LIST
exists that contain the employee numbers of all personnel to be processed.
How to do it...
Follow these steps:
- First, we call the function module
SSF_FUNCTION_MODULE_NAME
in order to get the name of the Smart Form function module. The form name is passed to the function module. Themyfunction
variable is based on the typeRS38l_FNAM
(not shown in the ...
Get SAP ABAP Advanced Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.