Get Example source ABAP code based on a different SAP table
ABAP_LIST - Spool Parameters For every spool request>, spool parameters must be defined that are used to format the spool list when the list is created, and to control the request. In the ABAP statements NEW-PAGE PRINT ON> > and SUBMIT TO SAP-SPOOL>> the spool parameters are specified in a structure of type PRI_PARAMS>> from the ABAP Dictionary. Spool parameters can be enhanced by archiving parameters if the data of the spool request is to be archived using ArchiveLink. To do this, optical archiving using ArchiveLink> is switched on (archiving mode 2 or 3) in the spool parameters. Archiving parameters are specified in a structure of type ARC_PARAMS>> from the ABAP Dictionary. The spool parameters are specified either explicitly or determined implicitly. The end user can make an interactive entry in the spool dialog box or the spool parameters can be set in a program-driven way.
Spool Dialog Box>
Setting Program-Driven Spool Parameters>
Overview of All Spool Parameters>
Latest notes: The content of the structures PRI_PARAMS> and ARC_PARAMS> cannot be modified directly in programs and only the function module GET_PRINT_PARAMETERS> can be used for this. BEGIN_SECTION SAP_INTERNAL_HINT The transport of spool parameters between systems is not supported. Transporting the structures PRI_PARAMS> and ARC_PARAMS> is not sufficient. END_SECTION SAP_INTERNAL_HINT ABAP_HINT_END