2007 Dec 18 3:10 AM
Hi ladies and gentlemen,
I am experiencing problems when I try to extand a custom idoc segment.
I created a custom idoc (ZBEVINBDEL) with 3 segments, generated it and have tested it successfully. Now the users have come back and requested additional fields. When I tried to modify the custom segment (after cancelling the segment and idoc status' from released status, I got the message 'Segment type Zxxxxx.. cannot be changed' (this is because the idoc segment type has been flagged as generated).
So I thought I'll create an extension to the corresponding segment. I've created the extension segment in WE31, but when I try to create the extension (ZBEVINBDELX02), and try to create as new to the linked type ZBEVINBDEL, I get another error message 'Action is not possible for generated idoctypes'.
Has anybody experienced this problem before, and could you give me an explanation on how to get around these problems, either for changing the segment or extending one. If the answer lies within BDBG, please explain in detail.
Cheers,
Steve
2008 Jan 30 12:24 AM
2008 Apr 22 3:29 PM
Hi,
How did you solve the problem, cos I'm getting the same error message?
Thanks.
Reuben.
2008 Apr 23 12:01 AM
Reuben,
In the end, I didn't need to touch the extension. I was able to achieve my goal by adding the new fields in my custom structure in SE11, and the new fields came into the idoc automatically. Then I just had to add code to handle the new fields in my Function module.
Good Luck,
Steve
2008 Jan 30 12:24 AM