02-23-2012 6:40 AM
Hello,
There is a way to know by code if some method of class was redefined.
Thanks,
Joy
02-23-2012 7:40 AM
Hello Joy,
You can use the FM SEO_METHOD_GET_DETAIL to check if the method is inherited.
BR,
Suhas
02-23-2012 7:17 AM
02-23-2012 7:20 AM
Hello Keshav ,
I have program that generate class / methods and I want before I am doing regenerate to check if method was
Redefined ,how can I do that ?
Thanks,
Joy
02-23-2012 7:40 AM
Hello Joy,
You can use the FM SEO_METHOD_GET_DETAIL to check if the method is inherited.
BR,
Suhas
02-24-2012 11:42 AM
You can also try with class "CL_OO_CLASS_COMPONENTS_FLAT". Refer to the attribute CL_OO_CLASS_COMPONENTS_FLAT->METHODS to get the list of methods along with its properties.
Regards, Vinod
PS : Parameter to CONSTRUCTOR is class name, so extracting properties only for a specific method is not possible.
Edited by: Vinod Kumar on Feb 24, 2012 5:12 PM