Application Development 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: 

Error when trying to extend custom idoc

Former Member
0 Kudos
302

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

4 REPLIES 4

Former Member
0 Kudos
68

solved it myself

0 Kudos
68

Hi,

How did you solve the problem, cos I'm getting the same error message?

Thanks.

Reuben.

0 Kudos
68

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

Former Member
0 Kudos
68

solved it myself