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

Unable to overwrite method of class CL_STRUCTURE_EXPLOSION_TREE using enhancements

Former Member
0 Likes
764

Hello Experts,

Please help on the below issue.

I have created an enhancement for the class CL_STRUCTURE_EXPLOSION_TREE.

Enhancement DIMP_GENERAL_CL_STRUC_EXP already exists.

ZEI_STRUC_EXP_TREE is the enhancement which I have created.

Now, I am trying to overwrite the constructor method (Edit --> "Enhancement Operations" --> "Insert Overwrite-method").

However, I receive the below message.

 

Executed operation not supported in enhancement mode

Exception of class CX_ENH_OPERATION_NOT_SUPPORTED

Are you aware what can be done to resolve this issue?

I have not found help on google for this issue. Google search on the above exception returns only 5 results.

If I try to overwrite any other method, then I get the below message.

The class has not yet been converted to the new class-local types

Exception of class CX_ENH_OLD_LOCAL_CLASS_TYPES

Convert to local class type option is greyed out (Utlities --> "Convert class-local types").

Thanks.

Hello Experts,

Please help on the below issue.

I have created an enhancement for the class CL_STRUCTURE_EXPLOSION_TREE.

Enhancement DIMP_GENERAL_CL_STRUC_EXP already exists.

ZEI_STRUC_EXP_TREE is the enhancement which I have created.

Now, I am trying to overwrite the constructor method (Edit --> "Enhancement Operations" --> "Insert Overwrite-method").

However, I receive the below message.

 

Executed operation not supported in enhancement mode

Exception of class CX_ENH_OPERATION_NOT_SUPPORTED

Are you aware what can be done to resolve this issue?

I have not found help on google for this issue. Google search on the above exception returns only 5 results.

If I try to overwrite any other method, then I get the below message.

The class has not yet been converted to the new class-local types

Exception of class CX_ENH_OLD_LOCAL_CLASS_TYPES

Convert to local class type option is greyed out (Utlities --> "Convert class-local types").

Thanks.

1 REPLY 1
Read only

Former Member
0 Likes
560

Hello Experts,

Please check & provide any updates on this.

Thanks.