Skip to Content

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.

Add a comment
10|10000 characters needed characters exceeded

  • 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.

  • 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.. :)

Related questions

0 Answers