SAP LEAVE LIST-PROCESSING ABAP Statements
Warning: Undefined variable $saptab in /customers/b/9/9/trailsap.com/httpd.www/abap-statements/index.php on line 46Get Example source ABAP code based on a different SAP table
Standard SAP Help for LEAVE
LEAVE LIST-PROCESSING
• LEAVE LIST-PROCESSING ABAP Statement
ABAP_BASIC_FORM_6
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.
LEAVE SCREEN.
ENDMODULE.
TOP-OF-PAGE.
WRITE 'Header' COLOR COL_HEADING.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
WRITE sy-lsind COLOR COL_HEADING.
ULINE.
AT LINE-SELECTION.
WRITE 'Secondary List'.
IF sy-lsind = 20.
LEAVE LIST-PROCESSING.
ENDIF.
Return to menu