SAP LEAVE LIST-PROCESSING ABAP Statements
Get Example source ABAP code based on a different SAP table
Standard SAP Help for LEAVE
• LEAVE LIST-PROCESSING ABAP Statement
What does it do? This statement immediately exits the list processor. The runtime environment continues processing with the
If the statement is not executed when the list is displayed by the list processor, it is ignored, except in the event blocks for
When the list processor is exited, the list buffer of the
Example ABAP Coding
This example shows the recommended procedure for displaying lists during dynpro sequences. A separate dynpro 500 is defined for calling the list processor. The
MODULE call_list OUTPUT.
SET PF-STATUS space.
WRITE 'Basic List'.
LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
WRITE 'Header' COLOR COL_HEADING.
TOP-OF-PAGE DURING LINE-SELECTION.
WRITE sy-lsind COLOR COL_HEADING.
WRITE 'Secondary List'.
IF sy-lsind = 20.
Return to menu