09-09-2008 2:37 PM
Hi,
Does anyone know how to load ABAP source code to an internal table.
Indeed, I'd like to write a tool to analyse my code and generate a calling tree.
The "SCAN ABAP-SOURCE" instruction seems not to bo allowed in programs.
Do you know others instruction to do that ?
If not, can someone tell me where programs and function modules are stored (which tables) ?
Thank you for your help,
Quentin
09-09-2008 2:39 PM
Use statement READ REPORT to read ABAP sources. It does not have all the functionality of SCAN ABAP-SOURCE though.
Thomas
09-09-2008 2:39 PM
Hi,
Please check the table TADIR for programs and TFDIR for function Modules.
Regards,
Swapna.
09-09-2008 2:39 PM
Use statement READ REPORT to read ABAP sources. It does not have all the functionality of SCAN ABAP-SOURCE though.
Thomas
09-09-2008 2:40 PM
Hello
DATA: PROGTXT(72) TYPE C OCCURS 0 WITH HEADER LINE.
READ REPORT REP_NAME INTO PROGTXT.
09-09-2008 2:41 PM
09-09-2008 2:57 PM