Quick answer

What is SAP upgrade testing?

SAP upgrade testing checks that the processes, reports and interfaces a business relies on behave the same after SAP's own software changes: a support package stack, an enhancement package or an S/4HANA release upgrade. Baseline first, upgrade a sandbox, then compare. PostNow.ai SAP Testing repeats the whole suite on both sides and compares reports row by row.

  • The "before" is the hard part. Once the system is upgraded, the old results are gone unless you kept them.
  • Every difference needs a reason. A difference nobody described is a finding, even when it turns out to be harmless.

This guide is for SAP project managers, test managers and Basis-adjacent leads planning a support package stack, an enhancement package or an S/4HANA release upgrade. SAP upgrade testing is not the same job as testing a transport. An upgrade replaces large parts of SAP's standard code in one step, so there is no single changed object to aim the tests at, and the proof depends on what the system did before. PostNow.ai SAP Testing runs one suite before and after the upgrade, compares key reports row by row and keeps every run as evidence for the go-live decision. Below you will find the upgrade types, a seven-step test plan, the effect of custom code, what to compare, a sandbox example and how to keep the suite working afterwards.

What types of SAP upgrade are there, and what does each change?

Basis teams use four kinds of software change, each with its own SAP tool. They differ in how much they change and in what the test team has to prepare. The table follows SAP's documentation for each tool.

TypeSAP toolWhat changesWhat to test
Support package stack (ECC or S/4HANA)SPAM imports ABAP support packages; SUM applies a full stackCorrections across components, at a combination of support package levels SAP ships togetherFull regression of the processes you run, plus every SAP Note and modification listed in SPAU
Enhancement package (SAP ERP 6.0)SUM, with a stack file from the Maintenance PlannerNew and changed code, plus new functions that stay off until a business function is switched on in SFW5Full regression after the install, then each business function you switch on as its own change
S/4HANA release upgrade, for example 2022 to 2023Maintenance Planner, then SUM, which runs the Simplification Item-CheckA new application release and ABAP platform (SAP BASIS 7.58 for 2023) and the simplification items of the target releaseFull regression, the items the Readiness Check flags, custom code findings, roles after SU25, Fiori apps
Conversion from SAP ERPA system conversion, not an upgradeThe data model: new tables for stock, the journal, pricing and business partnersCovered in SAP S/4HANA conversion testing

Add-ons have their own tool. SAINT, the SAP Add-On Installation Tool, installs and upgrades ABAP add-ons. Test the processes an add-on supports in the same run as the rest.

SAP support package testing

A support package stack looks small on paper because it adds no new release. In practice it changes many objects in many components at once. Treat SAP support package testing as a full regression, not a sample. Two lists from Basis tell you where to look harder: the SAP Notes you implemented earlier that the stack now contains, and the modifications SPAU asks you to adjust. Each one is a place where the system may behave differently afterwards.

SAP enhancement package upgrade testing

An enhancement package installs new code, but most new functions stay inactive until a business function is switched on in transaction SFW5. That splits SAP enhancement package upgrade testing into two changes. First test the install alone, with no business function switched on, and expect no change in behavior. Then treat each business function as a separate project, with its own tests. Many business functions cannot be switched off again, so test them in a sandbox before anyone activates them in development.

S/4HANA release upgrades

For an S/4HANA release upgrade, SAP's upgrade guide makes the Maintenance Planner a mandatory first step, because SUM needs the stack file it creates. The Simplification Item-Check is also mandatory and is called by SUM. The SAP Readiness Check for SAP S/4HANA upgrades is not mandatory, but SAP highly recommends it: it reads your productive system and lists the simplification items relevant to your source and target release. That list is the starting point of your test scope. In PostNow.ai SAP Testing the same suite runs on whichever environment you pick, so the tests you run today become the "before" of the upgrade.

PostNow.ai SAP Testing

How PostNow.ai handles SAP upgrade testing

One suite, run on the same environment before and after the upgrade, with every report compared and every run kept.

  1. 01

    Capture the before

    Run the full suite on the system that will be upgraded, then pin the report runs you trust as baselines.

  2. 02

    Run the same suite after

    After the upgrade, the same tests post through BAPIs again and read back the SAP tables, on the same environment.

  3. 03

    Compare and explain

    Report steps match rows by key with the baseline. Changes you describe pass, and any other difference fails.

  4. 04

    Sign off on evidence

    Runs are read-only with a SHA-256 checksum, and approvers sign off the upgrade cycle against them.

SAP upgrade test plan in 7 steps

An SAP upgrade test plan follows the system path of the upgrade: sandbox, development, quality, production. The test work is front-loaded, because the most valuable output, the "before", can only be taken once.

1. Set the scope and take the baseline

Start from the Readiness Check results, the simplification items and the list of business functions in scope. Add the processes that post money or goods, the key reports, and the interfaces. Then run the full suite on the system that will be upgraded and keep the results. Report the baseline last, after the posting tests, so the reports include what the tests posted. In PostNow.ai a report step can use a pinned earlier run as its baseline, which is exactly what an upgrade needs.

2. Freeze the system and upgrade a sandbox first

Between the baseline and the upgrade, nothing may post. Basis suspends scheduled jobs before the downtime (report BTCTRNS1, released again with BTCTRNS2), and the interface owners stop inbound traffic. The first upgrade runs on a sandbox built from a recent copy of production. It tells Basis how long SUM takes, and it gives the test team a first look at what changed.

3. Adjust modifications and custom code

Developers adjust dictionary objects in SPDD during the upgrade, then programs, SAP Notes and enhancements in SPAU and SPAU_ENH after it. For an S/4HANA upgrade, the custom code is also checked against the target release with the Custom Code Migration app or the ABAP test cockpit. Every decision here goes into a transport and onto the test list. The custom code section explains why.

4. Run full regression and compare

Run the report tests first, before any posting test changes the data, and compare them with the baseline. Then run the full suite. Every difference gets one of three outcomes: an expected change you describe, a data cause you can show, or a defect. In PostNow.ai a failed step becomes a defect linked to its run, and the fix is confirmed by a new run.

5. Let key users accept what changed

Automated checks prove the data. Key users judge what people see on screen: new screens, changed Fiori apps, new fields and messages. After an S/4HANA upgrade, SAP's guide also requires a comparison of default authorization values in SU25, so include role tests for the users who will log on first. In PostNow.ai these are manual steps in the same run, answered with a comment and a screenshot, and covered in SAP UAT testing.

6. Repeat in quality, then upgrade production

Development is upgraded next, and the adjustments made there are recorded in transports. Quality follows with those transports included in the upgrade, so the SPDD and SPAU decisions are not made twice. The suite runs again in quality, against its own baseline. For production, take the baseline with read-only report runs before the downtime and repeat them after it. Production environments in PostNow.ai are validation-only: reports and checks run there, postings never do.

7. Keep testing after go-live

The first month-end close after an upgrade is a test in its own right. Keep the suite on its schedule, re-baseline a report only after an intended change, and keep the upgrade cycle closed and unchanged as the record. The next support package stack starts from this point.

Check: before the upgrade starts, open one report baseline and confirm it names the system, client, selection and time of the run. If it does not, you cannot use it as the "before".

How to build the sandbox and keep it close to production is the subject of the SAP test environment guide. PostNow.ai keeps each phase in its own test cycle, so sandbox, quality and production results never mix.

How do custom code and modifications affect SAP upgrade testing?

SAP's standard code is tested by SAP. Your changes to it are not. An upgrade brings the two together, and the adjustment tools ask a developer to decide, object by object, which version survives. Those decisions are where an upgrade most often changes behavior that nobody planned.

  • SPDD, during the upgrade. Modified ABAP Dictionary objects, such as tables, structures and data elements, are adjusted before the new dictionary is activated. If a modification is not carried over, a custom field added to a standard object can be lost, so test every process that writes or reads it.
  • SPAU, after the upgrade. Modified repository objects, such as programs, function modules and screens, are adjusted, and SAP Notes implemented with the Note Assistant are listed too. Notes that the new release already contains show as obsolete and can be reset. Objects modified with the Modification Assistant get a semi-automatic adjustment.
  • SPAU_ENH, for enhancements. Enhancement implementations that a changed SAP object may have affected are listed for adjustment in the Enhancement Builder.
  • Custom code checks for S/4HANA. For a release upgrade, SAP's guide recommends checking custom code against the simplification items of the target release with the Custom Code Migration app or the ABAP test cockpit, and removing custom code nobody uses.

The test consequence is simple. Ask the developers for the adjustment list, with the decision for each object: adopted the new SAP version, kept the modification, or reset to standard. A reset is the riskiest outcome for testing, because the custom behavior is gone. Put each object with a decision on the test list, next to the process that uses it.

SAP records the adjustments in transport requests, and those requests can be included when the next system is upgraded. For each adjustment transport, PostNow.ai SAP Testing reads the request header, text and objects (E070, E07T, E071) and matches the objects to your tests, so those transports get a test record of their own. Objects that no test uses show as a coverage gap. How this works is explained in SAP transport testing.

Before and after

Upgrade testing by hand vs PostNow.ai

By hand

The "before" lives in screenshots

  • Report exports saved to a folder, if someone remembers
  • A sample of transactions keyed again after the upgrade
  • Rows compared by eye in two spreadsheets
  • Differences explained in an email thread
With PostNow.ai

The "before" is a pinned run

  • Report baselines pinned before the downtime
  • The full suite runs again on the same environment
  • Every row matched by key with its baseline
  • Planned differences described once as rules

What should you compare before and after an SAP upgrade?

A posting test tells you a process still works. A before and after comparison tells you the data the business already has still reads the same. Pick a small set of comparisons that cover the money and the goods, and run them at the same selection and key date on both sides.

  • Stock. Stock per material, plant and storage location, for example MB52 (program RM07MLBS).
  • Open items. Customer and supplier open items at a key date, for example FBL5N (program RFITEMAR) and FBL1N.
  • Balances. G/L balances per company code, account and period, the figures finance signs the close on.
  • Open documents. Purchase orders, sales orders and deliveries in progress, with their status.
  • New postings. The suite's own postings, read back from the tables they write, with pricing and tax.
  • Interfaces and output. Messages in and out, and the forms and output the upgraded system creates.
  • Jobs and roles. The released jobs after BTCTRNS2, and users' access after the SU25 follow-up.

SAP has its own tool for part of this. Data Transition Validation compares business data before and after an S/4HANA upgrade, or a conversion, using business reports or transactions, and SAP's upgrade guide says it is part of the standard license. Agree the reports with finance and your auditors in the preparation phase, whichever tool you use.

In PostNow.ai, a report step runs an SE38 report with ALV output, from an allow-list your Basis team keeps. It compares every row with the baseline by key and lists rows as added, changed or unchanged. The details are in SAP report testing, and the other step types are shown on the PostNow.ai SAP testing tool page.

Worked example: an S/4HANA 2022 to 2023 upgrade in a sandbox

This example follows a sandbox upgrade in PostNow.ai SAP Testing. The system names, counts and material numbers are an example. The SAP transactions, programs and tables are standard.

The setup. The sandbox SB1, client 100, is a copy of production on S/4HANA 2022, company code 1710 and plant 1710. The project has a test cycle called "Sandbox upgrade to 2023" with the head of logistics and the financial controller as approvers. Its suite holds 42 tests across procure-to-pay, order-to-cash, inventory and record-to-report, plus two report tests:

  • R-01, stock. Runs RM07MLBS (MB52) for plant 1710, all storage locations, matched by material and storage location.
  • R-02, customer open items. Runs RFITEMAR (FBL5N) for company code 1710 at the key date of the upgrade weekend, matched by document number and line item.

Friday, before. The full suite runs and all 42 tests pass. R-01 and R-02 run last and are pinned as baselines: 5,486 stock rows and 2,118 open item rows. Basis suspends the scheduled jobs and SUM starts.

Monday, after. SPDD and SPAU are done, and the adjustment transport has had its own transport run. The report tests run first.

TestBaselineAfter the upgradeResult
R-02 FBL5N, company code 17102,118 rows2,118 unchangedPassed
R-01 MB52, plant 17105,486 rows5,485 unchanged, 1 changedFailed
Full suite, 42 tests42 passed42 passedPassed

The difference. In R-01, material RM-2207 in storage location 171B had 120 pieces of unrestricted stock in the baseline and 160 after the upgrade. Nobody had described that change, so the test failed and named the row. The question is whether the upgrade changed how stock is calculated, or whether stock really moved.

The explanation. A read of MATDOC for material RM-2207 and storage location 171B, with a posting date (BUDAT) after the baseline, returns one goods receipt for 40 pieces, material document 5000009183. It was posted by the interface user of the warehouse system on Sunday night, when the sandbox came back up. The jobs had been suspended, but the inbound interface had not been stopped, and its queued messages posted as soon as the system accepted them. The difference is real stock, not an upgrade defect.

What the team did. The test manager adds an expected-change rule to R-01: unrestricted stock may change only for RM-2207 in 171B, by the quantity of material document 5000009183. The re-run passes, with 5,485 rows unchanged and one change as described. The failed run stays in the cycle as it was. The sign-off comment records the cause, and the cutover runbook gets a new line: stop the inbound interfaces before the baseline, not after.

⚠
A clean result is not the only useful result. Without the baseline, 40 extra pieces would have looked like an upgrade problem, or would not have been seen at all. The comparison found a gap in the freeze, which matters more in production than in a sandbox.
Where teams use it

Upgrade testing in three situations

Corrections

Run the whole suite, every time

A stack has no single changed object to test. PostNow.ai repeats the whole suite on each side of the import and matches the key reports against the run you pinned.

  • Whole suite on both sides
  • Report rows matched by key
  • Failed steps logged as defects
SAP regression testing
Business functions

Test the install, then each switch

Run the suite after the install, then again for each business function switched on. Each one arrives in a transport, and PostNow.ai matches its objects to the tests that depend on them.

  • One cycle per business function
  • Tests matched to transport objects
  • Gaps shown for objects without a test
SAP transport testing
New release

Keep the before and the after

Pin report baselines on the old release, run the same suite on the new one and describe each planned difference as a rule.

  • Pinned baselines per report
  • Planned differences described as rules
  • Read-only records for sign-off
SAP report testing

How do you keep the test suite working across an upgrade?

A suite that breaks during the upgrade cannot test it. Most of the breakage comes from the tests themselves, not from SAP. These habits keep the same tests valid on both sides:

  • Test through interfaces, not screens, where you can. In PostNow.ai, BAPI and table steps do not depend on screen layouts. A test step built on an SAP GUI recording has to be recorded again if the upgrade changes its screen, so list those steps before the upgrade and plan the time.
  • Read the tables your release writes. Check the simplification items for tables your checks read. A check that reads a replaced table may still find rows through a compatibility view and miss the table SAP now writes.
  • Freeze the tests along with the system. Do not edit tests between the baseline and the after run. A change to the test makes the comparison meaningless.
  • Re-baseline on purpose. When a planned change is accepted, set a new baseline and record the reason in the version note of the test. Never re-baseline to make a failure go away.
  • Refresh data after a system copy. A sandbox built from production has new document numbers and master data. Check data sets before the first run. PostNow.ai loads the materials, partners and documents a test starts from out of an Excel sheet, which is explained in SAP test data management.
  • Include a scenario SAP must reject. After an upgrade, a negative scenario proves the checks can still fail.

SAP upgrade testing automation

The case for SAP upgrade testing automation is repetition. The same suite runs at least once per system on the path, before and after, and again after each fix. That is too much to key by hand, and a hand-keyed run is hard to repeat exactly. Automate the postings, the table checks and the report comparisons. Keep people for judgment: whether a changed screen works for the user, and whether a difference makes business sense. In PostNow.ai a suite can be scheduled daily, on weekdays, weekly or monthly, and a re-run can be limited to the scenarios that failed. Every run record is locked when it finishes, carries a SHA-256 checksum and is kept for one, three or seven years. The general rules for a lasting suite are in SAP regression testing best practices.

Why it matters

What an untested upgrade costs the business

The upgrade weekend ends on time, and the problems arrive with the first invoices, the first stock count and the first close.

  • No proof of the starting point. When a balance looks wrong after go-live, nobody can show what it was before.
  • A modification silently reset. A SPAU decision removes custom behavior, and the first user to notice is a customer.
  • A go-live on a weekend's spot checks. A few transactions were keyed and looked fine, and the rest was hoped for.
PostNow.ai runs the same suite before and after, compares every report row and keeps the evidence for sign-off.

Frequently asked questions

What is SAP upgrade testing?
SAP upgrade testing is the testing done around a support package stack, an enhancement package or a release upgrade, to show that business processes, reports and interfaces work as they did before. PostNow.ai SAP Testing runs the same suite before and after the upgrade and compares key reports with their pinned baselines, row by row.
What is the difference between a support package and an upgrade in SAP?
A support package delivers corrections for the release you already run, and a support package stack combines support package levels of several components. A release upgrade moves the system to a new release, such as SAP S/4HANA 2022 to 2023, and brings new functions and simplification items. Both change standard code across the system, so both need a full regression run.
What are SPDD and SPAU in an SAP upgrade?
SPDD is the transaction for adjusting modified ABAP Dictionary objects during the upgrade. SPAU adjusts modified repository objects, such as programs and function modules, and SAP Notes after it, and SPAU_ENH adjusts enhancements. Each decision changes behavior, so test where it is used. In PostNow.ai SAP Testing a transport run matches the objects in each adjustment transport to the tests that depend on them.
What should an SAP upgrade test plan include?
An SAP upgrade test plan includes the scope from the SAP Readiness Check and the simplification items, a baseline taken before the upgrade, a sandbox upgrade, the SPDD and SPAU adjustments, full regression, user acceptance testing, the cutover and checks after go-live. PostNow.ai SAP Testing keeps each phase as a test cycle with its own runs and sign-off.
Is the SAP Readiness Check required for an S/4HANA upgrade?
No, but SAP highly recommends it. The SAP Readiness Check for SAP S/4HANA upgrades lists the simplification items relevant to your source and target release. The Maintenance Planner and the Simplification Item-Check are mandatory steps, and the Software Update Manager triggers the Simplification Item-Check itself.
Can SAP upgrade testing be automated?
Yes. The repeated work is running the same postings and reports before and after the upgrade and comparing the results. PostNow.ai SAP Testing posts through BAPIs, reads SAP tables, compares report output with a baseline by key and stores every run read-only. Key users still judge new screens and changed behavior in manual steps.
A professional working in PostNow.ai on a laptop

Your upgrade. Before, after and the proof.

Test your next SAP upgrade before it reaches production

Bring the reports your business closes on. We pin them as baselines in PostNow.ai SAP Testing and show the before and after comparison, row by row.

Request a demo
Book a demo

Bring one SAP process. We show it end to end.

Tell us where to reach you and which process matters. The PostNow.ai team replies by email to arrange the demo.

  1. 01You send the formIt goes straight to the PostNow.ai team.
  2. 02We agree a timeWe reply to your work email to set up the call.
  3. 03You see your own processA process from your own SAP work, shown from start to finish.

Request your demo

Name, work email and company are needed.

Please use your company email address.
What would you like to see?

We use your details only to arrange the demo. See our privacy policy.