What is SAP integration testing?
SAP integration testing, also called system integration testing (SIT), checks that a business process works across SAP modules and connected systems, for example from sales order to delivery, billing and the accounting document. Each step must hand correct data to the next. PostNow.ai SAP Testing runs the whole process as one test and reads the SAP tables after every step.
- Test the hand-off, not the transaction. Each function already passed on its own. SIT proves that the document one function creates can be used by the next.
- Check the financial end of every chain. A logistics process is only proven when its accounting document exists with the right values.
This guide is for SAP test managers, functional consultants and project leads who are planning the SIT phase of an implementation, a rollout or an S/4HANA move. It covers the scenarios to run, interface tests, entry and exit criteria, a seven-step process and a worked order-to-cash example, each with the matching place in PostNow.ai SAP Testing. SIT is one phase of SAP testing, between functional testing and acceptance.
What is integration testing in SAP, and what is SIT?
SAP integration testing definition: the test phase in which business processes that cross module boundaries are executed from the first document to the last, in one system where all configuration, development and interfaces are in place together.
What is SIT testing in SAP?
SIT is short for system integration testing, the name project plans give this phase. System integration testing in SAP and integration testing are the same thing. SIT asks a different question from the phase before it. Functional testing has shown that a sales order saves, that a delivery can be created and that an invoice posts. SIT shows that the delivery finds the shipping data of that sales order, that billing finds the delivered quantity, and that accounting finds an account for the revenue.
SIT vs unit, functional, regression and UAT
The five test phases differ in what is under test, who runs the test and what kind of defect it finds:
| Phase | What is under test | A defect it typically finds | Who runs it | Starts when |
|---|---|---|---|---|
| Unit test | One program, enhancement or configuration setting | A user exit calculates the wrong value | Developer or consultant | The object is built |
| Functional test | One business function with its own input and output | An order type saves with the wrong pricing | Functional consultant | The function is configured (SAP functional testing) |
| Integration test (SIT) | A whole process across modules and interfaces | Billing creates no accounting document for one group of customers | Consultants from every module in the process, with testers | Functional tests have passed |
| Regression test | Processes that already worked, after a change | A transport changes account determination for an existing plant | Testers, usually with automated suites | A change reaches the test system (SAP regression testing) |
| User acceptance test | The process as the business will run it | The process posts correctly, but a step the business needs is missing | Key users | The SIT exit criteria are met (SAP UAT testing) |
One PostNow.ai test case can serve several rows of this table. A chain built for SIT can later run on a schedule as a regression suite, and manual steps can be added to it for key users in UAT.
How PostNow.ai runs SAP integration testing
PostNow.ai SAP Testing builds a cross-module process as one chain of steps. It goes from a plain description to a signed-off result in four steps.
- 01
Describe the process
Type what the process should do. Create with AI turns the description into draft postings, table checks and test data rows, and you review them.
- 02
Chain the postings
Action steps post through the BAPI or API automations your team publishes. Values such as document numbers move from one step to the next.
- 03
Check after every step
After a posting, a check step looks up the document in the SAP tables and compares each field with a value from the data set, a constant or a tolerance range.
- 04
Keep the evidence
The run is saved read-only with a SHA-256 checksum, and an approver accepts or rejects the cycle.
SAP end to end testing scenarios: P2P, O2C and R2R
End-to-end testing runs a business process from its trigger to its financial result, and it is the core of SIT. Three scenarios belong in every SIT plan: procure-to-pay, order-to-cash and record-to-report. The table shows the document flow, the tables that prove each document and the hand-off to check.
| Scenario | Document flow | Tables that prove each step | Hand-off to check |
|---|---|---|---|
| Procure-to-pay (P2P) | Purchase order (ME21N), goods receipt (MIGO), supplier invoice (MIRO), payment run (F110) | EKKO, EKPO; MATDOC on S/4HANA or MKPF and MSEG on ECC; RBKP, RSEG; purchase order history in EKBE | The invoice is matched against the order and the goods receipt, and it clears the GR/IR account |
| Order-to-cash (O2C) | Sales order (VA01), outbound delivery (VL01N), goods issue (VL02N), billing document (VF01), accounting document | VBAK, VBAP; LIKP, LIPS; VBRK, VBRP; BKPF; document flow in VBFA | The delivered quantity becomes the billed quantity, and billing posts to accounting |
| Record-to-report (R2R) | Journal entry (FB50), postings that arrive from MM and SD, financial statements (F.01) | BKPF, BSEG; the universal journal ACDOCA on S/4HANA | Postings from logistics reach the right G/L accounts in the right period |
Each scenario needs variants, such as a purchase order for a service or a sales order with a return. A variant is worth a test when it takes a different path through configuration.
In PostNow.ai SAP Testing each scenario is one test case and each variant is a row in its data set. The SAP testing tool page shows a procure-to-pay chain with a posting, a manual step, a table check and a report check in one run. A report check at the end of a chain is covered in SAP report testing.
SAP interface testing: IDocs, RFC, BAPIs and files
A process rarely stays inside one SAP system. Orders arrive from a web shop and payment files go to a bank. SAP interface testing proves that each message arrives, posts and can be traced.
IDocs
An IDoc has a control record, data records and status records, stored in the tables EDIDC, EDID4 and EDIDS. Testers follow IDocs in WE02, WE05 or BD87. The status tells you how far the IDoc got:
| Status | Direction | Meaning | What the tester does |
|---|---|---|---|
| 03 | Outbound | Data passed to the port | Confirm in the receiving system that the message arrived |
| 64 | Inbound | IDoc ready to be passed to the application | Process it, or wait for the scheduled job |
| 53 | Inbound | Application document posted | Open the document and check its values |
| 51 | Inbound | Application document not posted | Read the error, fix the data or the configuration, process again |
The test tool WE19 builds an IDoc by hand and sends it for inbound or outbound processing.
RFC and BAPIs
A BAPI reports its result in a return table, and the caller has to commit the work with BAPI_TRANSACTION_COMMIT before the document is saved. Transactional RFC calls that failed are listed in SM58. Queued RFC is monitored in SMQ1 for outbound queues and SMQ2 for inbound queues.
Files
For a file interface, test four files: a correct file, an empty file, a file with one bad record and the same file sent twice. Write down beforehand what should happen in each case.
For an interface that posts through a BAPI or an API, PostNow.ai SAP Testing makes the call as an action step, and a check step reads the tables the posting wrote. A manual step in the same chain lets a tester confirm what only a person can see, such as an IDoc status in WE02, with a comment and a screenshot.
SAP SIT testing: entry and exit criteria
Entry and exit criteria turn "are we ready?" and "are we done?" into lists that can be checked. Agree both with the process owners before the phase starts.
Entry criteria
- Functional tests have passed for every function in scope.
- Transports are in. All configuration and development is imported into the test system.
- Interfaces are connected. Each one reaches a test partner, or a stand-in such as WE19 is agreed.
- Test data exists in the test client for every scenario.
- Test cases are reviewed by the process owner, with an expected result per step.
- The defect process is agreed: severity levels, owners and the retest rule.
Exit criteria
- Every planned scenario has run from its first step to its last.
- Critical and high defects are closed and retested. Each remaining defect has an owner and a date.
- Every interface in scope has passed one case that posts and one case that must be rejected.
- The financial results reconcile. Documents posted in logistics appear in accounting with the expected accounts and amounts.
- Evidence is stored and the phase is signed off by the test manager and the process owners.
In PostNow.ai SAP Testing a test cycle holds the runs of the phase with its pass rate. The cycle's approvers accept or reject it, and the decision is kept with the evidence.

SAP system integration testing process: 7 steps
The seven steps below work for an implementation, a rollout and an S/4HANA move. Each step names its place in PostNow.ai SAP Testing.
1. Define the scope by business process
List the processes end to end and mark every point where a module or a system boundary is crossed. In PostNow.ai a project groups the tests for one release with its dates and its environment.
2. Map the document flow and the hand-offs
For every scenario, write down each document, its transaction, the tables it writes and the value the next step depends on.
3. Write test cases with an expected result per step
One test case covers one scenario. State the expected result of every step as table and field values. In PostNow.ai, Create with AI drafts the chain from a plain description, as explained in AI test case generation for SAP.
4. Prepare test data across modules
Create the customers, suppliers, materials and open documents that the scenarios start from. PostNow.ai creates this data in the test system from an Excel sheet and returns each new number to its row. See SAP test data management.
5. Run SIT in cycles
Plan more than one cycle. A common split is core scenarios first, then variants and interfaces, then a full run after the fixes. In PostNow.ai a cycle collects the runs of one round, so the results of cycle 1 and cycle 2 stay separate.
6. Log, fix and retest defects
In PostNow.ai, Log defect raises the defect on the exact run and step that failed and gives it a severity and an owner. Once the fix has been imported, rerun the scenario from step 1 so that it creates new documents.

7. Check the exit criteria and sign off
When the exit list is met, the approvers sign off the cycle. PostNow.ai keeps each run read-only under a SHA-256 checksum for the retention period you choose: one, three or seven years.
Manual SIT vs PostNow.ai
Passed from tester to tester
- Each tester keys one step and sends the document number on
- A step waits until its tester is free
- Results are checked on screen and noted in a spreadsheet
- A retest starts again by hand from the first document
One chain, checked at every step
- Steps pass document numbers on to the next step
- Every row of the data set runs the whole process
- A check step reads the tables after each posting
- A retest runs the same scenario again
SAP integration testing example: order to cash
Below is one order-to-cash test laid out as a PostNow.ai SAP Testing chain. The organization codes and quantities are made up for the example. Every transaction code, table and field is standard SAP.
The change. A company adds a new sales organization, 3100, that ships from plant 3110. Each function has passed its own test. SIT now has to prove that one order runs through all four and ends as an accounting document in company code 3100.
The test. Test case O2C-01 has four action steps and five check steps. The sales order is created through BAPI_SALESORDER_CREATEFROMDAT2. The delivery, the goods issue and the billing document are action steps too: published automations where the team has them, and SAP GUI recording steps for VL01N, VL02N and VF01 on the tester's own computer where it does not. The check steps find each follow-on document in the SAP tables through the sales order number, as the table shows.
| Step | Type | What it does | What proves it |
|---|---|---|---|
| 1 | Action | Create the sales order for 10 pieces | SAP returns a sales order number |
| 2 | Check | Read VBAK and VBAP for that order | VBAK-VKORG is 3100, VBAP-KWMENG is 10, and VBAK-NETWR equals the expected net value |
| 3 | Action | Create the outbound delivery for the order | SAP creates a delivery |
| 4 | Action | Post the goods issue | SAP posts a material document |
| 5 | Check | Read LIPS where VGBEL is the order number | LIPS-LFIMG is 10 and LIPS-WERKS is 3110. The goods movement status WBSTK is C |
| 6 | Action | Create the billing document for the delivery | SAP creates a billing document |
| 7 | Check | Read VBRK and VBRP where VBRP-AUBEL is the order number | VBRP-FKIMG is 10, VBRK-NETWR equals the order's net value, and VBRK-RFBSK is C |
| 8 | Check | Read BKPF where AWTYP is VBRK and AWKEY is the billing document number | One accounting document exists and BKPF-BUKRS is 3100 |
| 9 | Check | Read the document flow in VBFA | Rows link the order to the delivery (VBTYP_N J) and the delivery to the goods movement (R) and the invoice (M) |
The status WBSTK sits in table VBUK on ECC and in LIKP on S/4HANA, where the status fields moved into the document tables. On screen, the same chain is the document flow of the sales order in VA03.
The scenarios. Three rows of test data run the chain. Row 1 is a domestic customer and expects success. Row 2 is an export customer and also expects success. Row 3 uses a sold-to party that does not exist in sales organization 3100 and expects SAP to reject the order.
The result. Row 1 passes all nine steps. Row 3 passes because SAP refuses the order at step 1. Row 2 fails, and it fails late. Steps 1 to 6 pass. Step 7 reads VBRK-RFBSK and finds B, the status for a posting document that was not created because of an account determination error. Step 8 then finds no row in BKPF.
What it means. The defect is in revenue account determination for export customers, which no one meets while testing a sales order alone. It showed six steps after the order was created. The run record holds the document numbers, SAP's messages and the expected and actual value of the failed check. After the fix, row 2 runs again from step 1 with a new order.
SIT for every kind of SAP project
Start each SIT cycle with data that exists in every module
PostNow.ai creates the materials, suppliers, customers and opening documents a scenario starts from, straight from an Excel sheet, and returns the new numbers to the sheet.
- Master data created in the test system
- Sales orders, deliveries and billing documents for open-item scenarios
- The same sheet reused for the next cycle
Run the same process chain on both systems
The chain you built on ECC runs again on S/4HANA. A compare check then reads the same data from each system, groups it by key and compares the totals within the tolerance you allow.
- One chain, two systems
- Totals compared by key
- Export to PDF or Excel
Keep the SIT chains as your regression suite
The chains that proved the process before go-live run again after every change. After a transport is imported, PostNow.ai picks out the chains that depend on its objects and runs them as a group.
- Suites on a daily, weekly or monthly schedule
- Tests matched to the objects in a transport
- Every run stored with its evidence
Cross-module SAP testing challenges
Three problems slow down SIT on most projects. Each has a practical answer.
Test data has to exist in every module
A material that sales can sell must also be set up for the plant that ships it and valued for accounting. A customer needs data for the company code as well as for the sales area. If one piece is missing, the scenario stops halfway. Keep one data list per scenario. PostNow.ai loads that list from Excel into the test system before every cycle.
Each step depends on the step before
Integration tests use up their data. An order that has been delivered cannot be delivered again, and an invoice that has been paid is no longer open. In PostNow.ai the chain creates its own documents from the first step, so every run and every data set row starts fresh.
Defects surface two steps later
A wrong setting in one module often does no harm there. It shows when a later step needs the value. The team that sees the failure is not the team that owns the cause. In a PostNow.ai run the checks after every step shorten that search, because the record shows the last step where the data was still right.
What a missed integration defect costs the business
A process that was tested only step by step fails at the joins. The business then meets the defect on a real order, and the fix needs people from two modules.
- A delivery that cannot be billed. The goods have left the warehouse and no invoice goes out.
- An invoice with no accounting document. Revenue is missing from the ledger until someone notices.
- A goods receipt that blocks the invoice. Supplier payments wait while two teams work out who owns the defect.
Integration testing in SAP MM
Materials management hands data to finance at two points: the goods receipt and the invoice.
A goods receipt for a purchase order creates a material document and an accounting document. The accounts come from automatic account determination, maintained in OBYC: the stock posting uses transaction key BSX and the GR/IR clearing posting uses WRX. If an account is missing for a valuation class, the purchase order still saves, and the error appears only when the goods receipt is posted.
The purchase order history in EKBE records both events. The field VGABE is 1 for a goods receipt and 2 for an invoice receipt. An MM integration test therefore reads three places after each step: EKBE for the history, MATDOC on S/4HANA or MSEG on ECC for the material document, and BKPF for the accounting document. After the invoice it also reads RBKP and RSEG.
In PostNow.ai SAP Testing the chain posts the purchase order through BAPI_PO_CREATE1 and the goods movement through BAPI_GOODSMVT_CREATE, with a check step after each posting.
SAP integration testing best practices
These nine practices apply to any mix of modules, and each can be set up in PostNow.ai SAP Testing.
- Scope by process and name tests by document flow. "Order to accounting document for an export customer" tells everyone what is proven.
- Write an expected result for every step. Use table and field values, so a failure points at one document.
- Compare a value across documents. The billed quantity should equal the delivered quantity, and the net value in billing should equal the net value in the order.
- End every logistics chain in accounting. Read the accounting document and its company code.
- Create fresh documents in every run. A test should never depend on a document from an earlier run.
- Add one scenario that SAP has to refuse. A chain that can never fail proves little.
- Give every interface three messages. One that posts, one SAP must reject and one whose master data is missing.
- Record where a defect showed and where it began. The two are often in different modules.
- Keep the SIT chains after go-live. Put them on a schedule and they become your regression suite.
How to choose what to automate first is covered in the guide to SAP test automation.

