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: 

Addition of new segment

Former Member
0 Kudos

I have to add a new segment to an existing IDOC extension.

Basic Type SHPMNT05; Extension Z304EXTN; Message Type ZSHPMNT_304

This new segment Z1ADRM1_304 has to be a sub-segment of the segment E1ADRM1.

Can anyone tell the step-by-step approach to add the segment and then populate it?

I have done the following steps.

1. Created new segment Z1ADRM1_304 in WE31. Added required fields NAME2, FAX_NUMBER and SMTP_ADDR in it.

2. Tried to add the segment to extension Z304EXTN in We30. But it gives a message 'Z304EXTN has already been released, only display possible'. Will I have to cancel release and then add the segment and then release again?

Can I add the new segment to this extension or I have to create another extension?

Please reply if someone has done this kind of work earlier.

Thanks,

Ashwini.

1 REPLY 1

Former Member
0 Kudos

Hi,

Yes ,you will have to cancel the release before you can add any further segments to Z304EXTN. You can do this by going to menu Edit->Cancel Release, once this is done, the segment can be added. After adding the segment, again goto Edit->Set Release.

Make sure you also Set Release on the segment Z304EXTN.

You can use the same extension , no need to create a new extension.

regards,

Advait