08-17-2009 2:01 PM
Hello.
I'm trying to create an overwrite method in the class CL_HREIC_EECONTACT2SRCHV_IMPL but it just won't let me. Every time I try I get the message "The class has not yet been converted to the new class-local types" and I cannot create it.The thing is I've tried to create overwrite methods in diferent classes and sometimes I get the message and sometimes I don't, so it seems to depend on the class I'm trying to enhance, but I don't seem to be able to see any pattern in it.
Any help?
Thanks
08-18-2009 4:41 AM
hai raf
just check the class type wether it is final or not
just check the difference between the classes which do not give error and which give error
there might be some difference
m.a
10-23-2009 8:29 AM
Hello i had the same problem and i couldn't create enhancement pre or post methods.
The message was:
The class has not yet been converted to the new class-local types
Exception of class CX_ENH_OLD_LOCAL_CLASS_TYPES
This can be fixed by entering in SE24 transaction: Change class. From menu choose: Utilities -> Convert class-local types.
After that activate the class.
Now the class can be enhanced.
However this action requires change of the class
Regards,
Rosen
02-11-2016 3:32 AM
Hi Rosen,
PFA image.
I have faced the same issue while creating a overwrite-exit, i fixed that by using your inputs and i added enhancement code in it .Here one more problem i am facing while activating the method.
Saying my enhancement name( ZSET_FOCUS_VIEW_ID) TYPE is unknown.Could you please look into this and help me out.
Regards,
Anand.
07-17-2014 4:39 PM
Hi,
If you do not want to modify the standard class (repair it), you're usually stuck with using implicit extensions.
Best regards,
Guillaume