Application Development 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: 

Check if method redefined during RT

Former Member
0 Kudos

Hello,

There is a way to know by code if some method of class was redefined.

Thanks,

Joy

1 ACCEPTED SOLUTION

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Joy,

You can use the FM SEO_METHOD_GET_DETAIL to check if the method is inherited.

BR,

Suhas

4 REPLIES 4

kesavadas_thekkillath
Active Contributor
0 Kudos

Please be more clear.

0 Kudos

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

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Joy,

You can use the FM SEO_METHOD_GET_DETAIL to check if the method is inherited.

BR,

Suhas

Former Member
0 Kudos

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