Lesson 2 of 6
Choosing the scenarios
9 min
Listen to this lesson
The first draft of every end-to-end test plan is too big. Contoso's order-to-cash key user Maria listed the variants she knows: four sales order types, three pricing situations (list price, customer-specific agreement, promotion), two delivering plants (1710 Detroit and 1720 Chicago), three shipping methods and two payment terms. That is 4 × 3 × 2 × 3 × 2 = 144 combinations, before returns, credit holds and partial deliveries. Each end-to-end run takes most of a day across five teams. Testing all of them is not rigor; it is a schedule that will never finish.
Selecting scenarios is a risk decision. The goal is to cover every hand-off and every variant at least once somewhere in the test levels from lesson 1, while spending end-to-end runs only where the combination itself carries risk. A good selection is small enough to finish inside the cycle with time to retest, and explicit enough that a process owner can see what was left out and why.
Three questions for every candidate
- How bad is it if this fails in production? Revenue, cash, compliance, customer impact, safety. A failed customer invoice to Great Lakes Fleet Services is worse than a wrong text on a picking list.
- How likely is it to fail? New or changed process compared with ECC, custom code, new interfaces, complex pricing or tax, many teams involved, migrated data used for the first time.
- How often does it happen? High-volume flows run thousands of times a month; a weak spot will surface on day one. Use real volumes from the current ECC system, not guesses.
Variants: cover each, combine few
A variant that only changes behavior inside one step, such as a different pricing condition, rarely needs its own end-to-end run. Prove it at unit or string level, then let one end-to-end scenario carry it through to billing and accounting. A variant that changes the path of the process, such as a third-party order that skips the warehouse, a delivery from the second plant, or an order that stops on a credit block, does need a chain of its own, because different documents and hand-offs appear.
When several path-changing variants exist, combine them so each appears in at least one scenario, and pair the ones that interact. Pairwise thinking is enough for most SAP programs: you do not need every combination, you need every pair that could plausibly break together, such as "Chicago plant" with "customer-specific pricing" if Chicago has its own pricing procedure.
Do not forget the unhappy paths. Production rarely fails on the clean order; it fails on the order that is changed after delivery, the invoice that exceeds its price tolerance, the return that needs a credit memo, or the payment that arrives short. At least one scenario per major process should exercise an exception path end to end, because exceptions create the documents and postings that nobody looks at until month-end close. For Contoso that meant adding a customer return with credit memo for Great Lakes Fleet Services and a supplier invoice with a price variance that stops on a payment block.
- Does the variant change the path of the process?No → prove it at unit or string level and let one end-to-end scenario carry it · Yes → it needs its own chain
- Could it break together with another variant?Yes → pair them in one scenario, such as Chicago plant with customer-specific pricing · No → place it in any scenario
- Does each major process have an exception path end to end?Yes → done · No → add one, such as a return with credit memo or an invoice stopped on a price variance block
| Scenario | Why it is in | Variants it carries |
|---|---|---|
| O2C-01 Standard order, Detroit | Highest volume; baseline for revenue | List price, standard shipping, net 30 |
| O2C-02 Credit-blocked order, Chicago | Credit management is new in S/4HANA for Contoso | Plant 1720, customer agreement price, release from block |
| O2C-03 Partial delivery and split billing | Two past incidents in ECC | Two deliveries, two invoices, promotion pricing |
| P2P-01 Supplier portal order to payment | New interface to Lakeside Components | Order confirmation, shipping notification, invoice from portal |
| P2P-02 Invoice price variance | Finance control risk | Price difference beyond tolerance, payment block, release |
Part of Contoso's shortlist: few scenarios, each chosen for a reason.
Where candidates come from
Start from the program's process hierarchy, for example the solution processes and scope items held in SAP Cloud ALM or modelled in SAP Signavio, so that nothing in scope is forgotten. Add the current system's transaction volumes, the incident history from the last two years, the list of custom developments and the interface inventory. A scenario that touches a custom enhancement and a new interface goes to the top of the list. Then ask the people who run the process today which situations cause manual work, and which reports finance checks at month-end. Those answers often reveal a scenario no document mentions, such as an intercompany stock transfer between Detroit and Chicago that is booked by hand every quarter. Finally, think ahead to regression: the end-to-end scenarios you pick now become the core of the regression pack after go-live, so choose ones that are worth maintaining.
What would you do?
Contoso's PMO lead Grace asks Priya to run all 144 order-to-cash variants end to end in SIT cycle 2 "so nobody can say we skipped anything." The cycle is three weeks long. What should Priya propose?
- Rank candidates by impact, likelihood of failure and frequency, using real volumes and incident history.
- Prove step-level variants at unit or string level; give path-changing variants their own chains.
- Make sure every variant and every hand-off is covered somewhere, and pair variants that interact.
- Document why each end-to-end scenario is in, so the selection can be challenged early.
Check your understanding · not graded
Lesson check
1. Which variant most clearly needs its own end-to-end chain?
2. Which input is most useful for estimating how often a scenario will run after go-live?
3. A scenario is stable but business-critical, such as the standard payment run. How should it be covered?
4. Why should the scenario selection rationale be written down?