Skip to Content
Former Member
Jun 16, 2015 at 07:56 AM

UDF to compare values of different contexts


Hi All,

I am looking for UDF to perform the following logic, please help me

I will have 3 inputs, say field1, fields2, field3. If field1 = field2 then return field3.

You may say that this can be implemented by message mapping with IF condition itself. But here field1 & field2 are from different segments.Field1 & field3 are from same segment.

When i use message mapping because of this context problems, i am able to get this validation for the first set only.

If i have the multiple values means, i am not able to get it.

all these field1, field2 & field3 are multiple .

All the fields have different occurrences.