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

Adding field to basic IDOC segment

Former Member
0 Likes
4,097

Hi all,

I want to add a new field which is not present in basic segment of a IDOC.

It is urgent.......

Regards,

Rahul

1 ACCEPTED SOLUTION
Read only

Former Member
817

Hi

from WE30 take the Basic /extended Idoc name

from WE31 take the Segment name

enter that Segment name in WE31

change

from MEnu EDIT-> CANCEL RELEASE

enter the extra field with the correct data type or dataelement

save and from menu EDIT->RELEASE

now field is added.

go to the fun module or program where this segment is getting populated.

there you have to fetch the values for this and to populate the values for this field.

then test the IDOC whether that field is populated or not.

<b>

Reward points if useful</b>

Regards

Anji

4 REPLIES 4
Read only

Former Member
818

Hi

from WE30 take the Basic /extended Idoc name

from WE31 take the Segment name

enter that Segment name in WE31

change

from MEnu EDIT-> CANCEL RELEASE

enter the extra field with the correct data type or dataelement

save and from menu EDIT->RELEASE

now field is added.

go to the fun module or program where this segment is getting populated.

there you have to fetch the values for this and to populate the values for this field.

then test the IDOC whether that field is populated or not.

<b>

Reward points if useful</b>

Regards

Anji

Read only

0 Likes
817

Hi anji,

i tried to this in we31, but got following error.can u please help me?

Name E1P0105 not permitted in CUSTOMER system

Regards,

Rahul

Read only

0 Likes
817

Hey Rahul,

You have to create an extension to this segment. This extension must start with a Z. You may populate this Z-segment with custom fields.

In WE31, create the Z-segment.

In WE30, create an Z-idoc type like ORDERS05 e.g. (development object: extension)

you may add the Z-segment to the meant segment

regards,

Frank

Read only

former_member187255
Active Contributor
0 Likes
817

You need to extend the idoc and add new segments to it...

check this....

<a href="http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml">http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml</a>