Application Development 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: 

Import transport request

former_member355261
Participant
0 Kudos

Hello,

I'm creating a program that checks if a released object exist in target system or not (if the object was imported or not).

So to do so, I used the FM  RFC_READ_TABLE to read the table TADIR in target system.

Everything is working fine. Now, I want to import the objects in target system from my source system after the check.

If a released object doesn't exist in target system, that means that it has not been imported yet, so I want to know how to import the request of this particular object.

Thanks in advance

5 REPLIES 5

Phillip_Morgan
Contributor
0 Kudos

Hi,

If you have the transport request for the object, you can ask administrators to import to the target system.

If you have access to STMS, you can do it yourself.

If you do not have a request (or existing ones contain unwanted objects or are missing some), you can create a new worbanch request and include the desired objects .

...or you could use SAPlink. Needs to be installed on both source and target system.

If I understood the question...

0 Kudos

Hi,

Actually, I want to do this programmatically.

Using an RFC destination and a released request number, I want to import the request in target system programmatically

raymond_giuseppi
Active Contributor
0 Kudos
  • Identify the (last, released) request to import in table E071
  • Insure request is released, else release (FM BAPI_CTREQUEST_RELEASE )
  • Insure request is in import queue (FM TMS_MGR_GREP_TRANSPORT_QUEUE)
  • If required add it to import queue (FM TMS_MGR_FORWARD_TR_REQUEST)
  • Trigger import (FM TMS_MGR_IMPORT_TR_REQUEST)

Regards,

Raymond

kiran_k8
Active Contributor
0 Kudos

Just sheer out of curiosity....I want to know why the Customer comes up with requirements related to TRs ? When SAP standard indeed provides all the required info through STMS and other standard tcodes,what necessitates the need to develop such custom objects whose accuracy will always be in doubt.

K.Kiran.

matt
Active Contributor
0 Kudos

That is my question as well... why?!!!