How to download / upload transport request from / to a server
1. Objective
As a functional consultant having information about ABAP and BASIS issues might be helpful sometimes for you. In this document I would make a small note of steps you need to download / upload transport request from / to a server. You can use this method to make a backup of your customizing in order to transfer them into another system which in not connected to your customizing system for example.
2. Name conversion
If you have a look your request names thru SE01 you will see the names are in AAABCCCCCC format which AAA is System ID, B is K and CCCCCC is a number which increase sequential.
System keeps the request in format XCCCCCC.AAA that X can be K for header of request and R for body of your request. The rest are the same as above.
3. How to download a request
To download a request go thru AL11.Find “DIR_TRANS” and double click on it. Here you will find “cofiles” and “data” in column “File Name” which system keep hear of requests and body into them respectively.
Double click on cofiles row and go into. Find a request of yours which starts with K(as a header) by Ctrl+F and double click on it. Take the name of directory. You will need this path as source of request to download.
Open a new session and run CG3Y tcode to download your request. In opened window put you source path which you took above + “\” + your request name as “source of file on application server”. In target section put a directory path on your computer and the same name as your request’s name for file name.
If you have lots of requests this procedure can be time consume so I recommend to make a list of your requests’ name and do it one by one as quick as possible. Meanwhile there is function module you can develop your own program to speed up procedure in case you need. The function module is ARCHIVFILE_SERVER_TO_CLIENT.
Up to now you have downloaded the header files of request and you must do the name for body files. The difference here is just going into “data” row of “DIR_TRANS” and the prefix of the name is “R”. You can follow the same method to download body of requests also.
4. How to upload a request in a new system
To upload the request into target system you will use CG3Z tcode. in the same method simply upload the requests into new system. I mean specify your local path as source of upload and to take a exact path of target file on application server you can use al11 on new system to see in.
4.1 Import uploaded request into transport request queue on new system
Yes by uploading the request into new system the task is not finished. You must add the requests into queue also. For this issue run STMS and go into your transport request queue. Select “Extras > Other requests > Add”.
Specify “transport request” from list which shows your uploaded requests and select your client as “Target Client”.
Just this
Omid
I would appreciate my colleague, Ms. Arabi, who learned me this method
Hi Omid,
One more good document from you. Nice going.
Thanks,
Madhav.
Thanks a lot Madhav
Hi Omid
Actually I learned it to Ms.Arabi.!
Hi reza,
For sure. I would appreciate you too
Thank you for sharing
You are welcome Mathias
good one. Thanks very much.
Is possible to download a transport request which has not been released yet?
Hi Bruno,
No it is not possible to add a TR which is not released yet, data and cofiles are not created without releasing the TR.
So for creationof data and cofiles you must release it first.
Hi Omid,
This is really good document, i learned lot....keep it up....
Execute RN2LN205N via tcode SE38/SA38 and you can do mass file download.
A very good document, I found it today. Useful for functional consultants who, like me, may have not been exposed to these things before.
Thank you very much Omid for sharing this document.
Only I would like to remark that the process must be done with both the 'cofile file' and the 'data file'.
Transactions CG3Y, CG3Z are released for files of SAP module EH&S only, please read SAP Note 1949906.