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: 

Modify Custom IDOC segment field length

Former Member
0 Kudos


Dear Folks,

We have a custome segment which released in version 7.3, now we are in 7.4.

I got a requirement to change one of the existing fields length and when i trying to cancel the release getting an error saying  "Error while resetting release of segment".

Please suggest how can we edit the segments released in previous releases?

Regards,
Siva.

4 REPLIES 4

david_liu1
Advisor
Advisor
0 Kudos

Hello,

In general it is not possible, to change a segment definition, which has
been created in a previous release.
This concept of the release strategie ensures, that the different
releases are compatibel.
You always have to create a new segment definition with a new segment
field (with the appropriate length) for your actual release.

In case of your customer own IDoc type, you have the possibility, to
change the release in the table EDISDEF to the actual release and in
the table EDBAS (RELEASED, CLOSED).
Very important: Please do not change any SAP-segment, only your own ones!
Afterwards you should be able to maintain the data as follows:
For your own segments you can define a new version of the segment via
transaction WE31   > Add Version (Shift+F5).

Regards,

David

0 Kudos

Thanks Liu!!

I gone through your previous posts regrding same kind of issue, but i am bit confused and no optiojn found to change the field attributes even create a new version using transaction WE31   > Add Version (Shift+F5) (Only can add additional fields). please advise if i miss something here.

Regards,

Siva.

0 Kudos

Hi Liu,

One more clarification, is it in debugging mode to change the release version in table EDISDEF?

Will it not create any consequences while transporting to other systems like tst and production?

Regards,
Siva.

0 Kudos

Hello,

You must create a new segment definition with a new segment
field with the appropriate length. In transaction WE20, outbound
parameters, you can specify the "segment release in IDoc type" for the
communication. Please read the F1 help of this field for further information.

Regards,

David