Lesson 1 of 5
Maintenance as a planned activity
18 min
Listen to this lesson
Automation is not built once. Every SAP release, every transport and every refresh changes something a test depends on. Teams that treat maintenance as an interruption end up with a suite that is red for weeks after each release and quietly loses the business's trust. Teams that plan it, with capacity, a calendar and a trigger list, keep the suite green when it matters most: in the days before a release goes to production.
In this course we follow Contoso Motor Co. after the conversion to SAP S/4HANA Private Edition. Priya, the test lead, now owns a regression suite of about 250 automated tests. It runs nightly in CMQ against changes on their way through the landscape and, for each release, in the pre-production system CMR, a masked copy of production refreshed before every regression window. The question has moved from "how do we build it" to "how do we keep it useful release after release".
Where change comes from
| Source of change | Cadence | Typical effect on automation |
|---|---|---|
| SAP S/4HANA Private Edition release | A new release every two years; feature pack stacks every six months in between | New and changed apps, simplification items, UI changes, deprecated transactions |
| SAP S/4HANA Cloud Public Edition release (for comparison) | Two major releases a year, plus smaller continuous deliveries | Test system upgraded first; dev and production about three weeks later |
| Internal changes | Every sprint or release train, via transports | Changed screens, fields, validations, roles and outputs |
| Front end and browser | Several times a year | SAP GUI patch levels, Fiori launchpad updates, browser versions |
| Data and environment | Refreshes, client copies, new integrations | Missing data, new number levels, changed destinations |
Sources of change for SAP automation and how often they arrive.
SAP's own learning material for Private Edition describes base releases every two years, feature pack stacks every six months between them, and an extension of mainstream maintenance to seven years. For Public Edition, SAP notifies customers about six weeks ahead, upgrades the test system first, and upgrades development and production about three weeks later; that three-week window is when regression and automation fixes must happen. Check the current schedule for your release and contract, because dates and windows are published per release.
Build maintenance into the calendar
- Release announcedImpact reviewRead release information, What's New entries, simplification items and the transport list; tag affected tests.
- Sandbox or test system upgradedDry runRun the full suite on the upgraded system; classify every failure.
- Fix windowRepair and re-baselineUpdate locators, flows and expected results; version the changes against the new release.
- Quality upgradedRegression for sign-offRun the maintained suite as evidence for the go/no-go.
- Production upgradedPost-upgrade smokeRun a short smoke set in production-safe mode or in the first upgraded system after production.
The most important rule is to update automation before production upgrades, during the window where an upgraded test or quality system exists. Updating afterwards means the suite cannot provide regression evidence for the very release that changed it.
Capacity: plan a maintenance budget
Maintenance needs people. A practical starting point is to reserve a fixed share of automation capacity for maintenance in every release, then adjust it from your own data: hours spent per release, number of tests touched, and the share of failures caused by SAP versus internal change. Contoso started with one engineer for two weeks per feature pack stack and found, after two cycles, that most effort went into a few custom Fiori apps with unstable identifiers, not into SAP standard changes.
What would you do?
Contoso's next feature pack stack is due. Basis will upgrade the sandbox in two weeks and CMQ two weeks later. Priya's automation engineer is fully booked on new tests. What should Priya plan?
- Automation maintenance is driven by SAP releases, internal transports, front-end updates and data changes.
- Private Edition: new release every two years, feature pack stacks every six months; Public Edition: two releases a year.
- Update automation in the window between the first upgraded system and production, never after.
- Reserve a maintenance budget per release and tune it from your own effort data.
- Keep a trigger list in the change process so the automation team is informed, not surprised.
Check your understanding · not graded
Lesson check
1. When is the best time to update automation for a known UI change in an upcoming SAP release?
2. According to SAP learning material, how often do feature pack stacks arrive between Private Edition base releases?
3. What is the purpose of an automation trigger list?
4. After two feature pack stacks, Contoso finds most maintenance hours went into a few custom Fiori apps with unstable IDs. What should change?