Get Example source ABAP code based on a different SAP table
• LINE-SIZE SUBMIT • LINE-COUNT SUBMIT • EXPORTING LIST TO MEMORY SUBMIT • TO SAP-SPOOL SUBMIT
SUBMIT>, list_options> Short Reference >
ABAP_SYNTAX ... $[LINE-SIZE width$]> $[LINE-COUNT page_lines$]> ${ $[EXPORTING LIST TO MEMORY$]> $| $[TO SAP-SPOOL spool_options >$] $} ...>
ABAP Addition 1 ... LINE-SIZE width> 2 ... LINE-COUNT page_lines> 3 ... EXPORTING LIST TO MEMORY> 4 ... TO SAP-SPOOL spool_options>
What does it do? These additions modify the basic list of the called program. While LINE-SIZE> and LINE-COUNT> affect the formatting, the other two additions determine the output type of the list. EXPORTING LIST TO MEMORY> saves the list to the ABAP memory> and TO SAP-SPOOL> sends it to the SAP spool system as a spool list. If these additions are not specified, the basic list is preset as a screen list.
Latest notes: The additions only work the first time the called program is executed. If a selection screen> is displayed in the called program, the runtime framework calls the program again after it ends and ignores the additions list_options>. This applies in particular to the addition TO SAP-SPOOL>, because the basic list is displayed as a screen list and not as a spool list when the program is called again. For this reason, it is not advisable to use the addition VIA SELECTION-SCREEN> when using list_options >. ABAP_HINT_END