04-02-2009 8:45 PM
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.
04-02-2009 9:14 PM
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