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 the program code

Former Member
0 Likes
660

Hi Freinds,

is there any table to store the program code , i mean whatever we write in SE 38 will it be stores any data base tables? we have one option to get the code that is READ REPORT INTO ITAB. other than this is there any database tables for this?

Regards,

Tirumal.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
631

Hi Reddy,

Table: REPOSRC there is only programm name but not code by using program name you can get code into your report by using Read Report syntax.

Example,

parameters: p_pname type reposrc-PROGNAME.

data: Begin of table occurs 10,

line(150),

end of table.

read report p_pname into table.

loop at table.

write / table.

endloop.

Plzzzzzz Reward if useful,

Mahi.

4 REPLIES 4
Read only

Former Member
0 Likes
631

Hi,

Check the table REPOSRC.

Regards,

Omkar.

Read only

amit_khare
Active Contributor
0 Likes
631

Refer the thread for details (esp Amit's reply)-

Regards,

Amit

Read only

Former Member
0 Likes
632

Hi Reddy,

Table: REPOSRC there is only programm name but not code by using program name you can get code into your report by using Read Report syntax.

Example,

parameters: p_pname type reposrc-PROGNAME.

data: Begin of table occurs 10,

line(150),

end of table.

read report p_pname into table.

loop at table.

write / table.

endloop.

Plzzzzzz Reward if useful,

Mahi.

Read only

Former Member
0 Likes
631

code is stored in REPOSRC as in RAWSTRING type, this cant be directly read. u will have to use READ REPORT