‎2010 Sep 17 7:41 AM
Hi,
i have a query regarding adding fields to custom idoc type.
To add fields to custom idoc type we are trying to cancel the release from we30, but we are facing error that 'The release of basis type cannot be reset'
When we are trying to cancel release from we31we are facing error 'Error while ressting release of segment z type'.
Kindly suggest the solution to add fields in basic idoc type.
Thanks & regards,
Farheen.
‎2010 Sep 17 4:30 PM
Do not use Cancel Release. Create new IDoc and use successor of the previous one, then add your new fields.
Update logic for your new field if is required.
Regards
‎2010 Sep 20 6:56 AM
'The release of basis type cannot be reset'
this means Idoc definition is released in the old version and the your system current release is higher.
try to create a successor as suggested in the above reply and add new fields.
Regards,
Suresh
‎2010 Sep 21 10:37 AM
Reason that you are getting these errors is that you cannot cancel
the release of an extension made in previous version . Instead you have to create a new extension.
1.It is not possible to change a segment definition which is released in a
lower release.
2.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.
3.For your own segments you can define a new version of the segment
tcode WE31 -> Add Version
Thanks!
‎2010 Sep 21 10:55 AM
HI ,
For adding the new fields to IDOC segments, we need to consider the version changes...
1. Custom idoc is created in the 4.7 version and now ur server is upgraded to ECC 6 in that case , we cant just say cancel release which is already released.
2. Instead of that we need to create the new definition with the latest version.
Regards,
Bharani.
‎2010 Dec 08 3:34 PM
Hi Farheen,
For just adding a new extra field its easy to Add version for your old Z* Segment (Shift+F5)
For your own segments you can define a new version of the segment
tcode WE31 -> Menu Segment -> Add Version ... then add your new field and save it, then release it.
Thanks,
Zahid