‎2010 Jan 18 7:49 AM
Hi,
I wish to change one of the field's length in an idoc segment. It doesn't allow me to change it as the version is already released.
However, I cannot cancel the release too, as the released version belongs to an earlier version of SAP (4.7).
The current/existing version of the segment is of release 620. The current release is 710, so no change seems to be possible.
I can't create another version too, as it doesn't allow change of the earlier field definitions.
Could someone pls help.
Thanks!
Arthi
‎2010 Jan 18 9:49 AM
‎2010 Jan 18 9:54 AM
Hi Nagaraj,
No, its a custom idoc segment. I'm neither able to delete it and create a fresh one nor able to cancel the earlier release to change the existing version.
‎2010 Jan 18 9:59 AM
Hi Arthi,
Use the latest version and cancel the release and try to change the length...... the new versions will have old fields as well as new fields....
Regards,
Nagaraj
‎2010 Jan 18 10:06 AM
Hi Nagaraj,
I'm unable to cancel the existing release. I debugged and found that cause of the error was because of the difference in the
SAP releases - 620 and 710.
If I create a new version, it doesn't allow modification of the old fields, so only new fields are possible.
‎2010 Jan 18 10:16 AM
Hi,
Yes you are right.. if the edited segment definition has an earlier version, the fields from the earlier version are displayed in gray in the editor and cannot be changed.
You can only attach new fields to the segments but we cannot change.. :(...
Regards,
Nagaraj
‎2010 Apr 08 7:36 PM
Hi,
We have similar issue. In the ORDERS05 IDOC, we had made changes to the segment E1EDP19 to repeat 99 times. Then IDOC extension ZORDERS05 was created. Due to new enhancement pack, the attributes of E1EDP19 were changed to repeat 5 times as per standard SAP.
This did not work for us because segment E1EDP19 should repeat 99 times. So we ran program to update the attributes of this segment. Now E1EDP19 can repeat 99 times.
But when we are processing ZORDERS05, the chagnes are not reflected. The reason could be, even though E1EDP19 was changed, it will not reflect in IDOC extension. For this to reflect, we are trying to cancel release ZORDERS05 once and release again.
I am not able to do this activity. Any pointers to this will be helpful. My requirement is to just cancel release once and release it again. Also while doing so, SAP message pointed me to 844899.
Regards,
Shahu
‎2010 Jan 18 9:50 AM
Hi Arthi,
You can create a new IDOC segment 'WITH REFERENCE TO' old idoc segment.
Reference option will help in tracking the relationships between different segments.
Thanks,
Nisha Vengal.
‎2010 Jun 05 12:28 AM
Hello Arthi,
All you can do in situation is to add additional file for the custom segment by adding a new defination. and make the necessary code chnage inbound and oubound programs so that you will populate and read the data from new filed instead of old filed. if you extend the exsisting Idoc type then there is lot of work involved along with code modifications.
This standard SAP best practice addining additional fileds. I have observed in many cases where SAP is added VARKEY long as new filed with lenght 100char where as old filed is 50 char lenght.
If you need exaples for this kind you can check the table EDISAPPL in field name start wil VAR (I don;t remember the segment name now)
‎2014 Jul 15 4:12 PM
I had the same issue after we upgraded from release 700 to release 740. I tried to cancel the release of a custom segment so I could add a field but I got the error EA259 "Error while resetting release of segment..." The cause was that I was trying to cancel the release of a segment created in release 700, but my current SAP release is 740. The solution is simple: From WE31, enter the segment, then click the Add Version button in the toolbar. You'll get a screen that shows all the fields from the existing release and you can add your new fields at the bottom. Save it, set the release, and you will see that you now have a new released segment in the new SAP release and this is the release that you have to work with from now on.