Ansicht
Dokumentation
ABENABAP_EXCEPTIONS - ABAP EXCEPTIONS
Addresses (Business Address Services) SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Exception Handling
Exceptions are events during the execution of an ABAP program that interrupt the program flow because it is not possible for the program to continue in a meaningful way. Exception handling enables a response to these events.
Exception situations can be detected either by the program or by the runtime framework. When an exception situation is detected, either the ABAP program or the runtime framework raises an exception. Exceptions in the ABAP runtime framework are generally caused by error situations that cannot be predicted by the static program check.
Exceptions are either catchable or uncatchable.
- Catchable exceptions are class-based. They are predefined in the system, or can be self-defined. They are raised either by the ABAP runtime framework or in an ABAP program using
- The statement RAISE EXCEPTION
- THROW specified in a conditional expression
- They can be handled using TRY - CATCH - ENDTRY.
- In addition, there are also non-class-based exceptions and obsolete catchable runtime errors.
- Uncatchable exceptions are raised only by the ABAP runtime framework. They are a response to error situations that cannot generally be handled meaningfully in a program.
Exceptions that were not caught, that is, all uncatchable exceptions and all catchable exceptions not caught in the program, produce a runtime error, which means that the program is terminated with a short dump.
Fill RESBD Structure from EBP Component Structure CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2500 Date: 20240420 Time: 161733 sap01-206 ( 34 ms )