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

Move data to the custom segment fields

Former Member
0 Likes
524

Hi All,

I have a custom seg zE1EDP01 with 1 field to E1EDP01 parent segment for idoc ORDERS01.

Can anyone tell me how to populate the field in segment zE1EDP01

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
445

I hope its a standard Purchase Order EDI. Use a User-Exit to populate the Custom segment.

2 REPLIES 2
Read only

Former Member
0 Likes
446

I hope its a standard Purchase Order EDI. Use a User-Exit to populate the Custom segment.

Read only

0 Likes
445

Hi,

Its a standard PO EDI

DATA: WA_ZE1EDP01 TYPE ZE1EDP01.

if int_edidd-segnam = 'ZE1EDP01'.

move int_edidd-sdata to WA_ZE1EDP01.

WA_ZE1EDP01-ZTEST = 'Test'.

move WA_ZE1EDP01 to int_edidd-sdata.

endif.

But for some reason in degugging i never see segment ZE1EDP01.

It never goes inside the if condition

I also added the extension type in outbound parameters for that particular vendor and also added extension for message type.

Let me know if i missed anything.

Thanks