Ansicht
Dokumentation

ABENABAP_LEAVE_PROGRAM - ABAP LEAVE PROGRAM

ABENABAP_LEAVE_PROGRAM - ABAP LEAVE PROGRAM

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Exiting Programs

This section describes 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:

Exiting certain processing blocks can also cause the entire program to be exited implicitly.

Note

The statements for exiting programs are not possible in some contexts as for example during unit tests or during update. Therefore they should not be used in procedures.






General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1197 Date: 20240426 Time: 092006     sap01-206 ( 12 ms )