LEAVE TO LIST-PROCESSING
LEAVE TO LIST-PROCESSING [AND RETURN TO SCREEN dynnr].
This statement can be executed during PBO and PAI processing. After the current dynpro is processed, this statement interrupts the current dynpro sequence, starts the list processor, and displays the basic list. The basic list consists of any list output of all PBO and PAI modules of the dynpro sequence executed to this point. The statement is ignored in the event blocks for reporting events and list events.
The screen of the
list dynpro of the list processor replaces the screen shown in the
popup level 0. Any modal
dialog windows stacked above this are hidden while the list is being displayed. The GUI status set in
the dynpro sequence is used. Any list events raised by user actions in the GUI window of the list dynpro call the event blocks of the current
main program. Any details
lists created there are displayed by the list processor in the GUI window of the basic list (unless the statement
WINDOW is used).
The user can exit the list processor or list display by selecting the functions Back, Exit, or Cancel in the display for list level 0, or by means of a program that uses the LEAVE LIST-PROCESSING statement. By default, the interrupted dynpro sequence resumes in both cases with the PBO processing of the dynpro in which the list processor was called.
... AND RETURN TO SCREEN dynnr
Using the addition
AND RETURN TO SCREEN, another dynpro can be specified
dynnr for continuing PBO processing.
dynnr expects a character-like data object that contains the number of a dynpro in the current main program.
- If the current dynpro is displayed in a dialog box, the list processor also displays the lists in this window.
If the value 0 is specified in
dynnr, the current dynpro sequence is closed after the list processor is exited.