‎2008 Apr 07 6:57 AM
Hi, At run time how can I get the list of all the components of a program Like:
Includes, Subroutines, Text Elements, Dictioinary Structures, Fields, function modules etc.
I need to download the text of all these components used in any program.
Regards,
Deepesh Jain
‎2008 Apr 07 7:02 AM
Hi ,
You can try one thing . You can declare some variables like your runtime components. Store the values of runtime components in your variables and take those variable in your output.
Regards
Sourabh
‎2008 Apr 07 10:10 AM
Hi,
I have a list of programs during execution in a dev class. For each program entry out of that list, I want the components:
Ex) Dev. class contains these two programs:
Ytest1
Ytest2
Now what all elements this ytest1 have i.e. fields, function modules, includes, subroutines I need a list of them.
Regards,
Deepesh
‎2008 Apr 07 7:04 AM
Hi,
At RUN TIME. the only way to see all theses components you will have to debug the program
It's the only way to see what you are looking for
Regards
‎2008 Apr 07 9:36 AM
Hi,
Refer to the table SYST. It contains all the field names like sy-cprog for calling program etc.
Either debug the program and see these values or you can create program variables to store these values.
Regards,
Renjith Michael.
‎2008 Apr 07 10:09 AM
Hi,
I have a list of programs during execution in a dev class. For each program entry out of that list, I want the components:
Ex) Dev. class contains these two programs:
Ytest1
Ytest2
Now what all elements this ytest1 have i.e. fields, function modules, includes, subroutines I need a list of them.
‎2008 Apr 07 10:34 AM
Essentially you want to download the object list that SE80 shows you in the left window? Maybe you can find out how SE80 splits a program into its components. I would assume it is using statement SCAN ABAP-SOURCE ... somewhere down below.
Please tell us once you found out!
Cheers
Thomas