cancel
Showing results for 
Search instead for 
Did you mean: 

multiple receivers??

Former Member
0 Kudos

HI XI friends...

in my idoc to file....

based on the value of source field ..i need to map to send file one of the recivers..

if fieldvalue = 1 then receiver=1

if filedvalue =2 then receiver=2

if fieldvalue=3 then receiver=3

i know we can do it by receiver determination....

can i put all these 3 conditions in one configuration scenario or..i need to create 3 configuration scenarios based on fieldvalue..

please guide me...

regards

ram

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Ram,

In your receiver determiantion ,

1. add 3 receivrs--> Click on the PLUS SIGN to add multiple receivers aginst the Receivers block in the Receiver Determination,

2. You will find 3 buttons and one of them will be ADD CONDITION --> This will allow you to add multiple conditions, one for each receiver.

3. Now click on the help button / selection against the condition field and then use the Condition Editor to add the conditions.

Regards,

Bhavesh

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Bhavesh...

thanks alot...

problem solved...

regards

ram

Former Member
0 Kudos

Sorry Bhavesh..

yes.. i did that one...

thanks alot...

subarish...

keep going...

regards

ram

bhavesh_kantilal
Active Contributor
0 Kudos

Is the problem solved?

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh..

thank you very much for your quick responses..

now the condition llok like this....

<i>(/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 1 AND /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 2 AND /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 3)</i>

and the recivers are..

Bs_ftp1

Bs_ftp2

Bs_ftp3

i need

if /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 1 then Bs_ftp1

if /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 2 theb Bs_ftp2

if /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 3 then BS_ftp3

after adding three conditions..its like

<i>(/IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 1 AND /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 2 AND /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 3)</i>

please tell me..the one i need and the above conditions with AND ..both are same...??

thanks and regards

ram

Shabarish_Nair
Active Contributor
0 Kudos

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

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

refer the above to give you an idea.

<i>if /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 1 then Bs_ftp1

if /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 2 theb Bs_ftp2

if /IORDER01/IDOC/E1ORHDR/E1OROPR/ARBPL = 3 then BS_ftp3</i>

>>>

in such a case dont use the AND operator. make it as independent conditions and for each add a receiver.

bhavesh_kantilal
Active Contributor
0 Kudos

Ram,

You should be able to add inidividual conditions for every Receiver!

Under <b>Configured Receivers</b> in Receiver Determination Delete all Receivers and then click on the last button ( a blue coloured button with a square on it which will have a tool tip ADD CONDTION ).

This will allow you to add conditions and individual receivers . Now the condition you give using Condition Editor wil be specific to the receiver!

Regards,

Bhavesh