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

Lesson 6 of 6

Testing for audit

9 min

Listen to this lesson

0:00 / 7:32

EHS and product compliance tests are read twice: once by the project, to decide go-live, and later by auditors, inspectors or investigators, who want to know whether the system did what the company says it does. sap-tst-403 teaches the general method for regulated validation. This lesson applies it to EHS: which controls sit in the processes, how to test them, and what evidence survives an audit.

Regulatory controls embedded in the processes

ControlProcessRegulation it supports (Contoso)Test
Recordability decision required to close injuriesIncident managementOSHA recordkeeping (29 CFR 1904)Try to close a recordable case without a decision
Unapproved chemicals blocked in purchasingPurchasing with chemical approvalOSHA hazard communication; site policyCreate a PO for an unapproved chemical
Emissions checked against permit limitsEnvironment managementState air permitPush a test month over the limit
Marketability check in sales ordersSales with product complianceProduct regulations per countryOrder to an unassessed country
Dangerous goods check in deliveriesDelivery with product complianceUS DOT hazardous materials rulesDeliver an unclassified product
SDS sent with first shipment and on updateDelivery with SDS distributionOSHA hazard communicationShip to a new customer; release a new SDS version

Controls embedded in logistics and EHS processes, mapped to the rules they support.

Each row is a negative test as much as a positive one: the control is proven when the system stops the wrong thing, not only when it allows the right one. And each control needs a configuration owner, because a later change to the check, a new country or a new product type can silently weaken it.

Traceability from regulation to requirement, control, test, evidence and sign-off.
The Sign-Off Table · thesignofftable.com/academy/sap-ind-202

Evidence that survives an audit

Evidence elementWhy auditors need itExample
Requirement and regulation referenceShows why the test exists29 CFR 1904 recordkeeping; permit condition reference
Test data and preconditionsLets someone re-perform the testMaterial CMC-CLN-020, customer 17100001, SDS version 2.0
Expected result written before executionShows the test was not fitted to the result"Delivery blocked with message"
Actual result with system identifiersProves what happenedDelivery number, message text, output log entry, timestamps
Tester, date, system and releaseAttributable and contemporaneousTester ID, CMQ client 100, SAP S/4HANA 2025
Review and sign-offShows independent reviewMonique's approval with date

Evidence elements for EHS tests, following the principles in sap-tst-403.

Recording and reviewing evidence for one negative test in SAP Cloud ALM.
The Sign-Off Table · thesignofftable.com/academy/sap-ind-202

Regulatory content changes

Regulations change, and so does the regulatory content that product compliance and environment management use: substance lists, dangerous goods tables, emission factors. Each content update is a change to a regulated system. Contoso's practice (illustrative): content updates move through CMQ like any change, a short regression in CMR (the pre-production copy of production) runs the controls in the table above with the products and permits in scope, and Monique signs before the update moves to CMP. The same applies to SAP releases and support packages that touch EHS.

  1. Content update receivedAssess impactWhich products, substances, permits are affected
  2. Import in CMQ and CMRRun control regression in CMRThe six controls above, with in-scope products
  3. ReviewMonique reviews differencesFor example, a changed classification
  4. Import in CMPLuis imports in the release windowEvidence filed with the change
Handling a regulatory content update as a controlled change.
The Sign-Off Table · thesignofftable.com/academy/sap-ind-202

What would you do?

An auditor asks Contoso to show that the system blocked deliveries of unclassified dangerous goods during the first year after go-live. What evidence answers this best?

What goes wrong in testing

  • Evidence is captured as screenshots without document numbers, dates or system identifiers.
  • Expected results are written after execution, so tests cannot show they were independent.
  • Negative tests are skipped because test data for "wrong" cases is hard to build.
  • Content updates and support packages are imported without rerunning the control regression.

Finally, plan for the inspection, not just the audit. An OSHA inspector or a state environmental inspector arrives without much notice and asks for records on the spot: the 300 log for the last five years, the SDS for a chemical on the line, the emissions records for the last 12 months. Run a mock inspection before go-live: Monique's team retrieves each record from the new system, against a stopwatch, with someone who did not build it watching. A record that exists but cannot be found in time is, for practical purposes, missing.

Key points
  • Regulatory controls sit inside incident, purchasing, environment, sales and delivery processes.
  • Prove each control with negative tests: the system must stop the wrong thing.
  • Evidence must be attributable, contemporaneous and re-performable, with expected results written first.
  • Treat regulatory content updates and releases as controlled changes with a control regression.

Check your understanding · not graded

Lesson check

  1. 1. What proves an embedded compliance control works?

  2. 2. Why write expected results before execution?

  3. 3. How should a regulatory content update be handled?

  4. 4. Which evidence shows a control operated during the year?