Lesson 6 of 6
End-to-end S2P test design
9 min
Listen to this lesson
An end-to-end source-to-pay test crosses at least four systems and two companies: the requester in Ariba, the buyer and accounts payable in S/4HANA, the network, and the supplier. It succeeds only if every party sees the right thing at each step. That makes it a coordination exercise as much as a test design: test realms and accounts, supplier participation, data that exists in all systems, and an evidence plan per step.
The test environment
| Component | Test instance at Contoso | Notes |
|---|---|---|
| S/4HANA | CMQ client 100 | Add-on connected to the managed gateway test project |
| Managed gateway | Test project | Same mappings as production; separate cross-references |
| SAP Ariba | Test realm | Master data exported from CMQ |
| Business Network | Buyer test account | Linked to the test realm |
| Suppliers | Supplier test accounts | Three pilot suppliers, including Riverbend |
| Integration Suite | CMC_TEST | Only for any custom extensions |
The connected test landscape; every component must point at its test partner, never production.
The core test set
| Case | Start | End | Key assertions |
|---|---|---|---|
| Catalog purchase | Rosa in guided buying | Payment remittance in supplier account | Mapping, single approval, account, 3-way match |
| Service purchase | Service PO to Riverbend | Remittance | Service sheet approval; invoice equals service entry |
| PO change | Quantity change after confirmation | Updated order in supplier account | No duplicate order |
| Partial confirmation and ship notice | Supplier confirms 30 of 40 | Inbound delivery for 30 | Open quantity correct |
| Invoice exception | Invoice above receipt | Payment block, Ana resolves | Block reason, resolution log |
| Network rule rejection | Invoice without PO | Rejection in supplier account | Nothing in S/4HANA |
| Sourcing to contract | Event in Ariba Sourcing | Contract used as source | Prices equal on both sides |
| PO above 25,000 USD | Guided buying request | Flexible workflow approval in S/4HANA | Approval before output |
Contoso's core end-to-end S2P cases.
Evidence per step
- Ariba: requisition with approval history and follow-on document IDs.
- S/4HANA: PR, PO with output status, confirmation, inbound delivery, goods receipt or service entry, supplier invoice, journal entries, payment document.
- Managed gateway: transaction tracker entries per document, with status.
- Business Network: buyer outbox and inbox entries.
- Supplier: screenshots or exports from the supplier test account showing order, confirmation, invoice status and remittance.
After go-live: regression with a moving partner
Ariba and Business Network are cloud services with frequent updates, and next-generation SAP Ariba features will arrive through 2026 and 2027. SAP's release notes for each update are an input to Contoso's regression plan: Priya's team reviews them, maps changes to the core cases, and runs the affected cases in the test landscape. S/4HANA releases trigger the same set from the other side.
Working with suppliers in testing
Suppliers are not Contoso's testers, and their time is limited. Contoso's approach: a one-page script per supplier with the exact documents to expect and to send, a fixed two-day window, and a named contact on both sides. For suppliers that cannot take part, Omar's team logs on to a Contoso-owned test supplier account and plays the supplier role, which proves the technical flow but not the supplier's own process. The test report marks which cases had a real supplier and which a simulated one, so the residual risk is visible at sign-off.
What would you do?
Halfway through the cycle, a pilot supplier says it received a "real" order for 40 bearings from Contoso in its production account, matching a test PO. What should Priya do first?
- End-to-end S2P spans Ariba, S/4HANA, the gateway, Business Network and the supplier.
- Keep test and production strictly separated in every component.
- Collect evidence from the supplier's test account, not only from the buyer side.
- Use Ariba release notes to drive regression after go-live.
Check your understanding · not graded
Lesson check
1. Which S/4HANA test client does Contoso connect to the gateway test project?
2. What is the biggest risk if test and production routing cross?
3. Which end-to-end case proves a guided buying PO above 25,000 USD is controlled?
4. What should drive regression planning after go-live?