LEAVE TO LIST-PROCESSING
LEAVE TO LIST-PROCESSING [AND RETURN TO SCREEN dynnr].
This statement can be executed during PBOand PAI processing. After processing the current dynpro, this statement interrupts the respective dynpro sequence, starts the list processor, and displays the basic list. The basic list consists of the list outputs of all PBO and PAI modules of the dynpro sequence executed to this point. The statement has no effect in the event blocks for reporting events and list events.
The list dynpro screen of the list processor replaces the screen presented in pop-up level 0. Modal dialog boxes that might be stacked on the display are hidden for the duration of the list display. The GUI status set in the dynpro sequence is used. List events initiated by user actions in the window of the list dynpro call the event blocks of the current main program. The details lists created there are displayed by the list processor in the basic list window (unless statement WINDOW is used).
The user can exit the list processor or list display by selecting the functions Back, End, or Cancel in the display of list level 0, or using a program with the statement LEAVE LIST-PROCESSING. By default, the interrupted dynpro sequence resumes in both cases with PBO processing of the dynpro, in which the list processor was called.
... AND RETURN TO SCREEN dynnr
Another dynpro can be specified in
dynnr using the addition AND
RETURN TO SCREEN to continue PBO processing. For
dynnr, a character-type data object is expected that contains the number of a screen 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 exiting the list processor.