cancel
Showing results for 
Search instead for 
Did you mean: 

How to compare two fields in condition editor in receiver determination

Former Member
0 Kudos

Hello,

Is it possible to compare to fields frrom the source in the condition editor of Receiver Determination?

Because on the right hand operand we can specify only constants right and not the source field.

For eg: If field1 != field2 then Reciever = Receiver1

Thanks,

Loveena

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

In standard receiver determination while defining the condition, you can only specify an element from the message payload using expression editor to create an expression for the left operand and you must specify a fixed value in the right operand, against which the value of the element will be compared at runtime. You can use only these (=,, ,EX) operators. So the functionalities are limited.

so you have to use Enhanced Receiver Determination, In this Instead of creating the receivers in the receiver determination manually, you assign an Interface mapping to the receiver determination and this returns a list of receivers at runtime.

refer this wiki for more details

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=133562771

Former Member
0 Kudos

Yes, using suitable xpath conditions, you can compare fields in the recv determination !

Rgds

Chris

Shabarish_Nair
Active Contributor
0 Kudos

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

this will help you