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

Enhancing a Standard Class with a method using Implicit Enhancement.

Former Member
0 Likes
326

Hi All,

I have enhanced a standard Class with a Custom method using Implicit method. This method is active. But when i refer to this outside the class the System throws an error saying '<Custom Method>' doesnot exist. Is it that the scope of Implicit Enhancements are limited to the same class where it is used or is it possible to use Dynamic calls to such methods.

Any input on this will be of great help.

Thanks in advance.

Regards,

Pavithra

1 REPLY 1
Read only

former_member480923
Active Contributor
0 Likes
255

If you try to get the class method using the patterns in SE38 then you might not be able to get the custom method that you have added by enhancing the Class.

But if you write the method implicitly in ur code like

l_myclass-><custom_objected> exporting ....

importing ....

this will work

Please let me know if this helps

Anirban M.