Application Development and Automation 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: 
Read only

Function or Method to find Include names for Classes

Clemenss
Active Contributor
0 Likes
2,389

Hi friends,

there is a function or class method to find out the include names of class sections but I do not know the name:

From tables seoclass, seocompo, seosubco and the corresponding ~DF tables I fetched the names of classes, methods, attributes,...

I can display everything in a grid and now I want to call editor to display the source. For this I need the report source code name.

How to get it?

TIA,

regards, Clemens

3 REPLIES 3
Read only

Former Member
0 Likes
1,326

Hi Clemens,

Please check the link,

Best Regards.

Read only

Former Member
0 Likes
1,326

hi

please try this

DATA: my_name TYPE abap_abstypename.

my_name = cl_abap_classdescr=>get_class_name( me )

or

FM :- MB_POST_GOODS_MOVEMENT

regards

Prashant

Read only

Clemenss
Active Contributor
0 Likes
1,326

Thanks for the link to my own question. The answer was good if not complete:

FM SEO_CLASS_GET_METHOD_INCLUDES

will get the includes for methods, the rest can be found concatenating <classname><fillup with => and suffix

ccdef

ccimp

ccmac

co

cp

ct

cu

ci

for class-pool, macros, local types etc.

Regards,

Clemens