‎2007 Dec 19 7:09 AM
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.
‎2007 Dec 19 7:25 AM
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.
‎2007 Dec 19 7:12 AM
‎2007 Dec 19 7:18 AM
‎2007 Dec 19 7:25 AM
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.
‎2007 Dec 19 7:31 AM
code is stored in REPOSRC as in RAWSTRING type, this cant be directly read. u will have to use READ REPORT