How to find include for given method of a class?

Problem: you want to find the name of an include for method of a class.

Solution: This task is easy to achieve thanks to CL_OO_CLASSNAME_SERVICE class.

What you need to do is to open this class in SE80 TCODE, press the test button and execute method GET_METHOD_INCLUDE. This method is static and requires two parameters: name of the class and name of a method. In the result you will receive the name of the include.

Komentowanie jest zakończone.