Lesson 6 of 6
Monitoring and diagnosis
9 min
Listen to this lesson
Monitoring is how you prove an integration works and how you find out quickly when it stops. In the Integration Suite home page, the Monitor area shows message processing per integration flow, the state of deployed content, security material, stores such as data stores and message queues, and logs. Learning to read it well is the fastest way to become the person teams call.
Message statuses
| Status | What it means | What to do |
|---|---|---|
| Completed | The flow finished without an unhandled error | For tests, still check the business result at the receiver |
| Processing | The message is still running | Normal for long flows; investigate if it never moves on |
| Retry | Processing failed and a retry is pending | Check the error; watch whether retries will succeed |
| Failed | Processing ended with an error | Open the log, find the failing step, classify the error |
| Escalated | Processing ended through an escalation path in error handling | Treat as a business-relevant failure and follow the flow's design |
| Cancelled | Processing was stopped, for example manually | Confirm who cancelled it and whether the message needs reprocessing |
Message statuses you will see in Monitor Message Processing. Check your tenant's documentation for the full list.
Reading the message processing log
Each message has a message processing log (MPL): start and end time, status, the steps it passed through, the error text, and custom header values such as the business key you set. The amount of step detail depends on the flow's log level. SAP Learning material lists None, Info (the default), Debug and Trace. Trace also records message content at each step, but only for a limited period: SAP describes trace as switching off after about ten minutes, with the captured content kept for a short time, and access to payloads restricted to users with the right role.
- Find the messageFilter by flow and time, or search by the business key header, such as PO 4500002210.
- Read the status and errorThe log names the failing step and the error text, for example an authentication failure at the SFTP receiver.
- ClassifyTransient, data, configuration or unknown, as in lesson 4.
- Reproduce with trace if neededSet Trace briefly, resend a test message, inspect the payload before and after each step.
- Fix and proveCorrect the cause, reprocess or resend, and confirm Completed plus the business result.
Trace is a diagnostic tool, not a setting to leave on. It records payloads, which may contain personal and commercial data, and it consumes tenant resources. Turn it on for a specific problem, capture what you need, and let it expire.
Beyond one message
Message-by-message monitoring does not scale to about 60 interfaces. For the program view, SAP Cloud ALM's Integration and Exception Monitoring collects messages from SAP Integration Suite and other components, correlates them into end-to-end flows, lets users search by business attributes such as an order number, and raises alerts through rules that can email, notify, create a ticket or start an operation flow. Contoso's S/4HANA program already runs in SAP Cloud ALM, so that is where Theo sets up interface alerting for hypercare.
What would you do?
A Lakeside order message fails with an authentication error at the SFTP receiver in the production tenant. It worked yesterday. Luis asks Theo for a quick answer. What should Theo check first?
- Know the message statuses and what each one asks you to do.
- The message processing log names the failing step; set a business key header so you can search.
- Use Trace briefly for diagnosis; it records payloads and expires.
- Use SAP Cloud ALM Integration and Exception Monitoring for end-to-end views and alert rules.
Check your understanding · not graded
Lesson check
1. Which log level records message content at each step for a limited time?
2. A message shows Retry. What does that tell you?
3. Why set a business key, such as the PO number, as a header in the flow?
4. Which SAP tool correlates messages into end-to-end flows and raises alerts by rule?