Ansicht
Dokumentation

ABAPLEAVE_SCREEN - LEAVE SCREEN

ABAPLEAVE_SCREEN - LEAVE SCREEN

rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

LEAVE [TO] SCREEN

Short Reference


LEAVE ${ SCREEN $| ${TO SCREEN dynnr$} $}.

Variants:

1. LEAVE SCREEN.

2. LEAVE TO SCREEN dynnr.

Effect

This statement ends the processing of the current dynpro. The current processing block of the ABAP program and the current processing block of the dynpro are exited immediately.

Variant 1

LEAVE SCREEN


Effect

The variant LEAVE SCREEN calls the current next dynpro. This is either specified defined statically in the properties of the current dynpro or was previously set using the statement SET SCREEN.

Variant 2

LEAVE TO SCREEN dynnr


Effect

The variant LEAVE TO SCREEN calls the dynpro with the number dynnr as the next dynpro. dynnr expects a data object of the type n and the length 4. It must contain either the dynpro number of a dynpro in the main program of the current program group or the value 0, otherwise an uncatchable exception is raised. This statement is a short form of the statements SET SCREEN dynnr and LEAVE SCREEN.

Notes

  • This statement does not terminate the entire dynpro sequence and instead branches to another dynpro in the same sequence. Only if the number 0 is used to branch to the next dynpro does LEAVE SCREEN terminate the dynpro sequence.





RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3002 Date: 20240424 Time: 225327     sap01-206 ( 43 ms )