ERPClimb logoERPClimb
SAP transaction codeObjectST22ModuleBASIS

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.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

Lessons and topics

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.