Ansicht
Dokumentation

ABENNONCAT_EXCEPTIONS - NONCAT EXCEPTIONS

ABENNONCAT_EXCEPTIONS - NONCAT EXCEPTIONS

CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Runtime Errors

Runtime errors indicate situations in which the execution of an ABAP program cannot be continued but must be terminated. Runtime errors can occur in one of the following situations when ABAP programs are executed:

  • Non-handled exceptions:
  • A catchable exception is not handled.

  • A uncatchable exception is raised.

  • Program-driven raise:

Each runtime error is identified by a name and assigned to a specific error situation and leads to a database rollback. Following a program termination caused by a runtime error, the system generates a short dump which contains the name of the runtime error, the associated exception class, content of data objects, active calls, control structures, and so on, and allows the user to branch directly to the ABAP Debugger. Short dumps are kept in the system for 14 days by default and managed using the ABAP dump analysis (transaction ST22). The output of the short dump can be controlled in the profile parameter rdisp/verbose_level if there are special requirements.

Note

Program-driven termination of a program should be implemented in situations where meaningful program execution is no longer possible, using RAISE SHORTDUMP, THROW SHORTDUMP, or ASSERT from now on and not using exit messages.

Example

Raising of the runtime error COMPUTE_INT_ZERODIVIDE when the exception CX_SY_ZERODIVIDE is not caught.

cl_demo_output=>display( 1 / 0 ).






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3329 Date: 20240329 Time: 061727     sap01-206 ( 49 ms )