Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 1 of 6

Integration levels in SAP programs

13 min

Listen to this lesson

0:00 / 9:27

Every SAP program has a moment when the unit tests are green and the business process still does not work. Contoso Motor Co.'s sales team proved that a sales order for 50 alternators CMC-ALT-100 saves correctly. The warehouse proved that a delivery can be picked and goods-issued in plant 1710 Detroit. Billing proved that an invoice posts. Then the first chained run produced an invoice with no journal entry, because the billing document was blocked for transfer to accounting. Each step passed on its own; the hand-off between them was never tested.

Integration testing exists to test those hand-offs. The trouble is that programs use the word loosely. One team says "integration test" and means two transactions in the same module run back to back. Another means the interface to the bank. A third means the full order-to-cash process with real users. If the test plan does not say which level a test belongs to, nobody can tell what has actually been proven, and the steering committee reads "integration testing 90% complete" without knowing whether a single message has crossed a system boundary.

Start with the vocabulary. The ISTQB Foundation syllabus (v4.0) separates component integration testing, which looks at the interfaces and interactions between components, from system integration testing, which looks at the interfaces between a system and other systems or external services. SAP programs add their own vocabulary on top. The layers below are the ones most SAP test leads use; the names vary between programs, so agree on them in the test strategy and stick to them.

Unit testOne transaction or app does what its configuration says: a sales order prices correctly in sales area 1710 / 10 / 00.
String testSeveral steps inside one module run in sequence: order, delivery, picking, goods issue in sales and logistics execution.
Cross-module integration testThe chain crosses module boundaries: goods issue posts to inventory and finance, billing creates a journal entry in company code 1710.
System integration test (SIT)The chain crosses system boundaries: purchase orders go out to Lakeside Components as EDI files through SAP Process Orchestration, and Lakeside's invoices come back the same way.
End-to-end testA complete business process with its real roles, outputs, interfaces, batch jobs and reports, run on migrated or production-like data.
Each layer proves something the one below cannot.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203

A string test is the informal bridge between unit and integration testing. It chains unit tests inside one area, usually run by the consultant who built the configuration. A cross-module integration test deliberately crosses an organizational or module boundary, for example logistics to finance. A system integration test adds the non-SAP or other-SAP systems: a supplier's EDI connection, the bank, a warehouse system, a tax engine, a planning system. An end-to-end test is the widest view: the business process as the business will run it, including the people who hand work to each other, the outputs they print or send, and the jobs that run overnight.

How does this map to ISTQB? The CTFL v4.0 syllabus names five test levels: component (unit), component integration, system, system integration and acceptance testing. On an SAP program the unit test is component testing, string and cross-module tests are component integration testing of SAP's own modules, SIT is system integration testing, and UAT is acceptance testing. ISTQB's system testing, the behavior of the whole system against its specification, rarely runs as a separate SAP cycle; it is folded into the cross-module and end-to-end runs.

ISTQB also stresses that integration testing depends on the integration strategy. In big-bang integration everything is connected at once and every failure surfaces together. In incremental integration (top-down or bottom-up) pieces are added one at a time, with stubs standing in for what is missing. SAP programs are almost always incremental. In an early cycle a stub can be an inbound IDoc created with the IDoc test tool WE19 instead of a real message from the supplier, or a test endpoint that answers like the bank. Every stub is a boundary not yet proven, so list it in the cycle report until the real connection has been tested.

Arrows inside CMQ are cross-module boundaries and arrows that leave it are system boundaries; at go-live Contoso's interfaces still run on SAP Process Orchestration (XQ1 in test) and move to SAP Integration Suite in waves after hypercare.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203

How SAP Activate frames it

In SAP Activate, implementation testing happens in the Realize phase. SAP's own test strategy guidance treats unit and string tests as informal: they happen as configuration is completed. Integration, end-to-end and data migration tests are formal, and SAP expects them to be documented, for example in the SAP Cloud ALM test management apps. User acceptance testing is run by business experts at the end of Realize, and regression testing belongs to the Run phase, when upgrades and changes arrive. SAP also recommends testing business processes in the test system only after integrations are set up and data is migrated, because that is the only way the results reflect real conditions. The test types are the same in SAP S/4HANA Cloud Public Edition; the main difference there is that SAP delivers standard test scripts and the Test Automation Tool, and after go-live the customer regression-tests its own processes in the test system ahead of each upgrade.

LevelTypical ownerContoso exampleFormality
UnitFunctional consultantPurchase order for rotor CMC-RTR-200 picks up the right price from Lakeside ComponentsInformal, notes in the build backlog
StringConsultant with key userPurchase order, goods receipt into storage location 171S, quality inspectionInformal, but keep the document numbers
Cross-module integrationTest lead with module teamsGoods receipt posts to inventory and the GR/IR account in company code 1710Formal test case and result
System integrationTest lead with integration teamPurchase order reaches Lakeside as an EDI 850 file; the 810 invoice comes back and postsFormal, with interface evidence
End-to-endTest lead with process ownersProcure-to-pay from requisition to payment, including the payment run and bank fileFormal, signed off by the process owner

Who usually owns each level and how formal it is.

Ask from the widest level down: the first yes names the level to tag the test case with.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203

How SIT cycles are usually organized

SAP Activate does not prescribe a number of cycles, so programs choose their own. A common pattern is two or three integration cycles, each widening the scope and the realism of the data. Contoso's test lead Priya planned three, all in client 100 of the CMQ system. Each cycle has entry criteria (what must be true before it starts, such as transports imported and interfaces connected) and exit criteria (what must be true to call it done); lesson 6 covers those in detail. The point here is that a cycle is a time box with a defined scope and level, not "testing until it feels right." Between cycles, the team fixes defects, imports the next set of transports and refreshes or reloads data, so each cycle starts from a known state.

  1. Realize sprintsUnit and string testsInformal, done as each configuration item is finished.
  2. SIT cycle 1Core SAP chainsCross-module flows with manually created test data; external systems stubbed or simulated.
  3. SIT cycle 2Interfaces liveReal connections to Lakeside's test SFTP server, the Great Lakes EDI test partner and the bank test endpoint; outputs and batch jobs included.
  4. SIT cycle 3End-to-end on migrated dataFull processes on data from a mock migration, run by key users with the consultants watching.
  5. End of RealizeUAT and sign-offBusiness acceptance, then exit into the Deploy phase.
A typical three-cycle plan. The number of cycles is a program decision, not an SAP rule.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203

What would you do?

Priya's SIT cycle 1 report says "integration testing 92% complete." Grace asks whether that means the Lakeside EDI interface is proven. Of the 120 passed cases, 40 used inbound IDocs created with WE19 in place of real Lakeside files. What should Priya report?

Key points
  • Unit, string, cross-module, system integration and end-to-end tests each prove a different thing.
  • Integration tests target the hand-offs between steps, modules and systems; a stubbed boundary is not yet proven.
  • In SAP Activate, unit and string tests are informal; integration, end-to-end and data migration tests are formal and documented.
  • Most programs run two or three SIT cycles that widen scope and data realism; agree the plan in the test strategy.

Check your understanding · not graded

Lesson check

  1. 1. Contoso chains order, delivery, picking and goods issue inside sales and logistics, run by the consultant who configured them. What level is this?

  2. 2. Which test proves that Lakeside's EDI invoices post correctly in SAP S/4HANA?

  3. 3. According to SAP's test strategy guidance, which tests are formal and should be documented?

  4. 4. When does SAP recommend testing business processes in the test system?

  5. 5. In SIT cycle 1 Lakeside's EDI connection is not live, so inbound confirmations are created with WE19. What does a pass prove?