Skip to Content
0

IDOC_EDI Mapping

Nov 10, 2016 at 11:20 AM

91

avatar image

Dear Experts,

IDOC(INVOIC02) to EDI scenario.

IDOC>>E1EDK05 having 1 or 2 line items which can be differentiated by condition types ZDR3 (describes Total amount) and ZDR5(vat amount).

The below mapping results either Z or S at the target SSG5. But, I need both Z and S should get displayed for the IDOC having 2 line items. In case, if the IDOC having 1 line item( i.e., ZDR3) then Z only get displayed. Therefore, the target queue should be Z and S or Z.

Can you please help me on this as I don't know how to iterate the segment E1EDK05 so as to produce Z and S when the idoc contains ZDR3 and ZDR5.

Thanks, Gopi

e1eds01.jpg (20.2 kB)
mapping.jpg (33.9 kB)
e1edk05.jpg (27.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Moritz Feuerbach Nov 10, 2016 at 12:04 PM
0

Hi Gopi,

I am not sure if I understand you correct: You want a "S" in SSG5 and if there are more thant one line items, you want an additional "Z"? If this is correct, you may try and set a constant of "S" (because you will always have at least one line item I think). Additionally, you do a graphical mapping that checks if the amount is greater than 1 and if it is, you put a "Z" in there.

Hope it helps!

Moritz

Share
10 |10000 characters needed characters left characters exceeded
Gopi Srinivasan Nov 10, 2016 at 02:59 PM
0

Hi Moritz,

Thanks for the reply. To be clear if the IDOC contains,

>>only one line item (it should be always ZDR3). then , I want "Z" in SSG5.

>> suppose, two line items i.e., ZDR3 and ZDR5 then I want both Z and S in SSG5

Regards,

Gopi

Share
10 |10000 characters needed characters left characters exceeded