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

Where SAP ABAP Programs Saved in application server

Former Member
0 Likes
2,837

Hi,

When we made the ABAP report's through SE38, then this will be saved in Packages...

I want the dump of All Sap ABAP programs in once.

Is there any path on application server / database, from where i can download all the code files..

Plz guide..

Hi,

When we made the ABAP report's through SE38, then this will be saved in Packages...

I want the dump of All Sap ABAP programs in once.

Is there any path on application server / database, from where i can download all the code files..

Plz guide..

7 REPLIES 7
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,007

The programs are stored as COFILES & DATA files in the DIR_TRANS folder of the app server.

Read only

0 Likes
2,007

(subfolders COFILE and DATA of DIR_TRANS contain the transport requests once they are released, and they must exist in your system, check via AL11 to get the actual name on server, e.g. /usr/sap/trans/cofiles.)

Program sources are stored in a cluster like (comrpessed) table (tables REPOSRC and REPOTEXT and for older versions tables D010S, D010SINF, D010T, D010TINF) and so not easily downloadable.

You can create a report that read thru the abap program header table (TRDIR or via TADIR ) and execute the [READ REPORT|http://help.sap.com/abapdocu_70/en/ABAPREAD_REPORT.htm] statement to load source into an internal table, then you can download it

Check sample at wiki like [Download given set of programs into a folder on presentation server|http://wiki.sdn.sap.com/wiki/display/Snippets/Downloadgivensetofprogramsintoafolderonpresentationserver]

Regards,

Raymond

Read only

Former Member
0 Likes
2,007

Hi Suhas,

I did not find that folder in application server.

I am using ECC 6.0,

Please let me know, where i can find those ABAP program saved on the application server.

Thanks in advanced Suhas.

Read only

0 Likes
2,007

Who are we talking to, Sachin or Anil?

Programs are not saved in the app server, rather in database table REPOSRC as part of the SAP DDIC.

What do you actually want, download source code of ABAP programs? -> FAQ, search the forums

download a list of ABAP programs? -> very basic, please (re)search yourself before asking

Thomas

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,007

The source code of a program is stored in the REPOSRC table as RAWSTRING format.

The released transport details are stored as COFILES & DATA files in the app server. Ask your Basis team to know the correct app server folder.

Read only

Former Member
0 Likes
2,007

Hi Thomas,

Thanks for your help.

I want to just know where exactly codes are stored in SAP R/3?

For example,

If I create a Z program in SE38:


Write: 'hello world'.

Where this Z program and its codes will be stored?

Thanks in advance Thomas.

Read only

ThomasZloch
Active Contributor
0 Likes
2,007

Now I'm getting abuse reports that this is a FAQ, and it is. Use the information given in this thread, I'm now closing it for you.

Also, please decide which user ID to use for your questions, don't change them within the same thread.

Thomas