A program terminated with a short dump. Where do you look, and how do you read the dump to find the cause?
Say your answer out loud first.
Practise another way
I open ST22, filter by user, date or runtime error name, and open the dump. I read the runtime error name and exception class first, for example COMPUTE_INT_ZERODIVIDE with CX_SY_ZERODIVIDE.
Then I read What happened and Error analysis. Then I check the source code extract and the active calls to see which line and caller failed.
I check the variable values at termination, reproduce it in the debugger, and fix the cause, usually by preventing or catching the exception. In ADT I see my dumps in the Feed Reader.
Where dumps live
- ST22 (ABAP Dump Analysis) lists runtime errors with filters for date, user, client and error name. Dumps are reorganized after a retention period (14 days by default in the classic documentation); use Keep to protect one you still need.
- In ADT, the Feed Reader view shows runtime errors for your project; when your own run dumps, ADT shows a popup with Show and a jump into the debugger. This is the only way in ABAP Cloud, where there is no SAP GUI.
How to read it, top to bottom
- Runtime error and exception:
COMPUTE_INT_ZERODIVIDE/CX_SY_ZERODIVIDE,ITAB_LINE_NOT_FOUND,TSV_TNEW_PAGE_ALLOC_FAILED(memory),DBSQL_SQL_ERROR,TIME_OUT. The name already narrows the search. - What happened / Error analysis: the kernel's explanation, often naming the procedure that neither caught nor declared the exception.
- Source code extract: the terminating line is marked. Note the include and the main program; a name like
ZCL_X====CPtells you it is a class pool. - Active calls / event: the call stack shows who called the failing code, which is often where the real bug is.
- Chosen variables: values at termination, for example an empty divisor or a key that was not found.
Two facts that matter for the fix
- A runtime error rolls back the current database LUW, so partial writes are not committed.
- Catchable exceptions can be handled with
TRY ... CATCH; uncatchable ones (like memory exhaustion) must be prevented by design, for example by processing in packages.
TRY.
DATA(share) = amount / quantity.
CATCH cx_sy_zerodivide INTO DATA(err).
" log err->get_text( ) and handle the item
ENDTRY.
Reproduce before you fix: from the dump screen shown right after a dialog termination you can jump to the debugger, but not when you later display the dump from ST22.
So rebuild the case with the same data and an exception breakpoint on the class from the dump.
You can also raise a dump yourself with RAISE SHORTDUMP TYPE ... when continuing would corrupt data.
Reads the dump in a fixed order: name, analysis, source extract, call stack, variables. Links the exception class to a TRY/CATCH or prevention fix, and knows the ADT Feed Reader for cloud systems.
Says 'I go to ST22 and see the error' and then starts debugging blindly without using the call stack or variable values.
Fixing the line where the program stopped instead of the caller that passed bad data. The active calls section usually shows the real culprit.
- Which dumps cannot be caught with TRY/CATCH, and what do you do instead?
- A dump happens only in production. How do you reproduce it in development?
- How do you see dumps in the ABAP environment where there is no ST22 in SAP GUI?
5 official pages and 2 prep guides. Confidence: high. Checked 2 Dec 2026.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.