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

Lesson 5 of 5

Environment integrity

9 min

Listen to this lesson

0:00 / 7:41

A test result is only as good as the system it was produced in. If CMQ has been changed directly, has settings that differ from production, or lets testers do things production users cannot, a "pass" in CMQ proves less than it seems. This lesson pulls the administration controls together into one view: what keeps a test environment trustworthy.

Invisible and invalidatingClient open for direct changes; tested configuration never transported. Testers cannot see it.
Obvious and invalidatingTesters use users with broad authorizations; authorization defects never surface.
Invisible and minorHousekeeping job schedules differ from production; rarely affects functional results
Obvious and minorDifferent printer names in QA; testers notice and work around it
Environment gaps by visibility and impact. The top-left box is where Basis controls matter most.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-201

Six controls that protect test evidence

ControlWhat to checkWhy it matters
Client settingsCMQ client 100: No changes allowed; no cross-client changesOnly transported configuration is tested
System change optionCMQ global setting Not ModifiableNo code exists in CMQ that CMD and CMP lack
Transport disciplineImports in the same sequence planned for CMP; no "fix-only-in-QA"CMQ represents the next state of production
Realistic authorizationsTest users carry the business roles real users will have, not broad profiles such as SAP_ALLAuthorization defects are found before go-live
Change loggingTable change logging active (profile parameter rec/client) and SE06/SCC4 changes reviewedUnauthorized changes can be detected and explained
Background jobs and interfacesJobs and interface settings mirror production where the test needs themEnd-to-end tests run the same batch chain as production

A control checklist Basis can run before and during a test cycle.

Users and logon in test systems

SAP user master records (SU01) have a user type. Dialog users are people; System users run background jobs and internal communication and cannot log on in dialog; Communication users serve external RFC connections; Service users are shared anonymous accounts; Reference users only lend authorizations to others. For testing, give each tester a named dialog user with the business roles under test, plus clearly named test users per role where scripted tests need them. Shared all-powerful test users destroy traceability: nobody can say who did what.

SU01 user types and what each is for; testers get named dialog users, never shared accounts with broad authorizations.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-201

SAP training notes that new SAP S/4HANA installations and conversions from 2021 onward switch on table data change logging by default. Check the parameter in each of your systems anyway, because a logging gap is only discovered when you need the log.

Debugging and other quiet back doors

Some authorizations let a user change the outcome of a test without anyone noticing. Debugging with the ability to change variable values at runtime ("debug and replace") is the classic example: a tester or developer who can alter a value in the debugger can make a failing posting succeed. In CMQ during formal test cycles, restrict change-in-debugger rights to a small, named group and review the system log entries it produces. The same applies to direct table maintenance on application tables. If a result could have been produced by a back door, it does not count as evidence.

A result only counts as evidence if no back door could have produced it.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-201
  1. Before the cycleSam checks SCC4, SE06, transport sequence, job schedule and test user roles in CMQ
  2. RecordSettings captured as evidence and attached to the test cycle in SAP Cloud ALM
  3. During the cycleAny change to SCC4 or SE06 triggers an alert and a review with Priya
  4. After the cycleSettings checked again; any deviation is assessed for its effect on results
  5. Sign-offPriya signs the environment statement alongside the test results
An environment-integrity routine wrapped around a test cycle.
The Sign-Off Table · thesignofftable.com/academy/sap-bas-201

What would you do?

Halfway through integration testing, Sam's weekly control shows that someone opened CMQ client 100 for direct changes three days ago and closed it again yesterday. What should happen?

Key points
  • Closed clients, Not Modifiable QA, disciplined transports and realistic users keep test evidence valid.
  • Use named, role-based test users; avoid shared users with broad authorizations.
  • Keep table change logging active and review SCC4 and SE06 changes.
  • Wrap every test cycle in an environment check and an environment statement at sign-off.

Check your understanding · not graded

Lesson check

  1. 1. Why should CMQ client 100 be closed for direct changes?

  2. 2. Which user type cannot log on in dialog and suits background jobs?

  3. 3. Why are shared test users with broad authorizations a problem?

  4. 4. A client was opened and closed again mid-cycle. What is the key follow-up?