on 09-19-2013 6:36 AM
Dear experts,
We can add condition in Receiver Determination to achieve validation for each receiver, for example, usually we will have a check of some specific source fields and distinguish different receiver should be sent:
fieldA = "Receiver A" and/or field = "fieldB" then send this message to Receiver.
However, the right operator of above method requires a specific fixed given value only("Receiver A" here), it can't be fulfilled with a field from source payload also.
What if the requirement like this -- if fieldA equals fieldB, then send to Receiver, else, not send.
My suggestion is handle it in Mapping, add fieldA = fieldB check in the generation logic of output message, so if they aren't equivalent, output message will not be generated, henceno message would be sent to Receiver.
Just to confirm with you whether any simpler method to achieve this requirement? As in my case, I have to change the occurrence in signature tab of message mapping to 0-1 then add the logic, and I have to redo all the mapping as a result of changing the occurrence of target message in signature.
Any suggestion will be greatly appreciated, thanks a lot.
Hello,
Why don't u use EX operator in RD?
Ur XPATH will be something like this:
/p1:MT_Message1/Record[FieldA=FieldB] EX
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can achieve this using concept of dynamic receivers.
http://wiki.scn.sap.com/wiki/display/XI/Dynamic+receiver+determination+through+mapping
please revert back if you need any further inputs.
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.