cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to add a field to a segment in an existing IDoc

Former Member
0 Kudos

Hi people,

I am trying to add a new field to an existing IDoc segment (Z1BP_INCINV_CREATE_HEADER ) using the transaction we31, But it is not successful. I get an error message ' the segment cannot be changed'. It is Not a standard IDoc. i am able to add fields to the other segments. Can anyone suggest?

Thanks in advance.

Shwetha

Edited by: shwethag on May 12, 2010 1:33 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

Hi Shweta,

First you have to cancel the release (In we31) before you make any changes:

http://help.sap.com/saphelp_nw70/helpdata/en/dc/6b830b43d711d1893e0000e8323c4f/content.htm

Regards,

ravi

Former Member
0 Kudos

Hi Ravi,

Thanks for your reply.

i tried cancelling the release. but still unsuccessful, 'error while restting the release of the segment'.

former_member181962
Active Contributor
0 Kudos

Hi Shweta,

You can try cancelling the release of the Basic type/ extension in we30 first.

Then you can cancel the release of the Segment.

Regards,

ravi Kanth talagana

Former Member
0 Kudos

Hi,

I Could not cancel the release,t as the error being, the "Segment type and IDoc is flagged as generated (PI_generated=X)".

Can anyone suggest what could be the possible reason for the flag getting generated and how to change it in order to add new fields to the segment? Please note that it is not a standard one.

Regards,

Shwetha