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

Database table which stores source code of all the abap reports

Former Member
0 Likes
1,140

Hi guru's,

Can you please tell me the Database table which stores all the reports source code.

I mean table should contain all the lines of code in a report .

thanks & regards,

Hemanth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
801

Check table REPOSRC (Report Source Code)

Regards,

Santosh

Hi guru's,

Can you please tell me the Database table which stores all the reports source code.

I mean table should contain all the lines of code in a report .

thanks & regards,

Hemanth

2 REPLIES 2
Read only

Former Member
0 Likes
801

Hi Hemanth,

I am not sure of the exact table name where the program source code are stored.

But you can get the code by using the READ REPORT statement.

Try the below code:


DATA prog TYPE c LENGTH 30. 
DATA itab TYPE TABLE OF string. 

prog = 'YGBTEST06'.  "Put in your program name 

READ REPORT prog INTO itab. 

Reward points if helpful.

Thanks,

Balaji

Read only

Former Member
0 Likes
802

Check table REPOSRC (Report Source Code)

Regards,

Santosh