cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with some conditions to create statement [Idoc to JDBC]

Former Member
0 Kudos

Hi experts,

In my mapping, I have some conditions to create a statement:

- the first is if one segment of the idoc exists (E1KNA1M)

- the second one is if one field of a different segment (VKORG) has two specific values (ABC or DEF, any other values should not work)

The problem is in my test, if I have in the same IDOC one segment VKORG containing a value different than ABC or DEF and another segment VKORG with ABC, it won't create the statement, whereas the condition is true.

In the display queue I have:

1st condition / 2nd condition / result

[true] / [false] /[false]

[ ] / [true] / [false]

The result should be true since the both conditions have been true once.

I hope I've been clear enough, I can't get out of it!

Thanks a lot,

Jamal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The question is

Does VKORG's parent segment lie under E1KNA1M? if not,

Is there a immeadiate segment above these 2 segments?

if yes, make the context of both to that segment and try.

also check the occurances of each

the condition you should place should be ...

if E1KNA1M exists -


>

if VKORG == ABC -


[AND]--


> createif-----> target

OR----


>

if VKORG == DEF

regards,

Venkat.

Answers (0)