Quick answer

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:

PhaseWhat is under testA defect it typically findsWho runs itStarts when
Unit testOne program, enhancement or configuration settingA user exit calculates the wrong valueDeveloper or consultantThe object is built
Functional testOne business function with its own input and outputAn order type saves with the wrong pricingFunctional consultantThe function is configured (SAP functional testing)
Integration test (SIT)A whole process across modules and interfacesBilling creates no accounting document for one group of customersConsultants from every module in the process, with testersFunctional tests have passed
Regression testProcesses that already worked, after a changeA transport changes account determination for an existing plantTesters, usually with automated suitesA change reaches the test system (SAP regression testing)
User acceptance testThe process as the business will run itThe process posts correctly, but a step the business needs is missingKey usersThe 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.

PostNow.ai SAP Testing

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

ScenarioDocument flowTables that prove each stepHand-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 EKBEThe 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 documentVBAK, VBAP; LIKP, LIPS; VBRK, VBRP; BKPF; document flow in VBFAThe 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/4HANAPostings 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:

StatusDirectionMeaningWhat the tester does
03OutboundData passed to the portConfirm in the receiving system that the message arrived
64InboundIDoc ready to be passed to the applicationProcess it, or wait for the scheduled job
53InboundApplication document postedOpen the document and check its values
51InboundApplication document not postedRead 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.

PostNow.ai test cycles list, where a SIT cycle would appear with its pass rate, time window and status
A test cycle in PostNow.ai collects the runs of one phase, such as SIT cycle 1, with the pass rate and status.

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.

PostNow.ai defects list showing a defect logged from a failed test run, with its severity, owner and status
Each defect in PostNow.ai is linked to the run and the step where it showed.

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.

Check: pick one finished scenario and follow it in the run record from the first document number to the accounting document.
Before and after

Manual SIT vs PostNow.ai

Manual SIT

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
With PostNow.ai

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.

StepTypeWhat it doesWhat proves it
1ActionCreate the sales order for 10 piecesSAP returns a sales order number
2CheckRead VBAK and VBAP for that orderVBAK-VKORG is 3100, VBAP-KWMENG is 10, and VBAK-NETWR equals the expected net value
3ActionCreate the outbound delivery for the orderSAP creates a delivery
4ActionPost the goods issueSAP posts a material document
5CheckRead LIPS where VGBEL is the order numberLIPS-LFIMG is 10 and LIPS-WERKS is 3110. The goods movement status WBSTK is C
6ActionCreate the billing document for the deliverySAP creates a billing document
7CheckRead VBRK and VBRP where VBRP-AUBEL is the order numberVBRP-FKIMG is 10, VBRK-NETWR equals the order's net value, and VBRK-RFBSK is C
8CheckRead BKPF where AWTYP is VBRK and AWKEY is the billing document numberOne accounting document exists and BKPF-BUKRS is 3100
9CheckRead the document flow in VBFARows 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.

⚠
A billing document number is not the end of order-to-cash. Read the posting status and the accounting document. A billing document can exist while nothing has reached the ledger.
Where teams use it

SIT for every kind of SAP project

New company code, plant or country

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
SAP test data management
ECC to S/4HANA

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
SAP S/4HANA testing
Transports and releases

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
SAP transport testing

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.

Why it matters

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.
PostNow.ai runs the whole process as one test and checks what SAP saved at every step.

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.

  1. Scope by process and name tests by document flow. "Order to accounting document for an export customer" tells everyone what is proven.
  2. Write an expected result for every step. Use table and field values, so a failure points at one document.
  3. 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.
  4. End every logistics chain in accounting. Read the accounting document and its company code.
  5. Create fresh documents in every run. A test should never depend on a document from an earlier run.
  6. Add one scenario that SAP has to refuse. A chain that can never fail proves little.
  7. Give every interface three messages. One that posts, one SAP must reject and one whose master data is missing.
  8. Record where a defect showed and where it began. The two are often in different modules.
  9. 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.

Frequently asked questions

How many SIT cycles does an SAP project need?
Plan more than one. A common split is a first cycle for the core scenarios, a second for variants and interfaces, and a full run after the defects are fixed. The right number depends on the scope and on what the first cycle finds. In PostNow.ai SAP Testing each test cycle collects its own runs, so the results of one round stay separate from the next.
Is SIT the same as end-to-end testing in SAP?
Almost. End-to-end testing runs one business process from its first document to its financial result, and it is the largest part of SIT. SIT also covers the interfaces to other systems and the variants of each process. In PostNow.ai SAP Testing an end-to-end scenario is one test case, and each variant is a row of test data.
Who performs integration testing in an SAP project?
Functional consultants from every module in the process run the scenarios together, supported by testers and interface developers. A test manager plans the cycles and tracks defects. Process owners sign off the phase. In PostNow.ai SAP Testing everyone runs under a personal SAP login, and the test cycle names the approvers who decide on it.
What are the entry and exit criteria for SIT in SAP?
Typical entry criteria are passed functional tests, all transports imported, interfaces connected, test data in place and reviewed test cases. Typical exit criteria are every planned scenario run, critical and high defects closed and retested, every interface passed, financial results reconciled and a recorded sign-off. PostNow.ai SAP Testing keeps the runs, the defects and the sign-off of a cycle in one place.
How do you test SAP interfaces during SIT?
Test each interface with a message that should post, a message SAP must reject and a message whose master data is missing. For IDocs, follow the status in WE02 or BD87: 53 means the application document was posted and 51 means it was not. For RFC, check SM58 for failed calls. Then check the document the message created.
How does PostNow.ai run an SAP integration test?
In PostNow.ai SAP Testing an integration test is a chain of steps. Action steps post through the BAPI or API automations the team publishes, and steps pass values such as document numbers to the next step. Check steps read the SAP tables and compare fields with expected values. Manual steps can sit in the same chain. Each finished run is saved read-only and sealed with a SHA-256 checksum.
A professional working in PostNow.ai on a laptop

Book a demo

Run your first SAP integration test

Pick one process that crosses modules, such as order to cash, and watch it run as one PostNow.ai test: each step posted, checked in SAP and signed off.

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.