Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 5 of 5

Classifying failures

9 min

Listen to this lesson

0:00 / 7:43

A failed test case is a question: is the system wrong, or is something around it wrong? Getting the answer quickly decides who works on it, whether testing can continue, and whether the defect counts against the release. This lesson gives a practical classification: environment, data, configuration, code, plus a fifth that testers must be honest about: the test itself.

ClassTypical signsUsual ownerExample at Contoso
EnvironmentFails for many, unrelated scenarios; system log errors; RFC or job problems; timing-dependentBasis (Sam)Interface job not scheduled after the CMQ refresh
DataFails only for certain master data or documents; works with other dataData owner or test data teamCustomer in company code 1910 missing a payment term after the Wave 2 mock load
ConfigurationFails consistently for a process variant; recent customizing transport; message points to settingsFunctional consultantOutput determination missing for a new billing type
CodeDump in Y/Z code; logic error reproducible with good data and settingsDevelopment (Kenji)Custom pricing routine divides by zero for zero-quantity items
TestExpected result wrong, outdated script, wrong user or data in the testTest team (Priya)Script still expects the ECC transaction screen sequence
Five classes of failure and how to recognize them.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-202

A decision path

  1. Do unrelated tests fail at the same time, or does SM21 show system errors?Yes → environment: route to Basis and pause dependent tests · No → next question
  2. Does the same step work with different master data or documents?Yes → data: fix or replace the test data · No → next question
  3. Is there a dump in custom code or a logic error with correct data and settings?Yes → code: route to development with the dump and data · No → next question
  4. Does the result contradict the configured settings or a recent customizing change?Yes → configuration: route to the functional consultant · No → review the test case: expected result, user, data and steps
A quick path to a first classification. Revisit it when new evidence appears.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-202

Evidence for each class

Classification is a hypothesis, so attach the evidence that supports it: the dump for code defects, the SM21 extract for environment issues, the master data comparison for data issues, the customizing setting and transport for configuration. That evidence lets the receiving team start working instead of re-investigating, and it gives the test lead a defensible record if the classification is later disputed. A defect that bounces between teams three times usually lacked evidence on day one.

What a well-formed defect carries: the test case it came from, an initial and final class, and the evidence that supports the classification.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-202

Mixed causes

Real failures do not always fit one box. A custom program may dump only because a mock load produced an unexpected blank field: that is a data issue that reveals a code weakness, and both deserve a ticket. Classify by what must change for the test to pass now (fix the data), and raise a second defect for the robustness gap (the program should handle the blank). Keep the link between the two so the release decision sees the whole picture.

A mixed cause becomes two linked defects: fix what makes the test pass now, and track the robustness gap separately.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-202
  1. Minute 0Test failsAutomated run or tester reports the failure with step, data and message
  2. Minutes 0–15First lookTester or automation engineer checks ST22, SM21 and whether other tests failed
  3. Minutes 15–60ClassifyInitial class assigned with evidence; defect created and routed
  4. Same dayConfirmOwning team confirms or reclassifies with its own evidence
  5. After fixRetestOriginal scenario re-run; class and root cause recorded for metrics
A triage timeline that keeps a test cycle moving.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-202

What would you do?

Overnight, 40 of 300 automated tests failed in CMQ across finance, sales and purchasing. All 40 failures happened between 01:00 and 01:20, and SM21 shows database connection errors in that window. How should Priya classify them?

Key points
  • Classify failures as environment, data, configuration, code or test.
  • Unrelated failures together, plus system log errors, point to environment.
  • Attach evidence to every classification so the owner can act immediately.
  • Track initial and final class; use the mix at sign-off to judge result reliability.

Check your understanding · not graded

Lesson check

  1. 1. Many unrelated tests failed in the same 20-minute window. What class is most likely?

  2. 2. A step fails for one customer but works for others. What class comes first to mind?

  3. 3. What should accompany a defect classified as code?

  4. 4. Why record both the initial and the final defect class?