Introduction:

This Blog will guide you how to define multiple receiver and Xpath routing condition in SAP PI/PO.

Requirement:

To send the data from a single source system to multiple target systems.

Steps:

This can be done by validating the input data from the payload (identifier to route the messages to respective target).

First you need to create the ICO and assign respective sender Channel in Inbound Processing.
ICO%20Inbound%20Processing

 

Then in the Receiver tab, Select the Receiver components to which you need to send the data.ICO%20Receiver%20tab

 

By selecting the condition it will take to the condition editor where you can add the xpath and give the condition as per your requirement.Condition

 

Xpath

 

As per below example, from the source payload if RCVPRN = R1 then the data will be sent only to receiver “BC_RECEIVER1” and “BC_RECEIVER4” (since no condition maintained for Receiver 4, all the data will be sent to this receiver).

if RCVPRN = R2 or R3, then the messages will be routed to respective receivers.

 

Receiver%20routing%20condition

 

This brings me to the conclusion of this blog on steps to define multiple receivers in ICO using Xpath routing condition.

Please feel free to comment if you require any clarifications.

Thanks!

Sara Sampaio

Sara Sampaio

Author Since: March 10, 2022

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x