Skip to content

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 also leave a program that calls other programs without returning to the caller after the call:

  • SUBMIT without AND RETURN Leaving certain processing blocks can also cause the entire program to be exited implicitly.

Other versions: 7.31 | 7.40 | 7.54

Continue

LEAVE PROGRAM