Ansicht
Dokumentation
ABAPEXIT_PROCESSING_BLOCKS - EXIT PROCESSING BLOCKS
BAL_S_LOG - Application Log: Log header data Vendor Master (General Section)This documentation is copyright by SAP AG.
EXIT, processing_block
EXIT.
Effect
If the statement EXIT is outside a loop, it immediately terminates the current processing block.
After the processing block is exited, the runtime framework behaves in the same way as when the processing block is exited in a regular way, with the exception of the event block LOAD-OF-PROGRAM and the reporting event blocks START-OF-SELECTION and GET. In particular, the output parameters of procedures are passed on to the bound actual parameters.
- The event block LOAD-OF-PROGRAM cannot be exited using EXIT.
- After the reporting event blocks START-OF-SELECTION and GET have been terminated using EXIT, the runtime framework does not raise any more reporting events and instead calls the list processor directly to display the basic list.
Only use RETURN to exit procedures
Example
The method main contains two EXIT statements. Whereas the first statement exits the LOOP loop, the second statement exits the entire method. Therefore, the RETURN statement should be used instead of the second EXIT statement.
General Data in Customer Master CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2055 Date: 20240426 Time: 175558 sap01-206 ( 32 ms )