Don’t Cancel Release IDOC Type, Create a Successor IDOC Type [SAP]

I needed to add a new segment to a custom IDOC type. I created this custom IDOC type for generating EDI 846 document which is Inventory/Inquiry Advice.

The new segment is for price information of the material. Basically we need to pass price information for a customer. So I went to WE30 and tried to change it but I got this message:

Message E0639 - ZPCCMAI01 has already been released, only display possible

Diagnosis
ZPCCMAI01 has already been released. This means that the basic type or extension is locked against changes and can only be displayed.

Procedure
You can create a successor based on ZPCCMAI01.

So it means I need to cancel release. But I got this message:

Message EA506 - The release of the basis types cannot be reset

Diagnosis
The release can only be reset if the basis type has been released in the current Release. Basis type ZPCCMAI01 has already been released in Release 46C, so this release can no longer be removed.

Procedure

Create a successor to basis type ZPCCMAI01 so this new basis type can be further developed.

What is going on? Since I developed the custom IDOC type ZPCCMAI01 in 4.6C release, I cannot able to modify it anymore because we use SAP ECC 6.0. As the message says I would create a successer for that IDOC type. So to create successer for an IDOC type:

  • WE30
  • Type new IDOC type name ZPCCMAI02
  • Click create button
  • Choose successor and type the previous IDOC type ZPCCMAI01
  • Click OK

Creating new IDOC type by using successor option, you will get the all existing segments and you can add your new segments to the new IDOC type.

It worked.  If you try to cancel release for the first IDOC type, you will get this message this time:

Basic type ZPCCMAI01 has successor ZPCCMAI02
Message no. EA465

Diagnosis
The release can only be canceled if the current basic type does not have a successor.

Basic type ZPCCMAI01, however, has basic type ZPCCMAI02 as a successor.

System Response
Release cannot be canceled.

So old IDOC type became a historical element, you can work on new IDOC type till you upgrade your SAP.

Tags: , , ,

Leave a Reply