Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

table for ABAP sourcecode

Former Member
0 Likes
523

Hi everybody,

in which table can I found the abap sourcecode? I need this information for writing an abap parser. The parser should read some special information out of the source code.

Or is there something else that already exists?

Thanks in advance

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
487

Hi,

there is no simple "table" that contain the source code. You will need to use special function of SAP to retrieve all the information of the abap code.

Have a look in the transaction ABAPDOCU, in ABAP -> special techniq -> dynamic creation ..

Fred

Read only

Former Member
0 Likes
487

Hi

U can use statament READ REPORT to load all abap code of a program.

Max

Read only

Former Member
0 Likes
487

The report information is stored in table TRDIR and you can use the command READ REPORT zprog INTO itab, to read the report content(source code)into table itab.