2008 Jan 22 12:26 PM
Hi,
can you please help me in getting all the class names that has implemented a interface.
It is very urgent. Plz help.
Thanks
Vimalraj
2008 Jan 22 1:15 PM
Hello Vimalraj
If you need a programmatic approach create an instance of class CL_OO_INTERFACE for your requested interface name and call its instance method GET_IMPLEMENTING_CLASSES.
Regards,
Uwe
2008 Jan 22 12:36 PM
Hi Vimalraj,
use SE80, select Repository Browser,
select Class/interface
and enter your IF_name.
Press the glasses icon to the right
Then open the folder whch says Implementing classes.
Or use the 'where used button' in the class builder.
simple stuff ??
Frank
2008 Jan 22 1:15 PM
Hello Vimalraj
If you need a programmatic approach create an instance of class CL_OO_INTERFACE for your requested interface name and call its instance method GET_IMPLEMENTING_CLASSES.
Regards,
Uwe
2008 Jan 22 2:01 PM
Thanks very much.
Below is my code but how can i pass my interface name. assume 'IF_WD_VIEW'.
since i am getting null exception.
data: lr_oo TYPE REF TO cl_oo_interface,
lr_cl TYPE seo_relkeys.
CALL METHOD lr_oo->get_implementing_classes
RECEIVING
result = lr_cl.
2008 Jan 22 2:28 PM
2022 Feb 15 4:49 PM
SE16 on Table SEOMETAREL:
for example
CLSNAME = "Z*"
REFCLSNAME = "IF_AMDP_MARKER_HDB"
returns
all the Z classes using interface REFCLSNAME = "IF_AMDP_MARKER_HDB"