ABAPEXIT_PROCESSING_BLOCKS - EXIT PROCESSING BLOCKS

BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

EXIT - processing_block

Short Reference



Syntax

EXIT.

Effect

If the EXIT statement is located outside aloop, the statement immediately terminates the currentprocessing block.

After the processing block is exited, the runtime environment responds in the same way as when theprocessingblock is exited in a regular way (with the exception of the event block LOAD-OF-PROGRAM and thereportingevent blocks START-OF-SELECTION and GET). In particular, the output parameters of procedures are passed on to the bound actual parameters.

  • You cannot exit the LOAD-OF-PROGRAM event block using EXIT.
  • After the reporting event blocks START-OF-SELECTION and GET have been exited using EXIT,the runtime environment does not trigger any more reporting events; instead, it calls the list processor directly to display the basic list.

Note

We recommend using EXIT only within loops (see EXIT- loops) and that you use RETURN to exit processing blocks (except for GET event blocks) instead.


CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.


Length: 2107 Date: 20120522 Time: 053748     triton ( 95 ms )