‎2009 Jul 23 11:12 AM
hi exprets!!
i am working in chaning in a class methods. i was given with a class and need to change only in redefined methods. can you please help me how to recognise the redefined methods in class and how to recognize the redefined methods from other methods.
plz help me on the same.
thank you,
Mahesh
‎2009 Jul 23 12:57 PM
Additionally to what Guys suggested, you can also see all methods grouped accordinig to class membership.
In SE24 -> display class -> select Filter icon -> choose Group by interfaces and superclasses .
This is nice way to distinguish where the method really comes from.
Regards
Marcin
‎2009 Jul 23 12:04 PM
In a class, all inherited methods are show in 'display' format and the characters are shown in blue (highlighted). You can't change the name of the method, change parameters or whatever. All other methods are shown in 'edit' mode. Now for all methods inherited from superclass(es) only the redefined methods are shown in 'black' characters in stead of blue. These methods are the ones that are redefined. If you double click on the non-redefined methods, you get a pop-up message, saying that this method is implemented in superclass 'XXX'. For the redefined methods, this will not be the case.
‎2009 Jul 23 12:31 PM
ABAP Objects questions go in the ABAP Objects forum - I've fixed that for you.
Now, go to SE24, display the class. Click on the icon for display object list. On the right side of the screen you'll get a window with a tree in it, showing the components of the class. Methods are divided into a number of sections. One of these is "Redefined methods".
matt
‎2009 Jul 23 12:36 PM
‎2009 Jul 23 12:38 PM
I discovered it by accident. It works for SE38 as well, which is really useful if you've local classes. Gives more room for the tree than SE80!
matt
‎2009 Jul 23 12:57 PM
Additionally to what Guys suggested, you can also see all methods grouped accordinig to class membership.
In SE24 -> display class -> select Filter icon -> choose Group by interfaces and superclasses .
This is nice way to distinguish where the method really comes from.
Regards
Marcin
‎2009 Jul 23 1:11 PM
thanks all of you helping me for the same.
its working now.
mahesh
‎2009 Aug 05 10:49 AM