New to SAP Basis? Start with the module overview
ST22 — ABAP Dump Analysis
Quick answer
ST22 is used to analyze ABAP short dumps with runtime error, call stack, source extract, user and timestamp context. It is most useful when a dialog, background, RFC or update process terminates with an ABAP runtime error. For reliable support work, start with the exact system, client, user and business context, then use the transaction's own logs or status information before changing configuration or data.
This practitioner page covers ST22, ABAP Dump Analysis. It focuses on the real operational purpose of the transaction, the evidence to collect before changing anything, the objects and status information that matter, and the failure patterns consultants repeatedly see in production support and project testing.
Published 19 Sept 2026· 975 words
Purpose
Analyze ABAP short dumps with runtime error, call stack, source extract, user and timestamp context. ST22 should be treated as a diagnostic or controlled business tool rather than simply a screen name: the value comes from understanding what evidence it exposes or what state it changes. In support, capture the exact system, client, user, timestamp and affected business object before drawing a conclusion, because the same transaction can show very different results across organizational and execution contexts.
When it is used
ST22 is typically used when a dialog, background, RFC or update process terminates with an ABAP runtime error. Consultants also reach for it during test cycles and incident reproduction because it gives a direct view of the relevant SAP runtime or configuration state. In production, use the narrowest selection that reproduces the issue, and distinguish a display/analysis action from any action that changes or deletes system state.
How to use it in practice
- Start from the exact incident time and user, then open the matching dump.
- Read Error analysis and How to correct the error before the source extract.
- Use the call stack to distinguish the failing caller from the line where the runtime finally terminated.
- Correlate with SM37, SM13, RFC or application logs when the dump came from a background process.
- Fix the data, code or configuration cause and reproduce in a controlled system.
Key data objects
The following fields, logs or repository objects are the most useful anchors when working in ST22. They are the pieces of context to capture in screenshots, tickets and handovers so another consultant can reproduce the same finding rather than starting from a generic symptom.
- runtime error and exception — verify the exact value and its relationship to the failing business or technical step.
- ABAP program/include — verify the exact value and its relationship to the failing business or technical step.
- user and client — verify the exact value and its relationship to the failing business or technical step.
- timestamp — verify the exact value and its relationship to the failing business or technical step.
- source-code extract and call stack — verify the exact value and its relationship to the failing business or technical step.
How to prove it in the data
Do not stop at the first visible error. Reproduce the issue with the same user, client and input, capture the key values above, and correlate them with the nearest application log, job/update/RFC record or repository object. A good proof shows the before-state, the exact failure or status, and the after-state following a controlled correction; that makes the diagnosis auditable and prevents a coincidental retry from being mistaken for a fix.
Open the exact ST22 dump for the affected client and timestamp, then correlate it with the SM37 job step and a reproducible input range. Examine the statement before allocation failure, table row counts, selection predicates and whether packages can safely replace a full-table materialization.
If the incident involves SQL execution, capture a narrowly scoped ST05 trace in a permitted system; if the dump points to authorization or a remote call, follow that evidence instead. ERPClimb's ST22 Dump Reconstructor helps organize a sanitized diagnostic timeline, but generated recommendations require SAP developer and Basis verification.
ECC vs S/4HANA
ST22 remains the core ABAP dump-analysis transaction on S/4HANA; newer development tools complement it but do not remove the need to inspect runtime dumps in the ABAP system. The practical rule is to separate “still technically available” from “preferred design for new work.” During an S/4HANA program, keep the transaction as a support/reference tool where valid, but challenge legacy implementation patterns that conflict with released APIs, Fiori-first processes or clean-core principles.
Common pitfalls and how to diagnose them
Incident walkthrough — an overnight batch job terminates with TSV_TNEW_PAGE_ALLOC_FAILED and the team asks to raise memory limits immediately. The dump indicates an allocation failure; it does not identify which SELECT, internal-table growth or concurrent workload created the pressure. Capture the program/include, source line, call stack, user, work process, time and memory-use context.
Check whether the job read an unbounded dataset, repeatedly appended to a large internal table or processed duplicate documents. Increasing memory without correcting the growth pattern may simply delay the next failure. Sanitize sensitive dump details before uploading them to any external diagnostic tool.
- Treating the last source line as the root cause without reading the exception context. Diagnose this by returning to the exact user, timestamp, object and log evidence before changing settings.
- Looking at the wrong system/client or a dump with the same runtime error but different timestamp. Diagnose this by returning to the exact user, timestamp, object and log evidence before changing settings.
- Restarting a failed job repeatedly before checking whether partial business processing already occurred. Diagnose this by returning to the exact user, timestamp, object and log evidence before changing settings.
Whose problem this is
Primary ownership normally sits with the BASIS functional or technical team, with Basis, Security or development joining only when the evidence crosses into infrastructure, authorization or custom code. A strong escalation includes the transaction, exact selection/input, affected object, timestamp, expected result, actual result and the checks already completed.
Take the next diagnostic step
Use these ERPClimb resources to explore the scenario. Verify all actions in your SAP system before making production changes.
- ST22 Dump Reconstructor →
Organize a sanitized ABAP dump into a diagnostic investigation.
- ERPClimb AI Copilot →
Explore a structured ABAP troubleshooting path.
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Learn this properly
Lessons and topics
- RAP Build-Along Part 6: OData V4 Service Binding and EML Testing
- How experts find the real root cause — Concepts and mental models
- Update tasks, background jobs and dumps — Concepts and mental models
- Authorization, Basis and cross-layer traces — Concepts and mental models
- Update tasks, background jobs and dumps — Guided debugger and evidence walkthrough
- Debugging Part 4: Watchpoints, Layers and Static Checks (ATC)
- How experts find the real root cause — Guided debugger and evidence walkthrough
- SAP Notes Tutorial (Part 1)
- Update tasks, background jobs and dumps — Root-cause case, remediation and assessment
- How experts find the real root cause — Root-cause case, remediation and assessment
- Debugging Part 7: Update Task Debugging
- BAPI Part 10: "Success but No Document" — Debugging BAPI Problems
- Monitoring Background Jobs and Diagnosing Failures (Part 3)
- Debugging Part 1: How to Approach an ABAP Problem
- Debugging Part 8: Background Job Debugging with SM37, JDBG and SM50
- OData V4 Part 5: Troubleshooting HTTP Errors, Metadata and Payloads
- Debugging Part 10: Production Debugging — Evidence First
- AMDP Part 5: Debugging, Testing and Performance Analysis
- Enhancements Part 9: Performance and Safety in Enhancements
- RAP Build-Along Part 9: Production Troubleshooting — Metadata, Behavior, Messages and Save
- OData V2 Part 3: Production Troubleshooting — Gateway Logs and Metadata
- Debugging Part 6: ST22 Short Dump Analysis
- SAP Gateway Part 2: Frontend, Backend and Request Flow
- Adobe Forms Part 9: ADS Configuration and Troubleshooting
- Service Bindings Part 5: Troubleshooting 404, 403, Metadata and Cache
- BAPI Part 5: Commit, WAIT, Rollback and the SAP LUW
- Behavior Implementations Part 5: Performance, Unit Testing and Debugging
- Internal Tables Part 10: Memory Management and Large Internal Tables
- RAP Build-Along Part 7: Clean Core, Security, Performance and Transport
Source: ERPClimb — https://erpclimb.com/sap-tcodes/st22ERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.