When a SAP Cloud Integration message fails, find the message in the monitor, read its processing log for the step that failed, sort the cause (connection, security, data or capacity), fix the cheapest cause first and retry. The order matters because most failures are credentials, certificates or endpoints, not code. This runbook covers failed messages, logs, monitoring and the fix order. It supports our SAP Integration Suite consulting page.
Failed messages
Start in the message monitor for your tenant. Filter by status and time, then open a failed message. Note the message ID, the flow name, the time and the error text, and copy them into your ticket.
| Status | Meaning | First action |
|---|---|---|
| Failed | Processing ended in error | Read the log; classify the cause |
| Retry | The system will try again | Check if the cause is temporary, such as a receiver outage |
| Escalated | An error was handled by an exception path | Check the exception flow and what it did |
| Processing | Still running | Check for a hung receiver or a long mapping |
| Completed | Finished without error | If the business says otherwise, check the data, not the platform |
Classify the error text before touching anything:
| Error text pattern | Likely cause | Check |
|---|---|---|
| HTTP 401 or 403 | Wrong or expired credentials, role or client | Credential alias, client and role; see the security checklist |
| Certificate or SSL handshake error | Missing, expired or untrusted certificate | Keystore monitor and expiry dates on both sides |
| Connection refused or timeout | Receiver down, blocked route or wrong address | Receiver status, firewall, Cloud Connector |
| Mapping or parse error | Unexpected data or a changed schema | The payload at the failing step |
| Duplicate or out-of-order messages | Retry or sender behaviour | Sender settings and idempotency |
| Resource or queue errors | Capacity or a stuck queue | Queue monitor and tenant limits |
Logs
The message processing log shows each step with its status. Read it from the failed step backwards. Three habits help:
- Read the first error, not the last; later errors are often fallout.
- Raise the log level only for the flow you are debugging. Debug and trace levels can capture payloads, so they may expose personal data. SAP limits how long trace stays on; check your tenant.
- Reset the log level when done, and record that you did.
Where a flow calls a backend, compare with the backend's own log using the correlation ID. If you do not pass one, add it; it will save hours next time.
Monitoring
A runbook is better when failures reach you before users do. Set up:
- Alerts on failed and retry messages for each critical flow, with an owner on call.
- A daily check on queues and stored messages that have not cleared.
- Certificate and credential expiry alerts. See the security checklist.
- A weekly look at slow flows and message volume against the plan. Volume feeds cost; see pricing explained.
- Export of monitor data to your central tools if tenant retention is short.
Mind retries. Each retry can count as another message under a partner write-up of SAP's counting rules, so an unattended failure loop costs money as well as time. See Cloud Integration explained.
Fix order
- Confirm the scope: one message, one flow, one receiver or all.
- Check recent changes: a deployment, a certificate renewal, a receiver change.
- Check connectivity to the receiver and any Cloud Connector.
- Check credentials and certificates.
- Check the data against the mapping, using a captured payload.
- Check capacity and queues.
- Fix, redeploy through your normal change path, retry the failed messages and confirm with the business.
- Write a short note: cause, fix, prevention.
Do not edit production flows by hand during an incident unless your change process allows it; make the fix in development, test and promote, and record it.
A worked example
A typical situation, not a client. Orders stop arriving at a warehouse system at 06:10. The monitor shows failed messages with HTTP 401 at the receiver call. A certificate for the receiver was renewed overnight on their side. The team checks the keystore monitor, imports the new certificate, redeploys the flow and retries the failed messages. Prevention: a calendar reminder 30 days before expiry and a shared contact at the receiver. Time lost was the time it took to check connectivity before credentials, which the fix order above reverses for security errors.
Escalating to SAP
Escalate to SAP support when the cause sits in the platform, not your flow: the tenant is unavailable, the monitor does not load, or a standard adapter fails on valid input. Open the ticket with the tenant region, the time window, message IDs, the error text, what you changed recently and what you have already ruled out. A ticket with these details is answered faster than one that says "flows are failing". Keep the reference number in your log.
Prevention checklist
- Alerts on failure and retry for every critical flow.
- Named owners and an on-call rota.
- Certificate and credential expiry reminders.
- A sample payload and a test client for each critical flow.
- Retry limits set so that a failure does not run up message count.
- A review of the monthly failure list for repeat causes.
Questions we hear
Can we retry all failed messages at once? Only after the cause is fixed, or you will repeat the failure and the message count.
Why do messages show Completed but data is wrong? The flow ran as designed on wrong data. Check mapping and source.
Who should be on call? A named integration engineer with access to the monitor and keystore.
A first engagement
Duczer East offers a monitoring and runbook set-up: alerts, ownership and a runbook tailored to your flows. Scope is agreed in writing first.



