Skip to Content
Technical Articles
Author's profile photo Vinoth G

Multiple receiver routing in SAP PI/PO

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!

 

Regards,

Vinoth

SAP PI/PO Consultant

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo yu yue
      yu yue

      Hello Vinoth

          Is this configuration only suitable for asynchronous scenarios, when both conditions are met at the same time?

      Author's profile photo Dileep Reddy
      Dileep Reddy

      Dear Vineet,

      Could you please explain below query.

      In the above blog you have selected multiple business components but where we can select multiple communication channels,please provide details

      Thanks & Regards,

      Dileep