SAP ABAP Runtime Errors

Advertisements

Whenever SAP comes across an issue that causes it to stop processing it generates an ABAP Runtime Error. A basic example of this would be a divide by zero but there and many such errors defined in SAP such as DBIF_RSQL_INVALID_REQUEST Invalid Request.

Advertisements

The runtime error would be presented immediately if executing a dialog process but can be recovered any time using transaction ST22. All runtime errors that happen during a background or RFC process are also available via tcode ST22.

st22 runtime error

The runtime error contains all the details about the type of error as well as the contents of the program variables at the point of the error. for example here is an example of the description you might see for DBIF_RSQL_INVALID_REQUEST.

Advertisements

What Happened? The current ABAP/4 program terminated due to an internal error in the database interface. What can you do? Make a note of the actions and input which caused the error. To resolve the problem contact your system administrator. You can use transaction ST22 (ABAP dump analysis) to view and administer termination messages, especially those beyond their normal deletion date. Error analysis.

Advertisements

In a statement, an invalid request was made to the database interface when accessing the table “EKKO”.

Advertisements

SAP Runtime error transactions and ABAP programs

ST22ABAP runtime error
RSLISTDUMPSList All Runtime Errors and short description
RSSHOWRABAX – Program associated with ST22

SAP Runtime error tables 

SNAP – ABAP/4 Snapshot for Runtime Errors (ST22 list)
SNAPTID – ABAP Runtime Errors – Uses SNAPT as a text table so Includes first text line(TLINE) 
SNAPT – ABAP Runtime Error Texts
SNAPTTREX – Exception table for translation

Runtime Error categories (SNAPTID-CATEGORY)

Field: SNAPTID-CATEGORY
Domain: S380CATEGORY

  • I Internal Error
  • R Error at ABAP Runtime
  • Y Error at Screen Runtime
  • D Error in Database Interface
  • A ABAP Programming Error
  • F Installation Errors
  • O Resource Shortage
  • E External Error
  • U End User Error
  • K No Error
  • S ST Runtime Error
  • J Internal ST Error
  • X XSLT Runtime Error& Text Include (no Short Dump, only Text Module)
  • & Text Include (no Short Dump, only Text Module)
  • B ITS Error
  • Q Error in Open SQL
  • – Unclassified Error

Most common SAP runtime errors

st22-abap-runtime-errors

Below is a list of some of the more common runtime errors including a link to full details of the error and what causes it.

DBIF_RSQL_INVALID_REQUEST

MESSAGE_TYPE_X

TIME_OUT

OPEN_DATASET_NO_AUTHORITY

CONVT_NO_NUMBER

GETWA_NOT_ASSIGNED

TSV_TNEW_PAGE_ALLOC_FAILED

LOAD_PROGRAM_CLASS_MISMATCH

LOAD_PROGRAM_INTF_MISMATCH

Advertisements