cancel
Showing results for 
Search instead for 
Did you mean: 

How to call communication channel dynamically? Please help!

Former Member
0 Kudos

Hi Experts,

BizTalk -


> XI -


> SAP SYS01

XI|----


>SAP SYS02

We are integrating Biztalk with SAP via XI. BizTalk send rosattenet PIP via JMS adapter to XI. XI then sends the PIP data to SAP system using RFC adapter.

In the PIP we have a parameter for plant code. Now if plant code is 'ABC' then we need to send the data to SAP SYS01 else if plant code is 'XYZ' then send the data to SAP SYS02.

In other words we have RFC communication channel one each for each SAP system.

This is like calling the communication channel dynamically based on palnt code.

How can we do this in XI? Please help!

Thanks & Regards,

Gopal

Edited by: GOPAL BALIGA on Jan 12, 2009 7:35 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Shabarish_Nair
Active Contributor
0 Kudos

this is a typical case for a XPATH based conditional routing. note that your receiver will have binding with the interface and the communication channel

ref:

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

Former Member
0 Kudos

Hi Shabarish Vijay,

Will this XPATH or content based routing for receiver determination work for synchronous scenarios?

My scenario is synchronous.

Please reply.

Thanks & Regards

Gopal

Shabarish_Nair
Active Contributor
0 Kudos

yes it will !!!

prateek
Active Contributor
0 Kudos

Make sure that only one receiver condition is true at a time. If more than one receivers conditions are satisfied then the sync scenario won't work.

Regards,

Prateek

former_member208856
Active Contributor
0 Kudos

You can use Extended Receiver Determination for the same,

give the condition related to plant number.

Use same mapping for both conditions. Only change receiver communication channel.

Sandeep

prateek
Active Contributor
0 Kudos

You may use conditional receiver determination. In the receiver determination step, you will find options to add multiple receivers wherein based on the values from the sender payload you may route the data to various receivers using this option.

Regards,

Prateek

Former Member
0 Kudos

hi,

If i understand your scenario correctly we can achieve this by determinng the reveiver based on condition ally rather than using the RFC destinations dynamically.

We configure the scenario for both the receivers ( sys01,sys02) but we will route the message to the receiver based on the palnt to corresponding system .this we can do in receiver determination.