cancel
Showing results for 
Search instead for 
Did you mean: 

Checking Condition in a single segment when there are multiple occurences

Former Member
0 Kudos

Hi all,

I have a segment E1EDK14 in my source.there are multiple occurences of this segment.

I need to check condition for both the fields inside a single occurence of this segment.

Eg

E1EDK14 QUALF ORGID

<b>011</b> <b>LU01</b>

E1EDK14 QUALF ORGID

X Y

E1EDK14 QUALF ORGID

x y

It should work only for this condition not for other conditions as below.

E1EDK14 QUALF ORGID

011 Y

E1EDK14 QUALF ORGID

X LU01

E1EDK14 QUALF ORGID

x y

How can i check this condition??

Thanks,

Anoop

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anoop,

Tell me What's your mapping condition ?

I guess your condition like IF QUALF = '011' AND ORGID = 'LU01' THEN map some source field. OR where QUALF = '011' AND Where ORGID = 'LU01'.

For first condition if both the values present then only the mapping would works. From these two values are differ in occurence of the segement then it would not populate any value.

For second condition you need to write an UDF to get the value.

Cheers

Veera

>>>Reward points,if it is needful