cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module for adding TR into Import Queue of Remote system

Hi Experts,

Wanted to know if there is already a predefined function module in solman which can add a TR into import queue of a satellite system through TMW RFC. Looking for a function module which imports TR number, target system and target client.

0 Kudos

Hello Experts,

Any answers for this?

Sandra_Rossi
Active Contributor
0 Kudos

Hello. I hope you will give a feedback to people who try to help you. I still see no request for additional details about my reply.

Anyway, moderator alerted about "cross-posting" (posting twice the same question).

0 Kudos

This is not the same question at all. Please check the other question where you had given the answer. It was about import and this is adding the TR to buffer remotely. Anyways, the TMS_MGR_IMPORT_TR_REQUEST does not serve the purpose at all. This FM is very generic and is not remote enabled. I already knew about this function module and it’s not what I wanted for sure. Thanks anyways. If you have a direct answer to the question (not a generic answer), please let me know. Cheers!!

Sandra_Rossi
Active Contributor
0 Kudos

Thank you for the feedback.

You're right. I have a custom program which I use to import transport requests. It also adds TRs to the import queue. If you had the opportunity to create a custom RFC-enabled function module to call all the relevant TMS function modules, that would have been easy. Too bad. Let see if someone knows the dedicated Solution Manager RFC-enabled function module.

By the way, did you try to run a ST05 RFC trace to see the function module(s) called?

0 Kudos

Thanks for the response.

I did not try tracing it yet. I have done the same and created the RFC enabled FM for import and that’s working fine. It is able to import when the TR is in the buffer. There is a FM TMS_MGR_TRANSMIT_TR_QUEUE but it’s not working for me.

Sandra_Rossi
Active Contributor

To add the TR to the import queue, my 7.52 program calls sequentially TMS_CFG_GET_DOMAIN_NAME, TMS_MGR_GREP_TRANSPORT_QUEUE and then TMS_MGR_FORWARD_TR_REQUEST.

FORM add_tr USING gv_system gv_request.

  CALL FUNCTION 'TMS_CFG_GET_DOMAIN_NAME'
    EXPORTING
      iv_system      = gv_system
    IMPORTING
      ev_domain_name = gv_domain.

  CALL FUNCTION 'TMS_MGR_GREP_TRANSPORT_QUEUE'
    EXPORTING
      iv_system                = gv_system
      iv_domain                = gv_domain
      iv_request               = gv_request
    EXCEPTIONS
      OTHERS                   = 99.

  CALL FUNCTION 'TMS_MGR_FORWARD_TR_REQUEST'
    EXPORTING
      iv_request      = gv_request
      iv_target       = gv_system
      iv_tardom       = gv_domain
      iv_tarcli       = ' '
      iv_source       = gv_system
      iv_srcdom       = gv_domain
      iv_import_again = 'X'
      iv_monitor      = 'X'
      iv_verbose      = ' '
    EXCEPTIONS
      OTHERS          = 99.

Thanks a lot!! this might solve this issue.. 🙂

Accepted Solutions (0)

Answers (0)