Technical Articles
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.
Then in the Receiver tab, Select the Receiver components to which you need to send the data.
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.
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.
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
Hello Vinoth:
Is this configuration only suitable for asynchronous scenarios, when both conditions are met at the same time?
Dear Vineet,
Could you please explain below query.
Thanks & Regards,
Dileep
Dear Vinoth,
please show me how to select multiple receiver communication channels. i have tried but unable to find the option.
Is this this scenario will work for synchronous interfaces?
best regards,
nagaraju
Dear vinoth,
i got the option to select multiple channels.
thanks for your blog.
Best regards,
Nagaraju
Hi Vinoth
after BC_RECEIVER1 and BC_RECEIVER4 received data., RCVPRN = R1 had received messages status (fail or success) for any receiver. Is that right?
Thanks