cancel
Showing results for 
Search instead for 
Did you mean: 

Context Issue.

Former Member
0 Kudos

Hi All,

I am facing a context issue while trying to map file to IDOC scenario.

I have to repeat a segment in IDOC(E1EDL18) as many times it comes in file.

But one of the field of segment E1EDL18 the value is not populating correct, even though it is showing correct is display queue.

Display queue shows :

But in mapping test it is coming as:

The first value CHG is not populating in first E1EDL18-->QUALF and test two shift up, leading to empty third segment.

Please suggest.

Regards,

Sachi

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

It worked, just removed context change of rowline to normal.

Regards,

Sachi

Former Member
0 Kudos

Hi Dubey,

The same I mentioned in  my answer.

Nice to hear that your issue resolved.

Thanks

Sagarika

Former Member
0 Kudos

Hi Dubey,

try to use remove context before createif on population of E1EDL18.

or you can use ifwithoutelse like I use in the below screenshot.

Parent node:

For population of QUALF better to pass the value in ifwithoutelse then apply your logic of substring and trim then mapped the same to target node else it will be difficult to handle context.

example:

Here you can see condition is TRUE for NAME2,NAME3 and NAME5 and the same is populated in the output.

You can see the result is as expected here.

Thanks

Sagarika

Former Member
0 Kudos

This isn't working. Thanks for help!.

former_member182412
Active Contributor
0 Kudos

Hi Dubey,

  • Can you show the display queue of E1EDL18 node??
  • I think your E1EDL18 node display queue is SUPRESS, VALUE,VALUE,VALUE??

Regards,

Praveen.

Former Member
0 Kudos

Hi Praveen,

yes it does.

What should be done?

Regards,

Sachi

former_member182412
Active Contributor
0 Kudos

Hi Dubey,

  • You need to create QUALF field same number of times which E1EDL18 you are creating
  • Which means if you create 5 times E1EDL18 then you need to create QUALF also 5 times without counting context changes.

Regards,

Praveen.

Former Member
0 Kudos

I tried doing that, In display queue it shows correct value but at runtime it doesn't happen.

More over, queue has values in form CHG,PIC,GWT, it populated PIC and GWT in first and second qualf, and third does not generate at all.

How is that happening?

And how to achieve it?

former_member182412
Active Contributor
0 Kudos

Hi Dubey,

Give me source XML and required target XML so that i can easily help you.

Regards,

Praveen.