Get Example source ABAP code based on a different SAP table
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 in the called program. While LINE-SIZE and LINE-COUNT modify the formatting, the other two additions determine the output type of the list.
EXPORTING LIST TO MEMORY saves the list to theABAP Memory and TO SAP-SPOOL sends it as a spool list to the SAP spool system. If these additions are not specified, the basic list is displayed as a screen list.
Latest notes:The additions only take effect the first time the called program is executed. If a selection screen is displayed in the program accessed, the runtime environment accesses the program again after completion, without taking account of the list_options additions. This is particularly important 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 accessed again. For this reason, it is advisable not to use the addition VIA SELECTION-SCREEN when using list_options. • LINE-SIZE SUBMIT • LINE-COUNT SUBMIT