04-20-2007 3:15 PM
Hi
i need to know whether we can get the source code which is been stored as Source Code (Compressed) format in the table REPOSRC
04-20-2007 3:41 PM
Guru,
I found the following info in a related thread.
TADIR is the table for SAP programs. It contains the repository objects.
JBRGENPROG is the table for generated programs having timestamp details.
REPOSRC is the table for Report source code in compressed format.
Source code to get the source code:
report zrich_0001
no standard page heading
line-size 300.
tables: trdir.
data: begin of s occurs 0,
txt(300) type c,
end of s.
parameters: p_report(30) type c.
start-of-selection.
clear s. refresh s.
<b> read report p_report into s. </b> "Get source into table S
loop at s.
write:/ s-txt.
endloop.
Cheers,
Ben