"
Supported by

How many includes is a class made of?

No matter how many times things go around in ABAP, everything ends up in SE38. Even the methods of the ABAP classes are saved in includes.

Sometimes, when there is a dump, it says the problem is, for example, here: CL_MESSAGE_HELPER=============CM001.

When something like this comes up you know it involves a method of the class CL_MESSAGE_HELPER, but you don’t know which method. But this strange name is actually an include which can be accessed directly via SE38.

If you want to do the opposite, i.e. know which includes are in a method, you can use the following function: SEO_CLASS_GET_METHOD_INCLUDES. Give it the name of a class and it returns the list of methods and the respective include.

Thanks to Ricardo Monteiro for the tip.
Thanks to Rochelle for the photo.

Greetings from Abapinho.

Deixe um comentário


About Abapinho
Abapinho runs on WordPress
Articles (RSS) e Comments (RSS).