Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Populating Handling Units (E1EDP08) segment for INVOIC

Former Member
0 Kudos

Hi All,

I created an order (2 line items), delivered both (same delivery number) and created 2 handling units(one each for line item). When billing idoc (INVOIC02) IDOC_OUTPUT_INVOIC is created the handling unit segments (E1EDP08) for both line items are populated under the very first posnr.

I want the E1EDP08 segment to appear for each posnr separately after there E1EDP01 segments but currently both E1EDP08 segments appear after E1EDP01 segment of first posnr (line item)

Many thanks for all suggestions

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

you have to identify the Item segment(record index), and then populate the E1EDP08 segment and insert the segment using the index according to the syntax of the IDoc type.

Repeat the same steps for all the items.

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

you have to identify the Item segment(record index), and then populate the E1EDP08 segment and insert the segment using the index according to the syntax of the IDoc type.

Repeat the same steps for all the items.

Former Member
0 Kudos

Hello,

If the E1EDP08 does not hold values at the end, then use the Customer Exit EXIT_SAPLVEDF_002 in which you can actually write code to explicitly populate the Handling Unit Information.

Hope it helps.

Thanks and Regards,

Venkat Phani Prasad Konduri