SAP LEAVE TO LIST-PROCESSING ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for LEAVE

LEAVE TO LIST-PROCESSING

Short Reference
• LEAVE TO LIST-PROCESSING ABAP Statement
• AND RETURN TO SCREEN LEAVE TO LIST-PROCESSING

ABAP_BASIC_FORM_5 LEAVE TO LIST-PROCESSING [AND RETURN TO SCREEN dynnr].

ABAP Addition
... AND RETURN TO SCREEN dynnr

What does it do? 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.

ABAP Addition

What does it do? 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.



Latest notes:
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.



Example ABAP Coding
See Calling Lists from
Within Screen Processing.

Return to menu