‎2008 Nov 18 11:26 AM
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
‎2008 Nov 18 11:32 AM
‎2008 Nov 18 11:37 AM
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
‎2008 Nov 20 3:43 PM
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