‎2007 Mar 09 2:26 PM
Hello ABAPers,
i want to develop a program which will take the Program name as input and output will be list of all variables which are used in the program. i want to use this list for some other purpose. The output list should contain all variables and internal tables and class definitions etc.
can any one give some idea.
Thanks a lot in advance..
Rgds,
Mohan
‎2007 Mar 09 2:27 PM
Take a look at RPR_ABAP_SOURCE_SCAN & use a similar logic.
~Suresh
‎2007 Mar 09 2:28 PM
Mohan,
You can go thru this program for reference ... <b>RPR_ABAP_SOURCE_SCAN</b>
Rgds.
‎2007 Mar 09 2:34 PM
i know this program will scan the report and give the list of lines where we use a particular string. but i want list of variables only. how to find a variable which is used in a program
Rgds,
Mohan