Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
pmayilvahanan
Participant
Dear all,

In this blog post you will learn about how to download an ABAP program and upload into another SAP system using simple steps.

  1. Find the relevant program and its transport.


Transaction SE38 - Enter the program - Display-Utilities-Version-Version management - find              the latest TR number.

  1. The TR should be downloaded into two file formats. One as Co file and another one as data files.

  2. These files are stored in SAP directory. Use the transaction AL11 and the go to the directory parameter DIR_TRANS and it will have a directory /usr/sap/trans. Inside that we can see  two subfolders called "Cofiles" and "datafiles"



  1. Go to the source system and enter transaction CG3Y

  2. From the TR number, remove the prefix of server name. For Example, if the TR number is ERDK123456, just enter K123456. Enter the source path as /usr/sap/trans/cofiles/K123456.ERD

  3. The destination file path would be your local drive. Make sure you follow the below format for the file name. K123456 followed by Server name followed by DAT. So, the destination file name would be K123456.ERD.DAT




  1. Download the file to your drive.

  2. Do the above mentioned 3 steps to download the Data files.  Data files Prefix will be R instead of K. So the download parameter would be




  1. Bring these files to the system where you want to copy the code.

  2. Use the transaction CG3Z to upload the files in to SAP directories.

  3. The parameters would be,

  4. Do the same thing for Data files as well. Parameters would be,

  5. We need to import these files as a Transport request. Go to the transaction STMS- click on import overview - double click on target system name.

  6. This will give the list of transports which are queued in the system.

  7. In the menu - Extras - Other requests - Add - enter the Co file name and click on continue. For ex: K123456.ERD

  8. Now the file has been added to the import queue as a Transport. If you refresh the screen, you can see the Transport in the list.



  1. In the menu, Request click on Import.

  2. Choose immediate import and in the options make sure that all boxes are unchecked.






After these steps, you will see your program in the target system!

 

Limitation: If the program is having any FM /Method /table definition which is used in the program but stored in the different Transport, it is not automatically copied. You need to download all the relevant transports using the above said method.

 

Please let me know if you need further information on this.

 
9 Comments
Labels in this area