on 12-14-2006 8:14 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh...
thanks alot...
problem solved...
regards
ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Bhavesh..
yes.. i did that one...
thanks alot...
subarish...
keep going...
regards
ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/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.
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
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.