sapdev logo background
sapdev logo sapdev logo
Comments

ABAP EXIT PROCESSING BLOCKS Statement syntax, information and example SAP source code



Return to Statement index



EXIT - processing_block

Short Reference

ABAP Syntax EXIT.

What does it do? If the EXIT statement is located outside a loop , the statement immediately terminates the current processing block .
After the processing block is exited, the runtime environment responds 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.
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.
ABAP_PGL Only use RETURN to exit procedures
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




EXIT_LOOP
EXIT_SQL




comments powered by Disqus