2010 Aug 09 12:49 PM
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..
2010 Aug 09 1:04 PM
The programs are stored as COFILES & DATA files in the DIR_TRANS folder of the app server.
2010 Aug 09 1:39 PM
(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
2010 Aug 09 1:20 PM
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.
2010 Aug 09 1:27 PM
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
2010 Aug 09 1:50 PM
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.
2010 Aug 09 1:45 PM
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.
2010 Aug 09 3:16 PM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |