ABAP Keyword Documentation → ABAP − Reference → Calling and leaving program units → Exiting Program Units
Exiting Programs
This section contains the statement LEAVE PROGRAM used for exiting programs.
Apart from LEAVE PROGRAM, the following statements are also used to exit programs that calls other programs without returning to the caller after the call:
SUBMITwithoutAND RETURN
Exiting certain processing blocks can also cause the entire program to be exited implicitly.
Other versions: 7.31 | 7.40 | 7.54