cancel
Showing results for 
Search instead for 
Did you mean: 

Routing message to multiple receivers depending on RFC Response

Former Member
0 Kudos

HI all

i am having a scenario where a req message is sent to RFC and depending on the response "status" from RFC need to send the message to multple legacy systems.

eg.if status from RFC is X message should be sent BS1,

and if status is y need to send msg to BS1 &BS2 and while routing message to bs2 need to transform the message as well,and if status is Z need to send msg to BS1,BS2,BS3

How to achieve this integration using BPM?

Regards

Satish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Satish,

You could use Enhaced Receiver Determination with RFC Lookup.

Here are a few links:

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/enhancedReceiverDeterminationinSAP+XI&

/people/jin.shin/blog/2007/12/11/sap-netweaver-process-integration-enhanced-receiver-determination-for-synchronous-scenarios

/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

Regards,

Merrilly

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks

Shabarish_Nair
Active Contributor
0 Kudos

>

> HI all

> i am having a scenario where a req message is sent to RFC and depending on the response "status" from RFC need to send the message to multple legacy systems.

>

> eg.if status from RFC is X message should be sent BS1,

> and if status is y need to send msg to BS1 &BS2 and while routing message to bs2 need to transform the message as well,and if status is Z need to send msg to BS1,BS2,BS3

>

> How to achieve this integration using BPM?

>

> Regards

> Satish

in case you want to route the message based on the RFC Response use a BPM.

the BPM will have a sync send that will call the RFC, after the sync send step you can have a switch step which will check the xpath condition of the RFC response and in the relevant branch you can have the relevant send step for the receiver.

former_member200962
Active Contributor
0 Kudos

dont think you need a BPM for this....just give the condition in the Receiver Determination (you will need only one receiver determination with all the receivers mentioned in it)...have Interface Determinations defined which will do the mapping for a particular Sender ---> Receiver pair

Regards,

Abhishek.

udo_martens
Active Contributor
0 Kudos

Hi Abhishek,

this does not work, it is not a condition on the receiver, it is a condition how to distribute a response.

BPM is required, 3 message flows need to be setup:

1. aynchronous: sender -> BP

2. synchronous: BP -> RFC

3. aynchronous: BP -> legacy system (with conditional receiver determination)

Regards,

Udo

Former Member
0 Kudos

If you can call the RFC in UDF (RFC lookup), you don't need a BPM.

Use Enhanced Receive Determination to obtain the receivers at runtime.

http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm

But if you are trying to call RFC the regular way, you need a BPM.

Recommended approach will be to use RFC lookup & Enhanced Rx.Det.

-SM