Skip to Content
Manually Importing Transports into SAP – A practical how-to for beginners
Sometimes you will receive transport files from external developers who have developed custom solutions for SAP and you will be required to import their transports into your SAP System manually. If you are new to SAP Basis like me then you will find this helpful, if your old-hat though its probably nothing you haven’t seen before.
It used to be done the old school way using the “tp”commands like the following:
 
D:\usr\sap\ECD> tp.exe addtobuffer K900237.X20 ECD client=100 pf=\\bansapdevap01\sapmnt\trans\bin\TP_DOMAIN_ECD.PFL
 
However I found that our PFL file just did not seem to be compatible for some reason this command does not work – why I didn’t really spend too much time trying to figure out, instead I figured there must be a better / easier way to do it by now than just command line.
So Instead of doing it through command line I did the following:
     1. Unzipped the transport file sent through by the developer
     2. This gave me two files:
          a. K900237.X20
          b.R900237.X20
     3. Naming convention used is R<6 digits>.<source system> and K<6 digits>.<source system>  (The Source system is the developers source system)
               a. K Type Transport = Cofile – Normally only 1 – 3 KB
               b. R Type Transport = Datafile – Normally more than the Colfile
     4. K900237.X20 was a Cofile –  it doesn’t contain much data, it has the attributes of the data file stored in it. Command or change request information files that include information on the transport type, object classes, required import steps, and post-processing exit codes
     5. R900237.X20 was a Datafile – This contains the actual data for the Transport – what changes will be made in your system.
     6. Go to the Development Server and navigated to the following directory: D:\usr\sap\trans
               a. Copy the K Type Transport to Cofile folder located in D:\usr\sap\trans\cofile
               b. Copy the R Type Transport into the data folder located in D:\usr\sap\trans\data
     7. Go into the SAP ECC Dev System and proceed to transaction STMS
     8. Proceed to import queue (F5 then Select Dev System)
     9. Go to the Extras Menu, Select Other Requests then select Add
/wp-content/uploads/2012/05/stms_1_99338.png
     10. This will show the following screen, enter your target client (in our case it is 100 as the  golden development system)
     11. Then select the Transport request search button
/wp-content/uploads/2012/05/stms_2_99339.png
     12. Search for your transports by entering the * at the start for a wildcard selection and then putting in the  digit code in the transport file – ie *900237      don’t include the .x20 extension, this will likely show up as the transport prefix) and lastly ensure you pump up your number restriction to a number that      will give you the result you are after.

/wp-content/uploads/2012/05/stms_3_99340.png

     13. Find your transport number and select it

/wp-content/uploads/2012/05/stms_4_99341.png

     14. Then you will end up with a screen like below with your transport request filled out, target client and import queue filled out. You can if you want select import again if you are re-importing this transport.

/wp-content/uploads/2012/05/stms_5_99342.png

     15. Click Yes when asked to attach to import queue

/wp-content/uploads/2012/05/stms_6_99343.png

     16. Then once it is attached to the import buffers, import the transport then use the forward transport options from the menu system to send the      transport to QA for testing.

To report this post you need to login first.

10 Comments

You must be Logged on to comment or reply to a post.

  1. Angel Tumbev

    Hi Mapp,

    Do you have any idea what is the authorization to have in STMS—>Extras Menu—> Other Requests —->Add? I do not have that.

    Thanks for the help.

    AT

    (0) 
    1. Tyrone Mapp Post author

      Hi Angel, Sorry I’ve only just gotten back to you, was a busy year last year 🙂 I run in Dev with SAP_ALL / SAP_NEW so don’t have any authorization issues when dealing with transports et-al

      Cheers

      (0) 
  2. Mohammed Ezzat

    Dear Sir

    many thanks to you , i follow steps in document , i success in importing the request , but when i open Tcode STMS , and used my way to import them

    ABDK902529 ( from DEV server )

    ABDK902519 ( from QAS server )

    as you in statue it take along time to execute , and still running .

    my to import as the following :

    /wp-content/uploads/2014/05/3_457167.png

    /wp-content/uploads/2014/05/4_457168.png

    finally it works now

    (0) 
    1. Deidre Logan

      But how do we add a set of transports to the Import buffer without using scripting of the tp addtobuffer command.  STMS only allows you to do a single transport at a time.

      This is very cumbersome when you have more than 5 transports….

      (0) 
  3. Jelena Perfiljeva

    Thanks for the blog! We have no Basis person on staff and I just got mystery files R… and K… by email. Because, you know, I’m an ABAPer and this has something to do with ABAP, so somehow I’m supposed to know what to do with those files. But with the blogs like this who needs Basis, he-he. 🙂

    Just a couple of hints for the “shadow Basis” folks:

    – you can use transaction CG3Z to copy the files from your PC to the directories mentioned

    – directories may look different in your system, go to transaction AL11 and look for DIR_TRANS there (or similar) to confirm

    – if you just need to import the transport into current client, instead of STMS transaction use STMS_IMPORT, it will save you a step and take you right to the transport queue.

    Thanks again!

    (0) 
  4. Michael Flash

    thanks for the blog. I am new and i do know this process. The question I would like to ask though is after you “forward” to QA, is there any way for this manual transport to be added to the production queue?

    If you transported a Dev transport into QA and execute in QA, it will then appear in production. this doesn’t happen when you are using manually added transports. Is there any way to make this happen?

    (0) 
    1. Jelena Perfiljeva

      You should be able to add those transports manually to QA or PRD queue the usual way (Add Request menu). But the way we handle this is we only put these transports into DEV system. Then we create a transport of copies (TOC) and use only that TOC to move the changes to QAS and PRD. This also covers our internal audit requirement since our transports have to reference the ticket numbers. And it’s not unusual that the objects actually need to be modified slightly after the import.

      Have you ever wondered why the transports properly created in DEV magically appear in QA and PRD queue? Look at their Properies tab. Most likely they are assigned to the “Target Group” while these “foreign” transports are probably imported into one client.

      (0) 

Leave a Reply