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

9 min

Listen to this lesson

0:00 / 12:06

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 an external supplier portal

Contoso orders rotors CMC-RTR-200 from Lakeside Components through a supplier portal. Purchase orders leave SAP S/4HANA, pass through SAP Integration Suite and reach the portal; the supplier's confirmation, shipping notification and invoice come back the same way. The flow below marks each boundary.

  1. Purchase orderBuyer in purchasing group 001 creates the PO for plant 1710; output is triggered.
  2. Outbound messagePO sent as an IDoc or API call, mapped in SAP Integration Suite, delivered to the portal.
  3. Supplier confirmationLakeside confirms date and quantity; the inbound message updates the PO confirmation.
  4. Shipping notificationInbound message creates an inbound delivery for storage location 171A.
  5. Goods receiptWarehouse posts the receipt against the inbound delivery; inventory and GR/IR are updated.
  6. Supplier invoiceInvoice arrives from the portal 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
Hand-offCheckpointWhere to lookPass evidence
PO → outputOutput record processed successfullyOutput overview of the POOutput status successful, timestamp
SAP → middlewareOutbound IDoc passed to port, or API call acceptedWE02 / WE05, or the outbound logIDoc number and success status
Middleware → portalIntegration flow completedSAP Integration Suite: Monitor, Integrations and APIsMessage ID, status completed
Portal → SAP (confirmation)Inbound message posted, PO confirmation updatedWE02 / BD87, or AIF monitoringInbound IDoc status, PO confirmation tab
Portal → SAP (notification)Inbound delivery createdInbound IDoc, then document flow of the POInbound delivery number
Receipt → financeMaterial document and journal entryMaterial document display, accounting documentsInventory and GR/IR amounts equal PO quantity times PO price
Portal → SAP (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. 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. Write the expected timing into the checkpoint ("inbound delivery exists within 30 minutes of the portal confirmation") 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

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 an agreed price, the tester should know in advance the inventory value the goods receipt should post, 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 value, invoice with tax and payment after discount for 200 rotors, before the run
  2. Goods receiptDebits inventory, credits GR/IR at PO quantity times PO price
  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?