SAP Basis

SAP ST22 ABAP Dump Analysis: A Practical Troubleshooting Workflow

Learn how to use SAP ST22 to analyze ABAP short dumps, preserve incident evidence, identify the failing component, and decide when to involve development or Basis operations.

ST22 ABAP Short Dump Investigation FlowShow the operational path from locating a dump to correlating evidence and escalating the causeST22 ABAP Short Dump Investigation FlowShow the operational path from locating a dump to correlating evidence and escalating the causeopen long textestablish timelinetest likely causedocument resultSelect dumpin ST22Filter bydate, time,…Read dumpcontextReviewruntime…Correlatesystem…CompareSM21, SM37,…ReproducesafelyComparefailing and…Assign andescalateSend acomplete…CertPas original visual explanation
Flow from selecting an ABAP short dump in ST22 through reading its context, correlating system activity, reproducing the issue, and escalating it
On this page
  1. Start with the ST22 selection
  2. Read the dump in investigation order
  3. Correlate the dump with system activity
  4. Classify the likely cause
  5. Build a reproducible test
  6. Preserve an incident evidence package
  7. Decide on cleanup and escalation

An ABAP short dump records a runtime termination that occurred during SAP application processing. SAP ST22 provides the central work area for reviewing these failures, correlating them with users and transactions, and collecting evidence before a restart, repeat test, or code change.

A reliable investigation separates three questions: what terminated, what business or technical action triggered it, and whether the failure is isolated or recurring. Preserve the original details first, then compare related dumps and operational logs.

Start with the ST22 selection

Open transaction ST22 and select the relevant system, client, user, date, and time range. Use a narrow time window when an incident timestamp is available. If the user or transaction is known, include it to reduce noise in systems with frequent background processing.

Review the dump list for repeated runtime errors, matching timestamps, and the same program or transaction. A single dump can be incidental; a cluster of identical dumps usually provides stronger evidence of a reproducible application or data condition.

For a production incident, record the dump date and time, client, user, transaction, runtime error, exception, ABAP program, include, and line number. Keep the original long-text display available while the investigation continues.

Evidence to Capture from an ST22 DumpOrganize the diagnostic fields and operational context needed for an actionable incidentEvidence to Capture from an ST22 DumpOrganize the diagnostic fields and operational context needed for an actionable incidentexplains terminationanchors timelinesupports diagnosisST22 dumpRuntimeerror,…ExecutioncontextClient, user,transaction,…TechnicalpathSourceextract,…CorrelatedrecordsSM21entries, job…CertPas original visual explanation
Comparison of ST22 dump details, execution context, technical call path, and correlated operational records

Read the dump in investigation order

Open the complete dump and work through it in a consistent sequence:

  1. Runtime error and exception — identify the termination category and any exception class.
  2. What happened — read the explanatory text and the processing context.
  3. Error analysis — capture the immediate condition that caused the termination.
  4. Information on where terminated — note the program, include, line, event, and processing block.
  5. Source code extract — inspect the statement at the termination point and the surrounding logic.
  6. Active calls and call stack — trace how execution reached the failing statement.
  7. Contents of system fields — record useful context such as the transaction, user, client, and system identifiers.
  8. Selected variables — use available values to understand the input or state that led to the failure.

The termination line is the starting point, not always the root cause. A field may contain an unexpected value because of earlier selection logic, customizing, an interface payload, or a failed database lookup. Follow the call stack and variable context before assigning ownership.

Correlate the dump with system activity

Compare the dump timestamp with the SAP system log in SM21, application logs, job records, and work process activity. The SAP system log guide explains how to use SM21 when operating-system, database, or communication events may surround the short dump.

For dialog processing, check the user’s action and the transaction sequence immediately before the failure. For background processing, identify the job name, step, start time, user, and execution server in SAP background job monitoring. A dump in a scheduled job can indicate a data-dependent failure that does not appear during a simple dialog test.

When the dump coincides with long-running or cancelled processing, compare it with SAP work process monitoring. Look for the relevant process, report, user, status, and elapsed time. This correlation helps distinguish an application termination from a broader resource or dispatcher incident.

Classify the likely cause

Use the dump evidence to place the incident into a practical category:

  • Application logic: the source statement cannot handle a valid or unexpected business condition.
  • Input or master data: a particular document, record, configuration value, or interface payload triggers the failure.
  • Authorization or security context: processing reaches a restricted operation or receives an incomplete user context.
  • Integration: an RFC, IDoc, file, or external response produces an invalid or incomplete value.
  • System operation: the dump accompanies a database, update, enqueue, work process, or system availability event.
  • Customizing or transport: the behavior began after a configuration or code change in a particular landscape.

The runtime error, exception class, source location, call stack, and reproduction conditions should support the classification. Avoid treating the transaction code alone as the cause; the same transaction can execute different paths for different data and users.

Build a reproducible test

Before changing data or code, define the smallest safe test that demonstrates the failure. Capture the client, user context, transaction, document or object identifiers, selection parameters, and the exact sequence of actions. Use a non-production environment when the test can modify business data.

Compare a failing input with a successful input. Differences in company code, plant, document status, partner, date, currency, authorization, or integration payload often reveal the condition that reaches the failing statement. Repeat the test after a controlled correction and retain the resulting dump or successful trace as evidence.

For recurring jobs, compare the failing job step with an earlier successful run. Review SAP Basis system administration for the surrounding operational checks, ownership boundaries, and escalation context.

Preserve an incident evidence package

A useful evidence package contains the original ST22 long text, runtime error, exception, program and source location, call stack, relevant variable values, timestamp with time zone, client, user, transaction, job details when applicable, reproduction steps, and related SM21 entries. Add screenshots or exported text according to the organization’s data-handling rules.

Remove passwords, tokens, personal data, and confidential business values before sharing the package outside the authorized support group. Keep the unredacted source in the approved restricted location so the investigation remains auditable.

Use the SAP transaction code reference to confirm the operational transaction involved and to direct the incident to the appropriate application or Basis owner. The reference supports navigation; the dump content remains the primary technical evidence.

Decide on cleanup and escalation

Do not delete a short dump merely because it has been reviewed. Retain it according to the organization’s retention policy while the incident, trend analysis, and any related change remain open. Cleanup should be deliberate, documented, and coordinated with monitoring and audit requirements.

Escalate to development when the dump points to custom code, a reproducible application path, an unhandled exception, an invalid assumption in the source, or a standard component requiring code-level analysis. Include the complete evidence package and a minimal reproduction rather than only the runtime error name.

Involve Basis operations when the dump aligns with system-wide failures, work process termination, database or enqueue symptoms, transport activity, or a sudden increase across unrelated transactions. A shared timeline lets application and infrastructure teams test competing causes without losing the original context.

Back to all articles