SAP TCodes · LessonReviewed by Arjun, SAP Solution Architect · Updated · Published · SAP S/4HANA 2023 · all levels
SAP ST22 Tcode
ST22 is the SAP transaction code for ABAP Dump Analysis (Basis/ABAP). It displays ABAP runtime errors (short dumps), the detailed record of a program that terminated abnormally, essential for diagnosing crashes and errors.
Quick answer
ST22 displays ABAP runtime errors (short dumps), the detailed record of a program that terminated abnormally, essential for diagnosing crashes and errors.
Key takeaways
- Date/time selection of dumps.
- Watch out: dumps are reorganised away within days, so the evidence expires while you decide.
Purpose
It displays ABAP runtime errors (short dumps), the detailed record of a program that terminated abnormally, essential for diagnosing crashes and errors.
Key fields and screen
- Date/time selection of dumps.
- Dump list with error category and program.
- Full dump: error, source position, variables, call stack.
- Long text with cause and possible fixes.
Tips
- Read the error text and the source line where it failed.
- Note the runtime error name (e.g. TIME_OUT, MESSAGE_TYPE_X) to search SAP Notes.
- Correlate the dump time with the user’s action (and SM21).
Common errors
- TIME_OUT (long-running online program, run in background).
- MESSAGE_TYPE_X (a program-issued abort).
- Storage/memory dumps from inefficient code.
Common pitfalls
- Reading the source position before the runtime error name. The name is the diagnosis; the line only says where the program gave up.
- Assuming a dump means nothing happened. The current transaction rolled back, and anything committed earlier in the session, or sent to another system, still stands.
- Waiting. Dumps are deleted by a standard reorganisation job, often within days, so the evidence expires while somebody decides whether to look.
- Reading one dump instead of the list. Whether it is one user, one job, or everybody is most of the answer, and only the list shows that.
- Searching notes before checking whose code it is. A dump in a Z program is yours and no note will exist.