Application Development and Automation 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: 
Read only

Adding fields to custom idoc type

Former Member
0 Likes
997

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.

5 REPLIES 5
Read only

Former Member
0 Likes
716

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

Read only

0 Likes
716

'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

Read only

Former Member
0 Likes
716

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!

Read only

BH2408
Active Contributor
0 Likes
716

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.

Read only

Former Member
0 Likes
716

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