Error: Error while resetting release of segment Z1EDK02 [SAP EDI]

SAP ECC 6.0

I needed to add another field to existing custom segment Z1EDK02 by using transaction WE31. I knew that I need to ‘Cancel Release’ first because the segment was already released. So I did ‘Edit - Cancel Release’, but I got this error:

EA259 Error while resetting release of segment Z1EDK02

Even if you just try to change the segment, you will get this error message: Idoc Segment Cancel release error

EA666 Current segment definition Z… can no longer be changed

Diagnosis
The current segment definition Z2EDL35000 of segment type Z1EDL35 is already released.

System Response
The segment definition cannot be changed.

Procedure
You can either add a new segment definition or cancel the release of the current segment definition.

I have remembered I did the same thing before, I changed/added/modified custom segments, new fields to segment, etc… So what is the problem.

Then I realized the problem. The segment last time was modified and released in 4.6C version but our SAP is not 4.6C anymore; we use SAP ECC 6.0. Then what I needed is to add another segment definition instead of changing the existing one.

So I used ‘Add version’ button on toolbar and added another segment definition and it worked. This time release number was 700 which SAP_BASIS (Netweaver) release number.

Check this link: Changing Segments [SAP Help], you will see it explains the situation.

You can search on SCN, I found one unanswered question the forum and answered: Idoc Segment Cancel release error

Happy end :) See you.

Tags: , , , , , ,

3 Responses to “Error: Error while resetting release of segment Z1EDK02 [SAP EDI]”

  1. Tuncay Karaca Says:

    David Li gave extra information for the forum question: Idoc Segment Cancel release error

    The reason that you are getting these errors is that you cannot cancel
    the release of an extension made in previous version e.g. 4.6C. Instead you have to
    create a new extension.

    It is not possible to change a segment definition which is released in a
    lower release. This is a basic concept of our release strategy to
    guarantee compatibility between different releases.

    You must create a new segment definition for the new release e.g. 620 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.

    For your own segments you can define a new version of the segment via
    transaction WE31 -> Add Version (Shift+F5).

    Please review your online help for more information on this and related topics.

    Hope this information helps.

  2. Lien Ho Says:

    I’m having the same problem, but I’m trying to add new new segment to an existing IDOC type. I’m getting ‘ZE_ISU_ENROLL has already been released, only display possible’. There is not an option for ‘Add Version’ in WE30. It’s only available in WE31, changing segment. Does anyone has any suggestion?

    Thanks!
    Lien

  3. Tuncay Karaca Says:

    @Lien Ho

    I think you get “Message EA506 - The release of the basis types cannot be reset” in WE30.

    In this case since the IDOC type was release in a different version, you need to create a new version of IDOC type as successor OR you can extend the IDOC. To me if it is a Z* IDOC type, it is better to create a new one.

Leave a Reply