on 07-16-2007 10:40 AM
Hi,
I need to send the records to two systems based upon the value
For Ex. All the material group record letz say (1,2,3,4,5,6) Shuld go to Receiver1 and only the records which belongs to material grp shud go to Receiver2.
I am trying using Condition based Receiver Determination
For Receiver 1 :-
I didnot give any condition.Coz all the records have to go to Reciver1.
For Receiver 2 :-
I have written the condn in the Interface determination
i.e) Material Group = 2.
But All the records are going to these two receivers.I have tried everything.
Thanks in advance
Regards
Anandan
This is where the Extended reciever determination concept comes in to use.
You need to use the SAP interaface - ReceiverDetermination seen in the namespace http://sap.com/xi/XI/System in the SAP BASIS 7.00 component.
Typicall,one extra mapping - which decides your reciever.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anandan,
Similar situation has worked for me. Please check the condition you have mention in Interface Determination.
In the Interface determination you need to have 2 inbound interfaces. Specify the respective condition for each inbound interface.
Example: if the Response field has the value as "Success" or "Failure" the message has to go to first interface. The message has to go to second interface only if the response is "Failure". so you can provided following condition in the interface determination:
<b>Condition 1:For first inbound interface</b> (/p1:MessageType/RecordSet/Response = F) OR (/p1:MT_RESPONSE_FROM_PS_BI/RS/Response = S)
<b>Condition 2:For second inbound interface</b> (/p1:MessageType/RecordSet/Response = F)
The above condition has worked for me. Hope this would be helpful to you.
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The condition in receiver determination can't split the XML message in several diferent messages containing only this or that record. Since the message attends the condition you have specified (because it contains a record for mat group 2) it will be sent to receiver 2.
If you do have that necessity, you will have to create different mappings for each receiver. In the case, the receiver determination should be exactly how you've done, but the interface determination should refer to another mapping. In this new mapping, only let the records for mat group 2 to be mapped to source message.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
Check these blogs
/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
and try giving the condition for Both.
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>>For Receiver 2 :-
I have written the condn in the Interface determination
Make the condition at receiver determination level.
You need/ can use condition at interface determination only if there are more than one inbound interface for the same reciever.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.