SAP XI 3.0 Monitoring & Troubleshooting
SAP XI 3.0 Monitoring & Troubleshooting
SAP XI 3.0 Monitoring & Troubleshooting
ATP Training
SAP NetWeaver
TM
Agenda
Overview Business Process Engine Runtime Cache (SXI_CACHE) Monitoring Process Excecution (SXMB_MONI_BPE etc.) Message Monitoring (SXMB_MONI) Use Case Message Monitoring Event Triggering SWELS/SWEL Troubleshooting
Objectives
After completing this unit, you will be able to: Understand the relationship between integration processes in XI and workflows in SAP Business Workflow
Workflow Generated from the Integration Process defined in the Integration Repository
Triggering Event
Agenda
Overview Business Process Engine Runtime Cache (SXI_CACHE) Monitoring Process Excecution (SXMB_MONI_BPE etc.) Message Monitoring (SXMB_MONI) Use Case Message Monitoring Event Triggering SWELS/SWEL Troubleshooting
Workflow Builder uses same look and feel as the Process Builder in IB (tiles and other concepts)
SXI_CACHE
Only proceed when the green status traffic light is displayed (cache content is upto-date)
Generated workflow
Other return code: Errors occured. You can update the runtime version and then analyze the error messages
Repeat Activation
Messages: S: Success message after a step has been created I: Information, e. g. about default settings used W: Warning, indicates logical errors and problems E: Error which stops a functional runtime version from being created
Error Analysis
If error code is displayed in the runtime cache, check the following in the Integration Repository: Conditions
Are the defined conditions valid?
At
present, the condition editor cannot ensure that a condition does not contain invalid comparisons, for example: between different data types, for example xsd:date and xsd:time between single and multiple expressions
Comparisons Comparisons
Correlations
Is every activated correlation actually used?
Customizing
Incomplete customizing (SWF_XI_CUSTOMIZING)
Agenda
Overview Business Process Engine Runtime Cache (SXI_CACHE) Monitoring Process Excecution (SXMB_MONI_BPE etc.) Message Monitoring (SXMB_MONI) Use Case Message Monitoring Event Triggering SWELS/SWEL Troubleshooting
Process Selection SXWF_XI_SWI1: Notice the status for a workflow that is not completed
Agenda
Overview Business Process Engine Runtime Cache (SXI_CACHE) Monitoring Process Excecution (SXMB_MONI_BPE etc.) Message Monitoring (SXMB_MONI) Use Case Message Monitoring Event Triggering SWELS/SWEL Troubleshooting
Agenda
Overview Business Process Engine Runtime Cache (SXI_CACHE) Monitoring Process Excecution (SXMB_MONI_BPE etc.) Message Monitoring (SXMB_MONI) Use Case Message Monitoring Event Triggering SWELS/SWEL Troubleshooting
Monitoring
Display relevant messages
2. Click Icon
1. Click PE
Double click
Agenda
Overview Business Process Engine Runtime Cache (SXI_CACHE) Monitoring Process Excecution (SXMB_MONI_BPE etc.) Message Monitoring (SXMB_MONI) Use Case Message Monitoring Event Triggering SWELS/SWEL Troubleshooting
Agenda
Overview Business Process Engine Runtime Cache (SXI_CACHE) Monitoring Process Excecution (SXMB_MONI_BPE etc.) Message Monitoring (SXMB_MONI) Use Case Message Monitoring Event Triggering SWELS/SWEL Troubleshooting
Troubleshooting (1)
Messages sent to a process go to error state
Cause 1: Customizing not complete Check SWF_XI_CUSTOMIZING all entrys must have status green
Troubleshooting (2)
Messages sent to a process are delivered successfully but there is no corresponding process instance
Cause: Communication between messaging pipeline and process engine is not completed (Messages are sent asynchronously to the Process Engine based on tRFC) Check SWU2 there should be no tRFC entries waiting or in error state
Troubleshooting
Process does not start or message is not delivered to started process Cause: Event queue background job not running. Messages are delivered to process instances via events. In case events can not be delivered, the event is put into the event queue (if active).
Check SWEQADM: event queue background job must be running. Use event browser to check errors.
Troubleshooting (3)
Message does not arrive in target system
Cause: Outbound message queues are blocked due to high system load Check SMQ1: Check sender System Outbound Queues
Message sent to a process shows PE indicator, but clicking on it does not display process instances
Cause: The inbound queues of the process engine are not processed. Several messages are sent to the process and the messages are queued in a qRfc-queue. This is to ensure that messages are serialized correctly (e.g. if a message activates a correlation that should be used by another message) Use SXMB_MONI to check the messages
Check SXMB_ADM - XBQO*- queues have to be activated
Troubleshooting (4)
Message sent to a process has adapter status red
Cause: Correlation failed, no process instance found (message that activates the correlation arrives after the message that uses the correlation)
Check SXMB_MONI. Use SWELS to switch on event trace and re-run the message. Use SWEL to check the event trace. Check SWEQADM.