A warehouse sends an order to SAP. SAP creates the document, but the response never reaches the warehouse. Thirty seconds later the sender retries. How many orders should exist?

The sender sees the same timeout if its first request never arrived. A retry policy alone cannot distinguish those cases.

Give the order a stable identifier such as WH1/ORDER-4711 and carry it through SAP Integration Suite on every attempt. Each delivery can have a new message ID while retaining that original business identifier.

Where you control the receiver transaction, enforce uniqueness and persist the identifier and document number atomically with creation. When the API is remote, writing to a middleware database and creating the SAP document are separate transactions. Use receiver-supported idempotency or reconcile the ambiguous result before resubmitting.

Three acceptance tests

  • Deliver identical requests concurrently. Expect one document.
  • Drop the response after SAP commits. Retry with the original identifier and recover the same document number.
  • Reuse the identifier with a different quantity. Flag the conflict for resolution.

Which reference could your overnight support team search to connect both attempts to the same SAP document?

From ERPClimb, a learning platform for SAP practitioners.