Wednesday, September 28, 2016

XI/PI Outbound message errors


Sometimes connection between source  SAP XI & Target system  ECC  goes down and messages fail on the outbound side ( i.e. outbound interface is on sender side and inbound on receiver side)

If not be possible to restart them from using RWB or  transactions like SXI_MONITOR/SXMB_MONI. .

In general, messages are picked up and sent via SAP XI when the link returns. However, in some scenarios, it may be possible that SAP XI server could not  finish conversation with ERP. Main status of messages is “Processed successfully” – but there is an error in the outbound side as shown below. (Transactions – SXI_MONITOR/SXMB_MONI).




These messages do not get picked up automatically – and it is not possible restart them from using RWB or the transactions like SXMB_MONI.

Such messages could be processed in the following way:


  1. Send data directly to Integration Engine
  2. Change the status of failed message


This example shows how to solve the problem – two error messages are shown and one of them is solved here.

Send data directly to Integration Engine

Go to Component Monitoring in SAP XI Runtime Workbench. Click on the Test Message tab for the Adapter Engine. Specify the URL of SAP XI Integration engine to send the message to e.g. http://<XIServer>:<J2EE Port>/sap/xi/engine?type=entry




Specify the header Information. Copy payload of the message using SXMB_MONI and paste it into Payload area in RWB.




Send the message using Send Message button.

Change the status of failed message:

Call the transaction SWWL -> Delete appropriate work items.




Check that the messages are complete in SXI_MONITOR/SXMB_MONI.





Another simpler way to accomplish this is to use transaction SXMB_MONI_BPE . Select Continue Process Following Error under Business Process Engine -> Monitoring and Execute (F8). Update the selection criteria as required and Execute (F8). Choose the appropriate line item and click on Restart workflow button.

1 comment: