Lesson 5 of 5
Ongoing regression in Run
12 min
Listen to this lesson
Go-live is not the last time the system changes. Fixes from hypercare, new requirements, SAP corrections, feature pack stacks and the next base release all change production. Each change needs evidence that what worked before still works. That evidence comes from regression testing, and setting it up is part of the transition to Run, not an afterthought.
Where regression comes from
- UAT and SIT casesProven end-to-end test cases from the project
- Select the coreProcesses that are critical, frequently used or often affected by change
- Add hypercare lessonsEach incident caused by a testing gap becomes a new test case
- MaintainUpdate cases when processes or configuration change
- Run per releaseBefore each transport release, feature pack or upgrade
The project's SIT and UAT cases are the starting point, but not all of them belong in a regression suite. Choose the processes that are business critical, used every day, or most exposed to change, such as order-to-cash for Great Lakes Fleet Services, procure-to-pay with Lakeside Components, production of CMC-ALT-100, intercompany sales between company codes 1710 and 1810, and the period-end close. In SAP Cloud ALM, keeping those test cases assigned to the solution processes makes it easy to select the right ones when a change touches a process.
Close the loop with hypercare
Every hypercare incident caused by a gap in testing is a free lesson. When Contoso's billing block for fleet customers turned out to be a pricing scenario nobody had tested, Priya added a test case for it, linked it to the same solution process, and put it in the regression suite for the next release. Over the first months, these additions make the suite reflect how the business really uses the system.
The release rhythm
For SAP S/4HANA Cloud Private Edition and on-premise, SAP ships a new base release every two years, with feature pack stacks in between, plus corrections through SAP notes and support packages. Contoso's own changes add to that. Group them into a release calendar, so the business runs one regression cycle per release rather than a test for every transport. Public Edition customers receive SAP's updates on SAP's schedule, which makes a ready regression suite even more important.
- MonthlyContoso minor releaseFixes and small changes; risk-based regression of affected processes
- As neededSAP notes and correctionsTargeted tests of the corrected function and its neighbours
- PeriodicallyFeature pack stack updateFull core regression; new features tested if adopted
- About every two yearsNew base release upgradeProject-scale testing, with the regression suite as the backbone
Scope regression by risk
Automating the stable core of the suite pays off quickly once releases come every month, but only if the cases are maintained and owned. SAP's own tools can help: in Public Edition, the Test Automation Tool provides automated test processes; in Private Edition and on-premise, programs use SAP Cloud ALM test management with manual or automated cases. Whatever the tool, an automated test nobody maintains is worse than none, because it reports green on a process it no longer tests.
Environments and data for regression
A regression suite is only as good as the system it runs in. During the program and in hypercare, Contoso ran regression in CMQ client 100. After go-live it added CMR, an optional pre-production system: a masked copy of CMP in client 100, refreshed quarterly before each regression window, that receives only transports already on their way to production. Plan the test data each core case needs, such as an active fleet customer, a supplier with open purchase orders, and stock of CMC-ALT-100 in plants 1710 and 1720, and protect personal data in any copy of production according to your privacy rules. Many failed regression runs are caused by stale data or missing transports, not by real defects; each one costs time and erodes trust in the suite.
Setting a regression service level
The business needs to know how long a release waits for regression. Contoso’s test center of excellence set a service level of 10 working days for a full core regression in the first year, with 5 working days as the target once automation matures. The suite holds about 400 regression tests; about 240 of them (60%) were chosen for automation: 150 web, 60 SAP GUI and 30 API checks. The remaining cases stay manual because they need judgment, such as reviewing a printed form or a close report, or because they change too often to be worth automating yet.
| Release event | Regression scope | Who signs |
|---|---|---|
| Monthly Contoso release | Risk-based: changed processes and direct neighbours | Process owner of each changed process |
| Emergency change | The fixed function plus a short check of the process it sits in | Emergency approver; retrospective afterwards |
| Feature pack stack | Full core regression in CMR within the service level | All core process owners |
| Integration Suite migration wave | End-to-end cases for every interface that moves, with partner tests | Theo and the process owners of the affected flows |
Regression scope by release event after go-live.
What would you do?
Three months after go-live, Contoso's application team proposes to stop regression testing for monthly releases because "nothing has broken since hypercare". What should Priya argue?
- Build the regression suite from proven SIT and UAT cases, focused on critical and change-exposed processes.
- Turn every hypercare incident caused by a testing gap into a regression case.
- Plan regression against a release calendar: minor releases, SAP corrections, feature packs and upgrades.
- Scope each release by criticality and change impact; keep automated cases maintained and owned.
Check your understanding · not graded
Lesson check
1. What should happen to a hypercare incident caused by a gap in testing?
2. How often does SAP ship a new base release for SAP S/4HANA Private Edition and on-premise?
3. Why group changes into a release calendar?
4. Why is an unmaintained automated test dangerous?
5. Where does Contoso run release regression once its optional pre-production system exists?