Debugging Part 6: ST22 Short Dump Analysis
Preview · a free account unlocks the full lesson
Read ABAP short dumps in ST22: runtime error name and exception class, "What happened", "Error analysis", "How to correct", source code extract, active calls (call stack), chosen variables, user and transaction, and the most common dumps with their typical causes and fixes.
In this lessonShow sectionsHide sections
Visual overview
Explanation
Parts 2 through 5 debugged running code; when a program terminates outright, ST22 is where to start. It shows every runtime error with its name, such as CONVT_NO_NUMBER, its exception class, such as CX_SY_CONVERSION_NO_NUMBER, along with the program, line, user, and time involved.
The recommended reading order is: the short text, then "What happened" or "Error analysis," then the "Source code extract" showing the failing line, then "Active calls" for the call stack, and finally "Chosen variables." A "Debugger" button is sometimes available for recent dumps, and failing that, reproducing the issue with a breakpoint set at the failing line gives you the same full context.
One useful habit: a dump occurring in SAP standard code is very often actually caused by custom data or custom exits passing in wrong values, so check the call stack for Z code before opening an SAP incident.
To find a dump, go to ST22 and select by date, user, or program — dumps are only kept for a limited time, by default around 14 days.
Reading through the sections: the short text and runtime error name give you the category of the problem. "What happened" and "What can you do" give a general explanation aimed at any user. "Error analysis" gets specific — for example, stating plainly that the value 'ABC' couldn't be interpreted as a number.
"How to correct" carries SAP's own hints, and it's worth searching SAP notes using the runtime error name plus the program name. The "Source code extract" shows the failing statement marked with >>>. "Active calls" or "events" is the call stack — look through it for the first program that's actually yours.
And "Chosen variables" shows the actual values in play at the moment of the dump.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Referenced SAP objects
Reviewed reference pages for the objects this page mentions.
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.