10-11-2006 10:25 AM
Hi experts,
I have a requirement in my script like this i have a inspection method. based on this inspection method i have to get class and class type. and from which table we can get this class and class type based on inspection method. please suggest the solution.
Thanks in advance
Thanks and Regards
D.Ramesh
11-09-2006 5:44 PM
Hi Sai,
Have you tried Run Time Type services? If you need to perform some interspection of a class, you can use one of two classes:
CL_ABAP_OBJECTDESCR or
CL_ABAP_REFDESCR
there are several methods you can use:
Describe_by_Name
Describe_by_Object_Ref
describe_by_data_ref
describe_by_data
One of these should do the trick...it just depends on what situation you are in.
Hope this helps!
Quack