2009 Jan 22 4:16 AM
Hi,
My requirement is to get a report program name from the user, drill down the report to see how many Includes and subroutines are there in the report and in which level.
I was able to drill down the report for finding the Includes with their level using this key word SCAN ABAP-SOURCE.
Can someone provide me with a code to find the number of subroutines along with the subroutine name and which level they are present.
Thanks in advance.
Harini
2009 Jan 22 4:22 AM
hi try these FMs
GET_GLOBAL_SYMBOLS u2013 Returns all components of a program
GET_INCLUDETAB u2013 Lists all INCLUDEs in a program
кu03B1ятu03B9к
2009 Jan 22 5:30 AM
Hi,
I have already drilled down the report to find out thenumber of includes and their levels.
By using CALL FUNCTION 'GET_GLOBAL_SYMBOLS'
it accepts to search only for a character in the program.
I require it to search for the keyword 'PERFORM' and also find in which level it is defined.
Please let me know how to achieve this.