Get Example source ABAP code based on a different SAP table
ARTICLE
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:
LEAVE TO TRANSACTION
SUBMIT without AND RETURN Leaving certain processing blocks can also cause the entire program to be exited implicitly.