Application Development and Automation 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: 
Read only

Additional segments for outbound Idoc

Former Member
0 Likes
429

Hi,

We are having requirement for Customized segment in an outbound Idoc ORDERS05.

We have created a customized segment through we30 and appended it under the E1EDK01 header segment using the tcode WE31 in the ORDERS05 outbound idoc.

And, added the message type and extension through the tcodes we82 and we57.

For populating the values in the fields in the customized we using the exit "EXIT_SAPLEINM_002".

The problem is the Zsegment is not visible with in exit EXIT_SAPLEINM_002.

Could anyone suggest how to populate the values in the customized segment.

Thanks in Advance.

Regards,

Kalyani.

Hi,

We are having requirement for Customized segment in an outbound Idoc ORDERS05.

We have created a customized segment through we30 and appended it under the E1EDK01 header segment using the tcode WE31 in the ORDERS05 outbound idoc.

And, added the message type and extension through the tcodes we82 and we57.

For populating the values in the fields in the customized we using the exit "EXIT_SAPLEINM_002".

The problem is the Zsegment is not visible with in exit EXIT_SAPLEINM_002.

Could anyone suggest how to populate the values in the customized segment.

Thanks in Advance.

Regards,

Kalyani.

1 REPLY 1
Read only

jaideepsharma
Active Contributor
0 Likes
358

Hi,

What do you mean by ?

The problem is the Zsegment is not visible with in exit EXIT_SAPLEINM_002.

You will have to write the code in exit to populate the segment and add it in the Idoc.

Check in SE11 if the dictionary structure created for the segment is active. Also, if the segment is released in WE31.

KR Jaideep,