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

Lesson 3 of 6

Checkpoints at boundaries

20 min

Listen to this lesson

0:00 / 11:33

An end-to-end test that only checks the last screen is a test you cannot debug. If Contoso's supplier invoice does not post, the failure could sit in any of eight steps across three systems. A checkpoint is an objective, observable proof taken at a hand-off: something any tester can look up and confirm without asking the person who did the previous step.

Good checkpoints come in three kinds. A document checkpoint proves that the expected document exists with the expected values: purchase order created, delivery created, goods receipt posted. An interface checkpoint proves that a message left or arrived and was processed: the IDoc reached a success status, the integration flow completed, the inbound message created its document. A financial checkpoint proves that the accounting effect is right: the journal entry exists, the amounts and accounts match expectations, the GR/IR account clears.

Document checkpointInterface checkpointFinancial checkpoint
ProvesThe expected document exists with the expected valuesA message left or arrived and was processedThe accounting effect is right
Contoso P2P-01 exampleGoods receipt posted against the inbound deliveryInbound invoice message created the supplier invoiceGR/IR for the PO item nets to zero
EvidenceDocument number and statusMessage or IDoc number, final status, document createdJournal entry numbers and amounts versus expected
Three kinds of checkpoint prove three different things at a hand-off: the document, the message and the money.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203

Procure-to-pay with a supplier on EDI

Contoso orders rotors CMC-RTR-200 from Lakeside Components by EDI. At go-live the flow runs on SAP Process Orchestration, as it did in ECC: the purchase order's NAST output NEU (medium 6, EDI) creates an ORDERS IDoc, PO maps it to an X12 850 and drops the file on Lakeside's SFTP server (in test, the XQ1 system and Lakeside's test server). Lakeside's order confirmation (855), shipping notification (856) and invoice (810) come back the same way and arrive as ORDRSP, DESADV and INVOIC IDocs. The conversion changes what sits around the interface (business partners replace vendor masters, the IDoc port and partner profiles are re-pointed, and the shipping notification now creates an inbound delivery received into storage location 171S), so the boundary must be proven again even though the mapping is not new. The Lakeside flow moves to SAP Integration Suite in integration wave 1, a few months after go-live, and is retested then. The flow below marks each boundary.

  1. Purchase orderBuyer in purchasing group 001 creates the PO for plant 1710; NAST output NEU (medium 6) is triggered.
  2. Outbound messageORDERS IDoc passed to port XQ1_PO, mapped to an X12 850 and written to Lakeside's SFTP server.
  3. Supplier confirmationLakeside's 855 arrives as ORDRSP and updates the PO confirmation.
  4. Shipping notificationThe 856 arrives as DESADV and creates an inbound delivery for storage location 171S.
  5. Goods receiptWarehouse posts the receipt against the inbound delivery; inventory and GR/IR are updated.
  6. Supplier invoiceThe 810 arrives as INVOIC and is posted or parked against the PO.
  7. PaymentPayment run pays the open item; the bank file goes out.
Seven steps, five boundaries that leave or enter SAP S/4HANA.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203
P2P-01 as messages: every inbound message must create or update a named document, and that document is the checkpoint.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203
Hand-offCheckpointWhere to lookPass evidence
PO → outputOutput record processed successfullyOutput overview of the POOutput status successful, timestamp
SAP → POOutbound IDoc passed to port (status 03)WE02 / WE05IDoc number and status
PO → LakesideMessage mapped and file delivered to the SFTP serverPO Message Monitor on XQ1 (Configuration and Monitoring Home)Message ID, status successful, file name
Lakeside → SAP (855 confirmation)Inbound message posted, PO confirmation updatedWE02 / BD87, or AIF monitoringInbound IDoc status, PO confirmation tab
Lakeside → SAP (856 notification)Inbound delivery createdInbound IDoc, then document flow of the POInbound delivery number
Receipt → financeMaterial document and journal entryMaterial document display, accounting documentsGR/IR credited at PO quantity × PO price; inventory at the rotor's standard price, the difference to price differences
Lakeside → SAP (810 invoice)Supplier invoice posted, not just receivedInbound IDoc or AIF message, then invoice displayInvoice document and journal entry
Payment → bankOpen item cleared, bank file createdPayment run log, supplier line itemsClearing document, file reference

Checkpoint table for Contoso P2P-01. Each row is one hand-off.

Interface checkpoints in practice

For IDocs inside SAP S/4HANA, WE02 and WE05 display IDocs by date, direction, message type and status, and BD87, the status monitor for ALE messages, groups them by status and lets an authorized user reprocess them. Learn the status texts your interfaces reach on success; for many inbound IDocs the success status is 53, "application document posted," and 51 means the application document was not posted. Outbound, 03 means the IDoc was passed to the port: it left SAP S/4HANA, which does not prove the partner received it. WE47 lists every status with its text, so check there rather than memorizing. Do not treat "IDoc received" as a pass. The checkpoint is the business document it was supposed to create.

Where interfaces run through SAP Application Interface Framework (AIF), /AIF/ERR (Monitoring and Error Handling) shows messages per interface with their logs, and /AIF/IFMON (Interface Monitor) gives the overview. In SAP Integration Suite, the Monitor area shows message processing per integration flow; how much step detail you see depends on the log level set for the flow. SAP Cloud ALM Integration & Exception Monitoring can correlate messages across components and search by a business attribute such as an order number, provided the component exposes that attribute.

Remember that most interfaces are asynchronous. A message can sit in a queue, wait for a batch job, or retry several times before it fails for good. Messages between SAP systems sent by tRFC or qRFC can also wait in SM58 or in the queues (SMQ1 outbound, SMQ2 inbound), so look there before calling a message lost. Write the expected timing into the checkpoint ("inbound delivery exists within 30 minutes of Lakeside's 856 file being picked up") so a tester knows the difference between "not yet" and "failed." Also decide who is allowed to reprocess a failed message during a test. Reprocessing in BD87 or AIF can be the right fix for a temporary error, but it must be recorded; a scenario that only passed after a silent reprocess has a hidden defect.

  1. Did the message arrive within the expected time?Yes → next · No → not yet or failed? Check the queue, the job and the retry status
  2. Did it reach the success status, such as 53 for many inbound IDocs?Yes → next · No → status 51 or an error means the application document was not posted
  3. Does the business document exist with the right values?Yes → next · No → fail; "IDoc received" is not a pass
  4. Was it reprocessed to get there?No → pass · Yes → record who reprocessed and why; investigate the hidden defect
An interface checkpoint passes only when the message created the right business document on time without a silent reprocess.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203
Inbound IDoc statuses: only 53 proves the business document was posted, and a 51 that was reprocessed must be recorded; check the texts for your release in WE47.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203

Reconciliation closes the loop

The last checkpoint in any chain should be financial. For P2P-01, the goods receipt and the invoice should net to zero on the GR/IR account for that PO item, and the supplier line item should be cleared by the payment. For an order-to-cash chain, the billing document should have its journal entry, and the receivable should clear when the payment arrives. A process that "worked" but leaves an open GR/IR balance has a defect.

Write the expected values before the run, not after. If Contoso orders 200 rotors at the agreed 42.00 against the 40.00 standard price, the tester should know in advance that the goods receipt debits inventory with 8,000.00 and price differences with 400.00 and credits GR/IR with 8,400.00, plus the invoice amount including tax and the payment amount after any cash discount. Comparing actual against expected is what turns a reconciliation into a test; reading the numbers afterwards and deciding they "look right" is not. The same applies to order-to-cash: for Great Lakes Fleet Services, write down the expected net value, tax, revenue account and receivable before Maria creates the order.

  1. Expected values writtenInventory 8,000.00, price difference 400.00, GR/IR 8,400.00, invoice with tax and payment after discount, before the run
  2. Goods receiptDebits inventory at standard price, credits GR/IR at PO price; the difference goes to price differences
  3. Supplier invoiceDebits GR/IR, credits the Lakeside payable
  4. GR/IR checkNets to zero for the PO item; an open balance is a defect
  5. PaymentClears the supplier line item; amounts compared with expected
Procure-to-pay reconciliation compares each posting against values written before the run and ends with a cleared GR/IR and supplier item.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-203
Key points
  • A checkpoint is objective proof at a hand-off that any tester can look up.
  • Use document, interface and financial checkpoints; end every chain with reconciliation.
  • An inbound message counts only when it has created or updated the business document.
  • Record the document or message number and status at every boundary as evidence.

Check your understanding · not graded

Lesson check

  1. 1. An inbound invoice IDoc exists in WE02. Is the invoice checkpoint passed?

  2. 2. Which transaction is the status monitor for ALE messages?

  3. 3. What is the best final checkpoint for Contoso's procure-to-pay chain?

  4. 4. What does SAP Cloud ALM need in order to find a message by order number?