cancel
Showing results for 
Search instead for 
Did you mean: 

E1EDKT1 mapping issue.

Former Member
0 Kudos

Hi,

Please help me with the following issue:

Scenario:

DTM = 64,203,69 etc.,

FTX = DEL,EXW,GEN etc.,

1.if both DTM and FTX are true create only once E1EDKT1.

2.if any one segments either DTM or FTX is true create one E1EDKT1.

here my issue is if both the segments are true(using "or" condition here), two E1EDKT1 segments are getting populating.But my requirement is to create only one E1EDKT1.

Thanks,

Shankar.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

>>here my issue is if both the segments are true(using "or" condition here), two E1EDKT1 segments are getting populating.But my requirement is to create only one E1EDKT1.

cond1 --->OR-->createif -->E1EDKT1 (segment)

cond2--/

I'm bit confused about ur requirement ;I understood ur requirement as below .

If both the conditions are true or if either of the conditions are true then u need to open E1EDKT1 segment .Is it correct ?

Regards

Venkat

former_member184789
Active Contributor
0 Kudos

However, you should have been able to achieve it by the createIf function. See below:

See how I got only one EmpRec in target, though its occurrence is 0:unbounded..

former_member184789
Active Contributor
0 Kudos

You can have it through the false condition, such that :

if(DTM="false" && FTX = "false")

result.addSuppress();

else

result.addValue("");

I am not sure what you mean by true condition, but you can place your conditions in the if ( ) function above..

In such a case the result will not be created if both are false, but will be created if one or both are true.