Application Development 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: 

REPOSRC table

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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