SAP TMS_MGR_TRANSMIT_TR_QUEUE Function Module for
TMS_MGR_TRANSMIT_TR_QUEUE is a standard tms mgr transmit tr queue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for tms mgr transmit tr queue FM, simply by entering the name TMS_MGR_TRANSMIT_TR_QUEUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: TMSM
Program Name: SAPLTMSM
Main Program: SAPLTMSM
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function TMS_MGR_TRANSMIT_TR_QUEUE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'TMS_MGR_TRANSMIT_TR_QUEUE'".
EXPORTING
* IV_TAR_SYS = "
* IV_IGNORE_LOCK = "
* IV_WITHOUT_FTP = "
* IV_FTP_ONLY = "
* IV_MONITOR = 'X' "
* IV_VERBOSE = "
* IT_REQUESTS = "
* IT_PROJECTS = "
* IV_TAR_DOM = "
* IV_SRC_SYS = "
* IV_SRC_GRP = "
* IV_SRC_DOM = "
* IV_LOC_GRP = 'X' "
* IV_EXT_GRP = 'X' "Find in external groups
* IV_READ_ONLY = 'X' "
* IV_USE_LIST = "
IMPORTING
ES_TP_DIRTSTS = "
CHANGING
* CS_TP_TRQUE = "
EXCEPTIONS
READ_CONFIG_FAILED = 1 SYSTEM_NOT_FOUND = 2 GROUP_NOT_FOUND = 3 NO_SOURCE_SYSTEMS_FOUND = 4 FEATURE_NOT_AVAILABLE = 5 IDENTICAL_GROUPS = 6 CHECK_GROUP_CONFIG_FAILED = 7 INVALID_GROUP_CONFIG = 8
IMPORTING Parameters details for TMS_MGR_TRANSMIT_TR_QUEUE
IV_TAR_SYS -
Data type: TMSCSYS-SYSNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_IGNORE_LOCK -
Data type: STMS_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_WITHOUT_FTP -
Data type: STMS_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_FTP_ONLY -
Data type: STMS_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MONITOR -
Data type: STMS_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_VERBOSE -
Data type: STMS_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_REQUESTS -
Data type: STMS_TR_REQUESTSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_PROJECTS -
Data type: TRPROJECTSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TAR_DOM -
Data type: TMSCDOM-DOMNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SRC_SYS -
Data type: TMSCSYS-SYSNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SRC_GRP -
Data type: TMSCNFS-NFSGRPOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SRC_DOM -
Data type: TMSCDOM-DOMNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_LOC_GRP -
Data type: STMS_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_EXT_GRP - Find in external groups
Data type: STMS_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_READ_ONLY -
Data type: STMS_FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_USE_LIST -
Data type: STMS_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TMS_MGR_TRANSMIT_TR_QUEUE
ES_TP_DIRTSTS -
Data type: STMS_TP_DIRTSTSOptional: No
Call by Reference: Yes
CHANGING Parameters details for TMS_MGR_TRANSMIT_TR_QUEUE
CS_TP_TRQUE -
Data type: STMS_TP_TRQUEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
READ_CONFIG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GROUP_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SOURCE_SYSTEMS_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FEATURE_NOT_AVAILABLE -
Data type:Optional: No
Call by Reference: Yes
IDENTICAL_GROUPS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CHECK_GROUP_CONFIG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_GROUP_CONFIG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TMS_MGR_TRANSMIT_TR_QUEUE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_iv_tar_sys | TYPE TMSCSYS-SYSNAM, " | |||
lv_cs_tp_trque | TYPE STMS_TP_TRQUE, " | |||
lv_es_tp_dirtsts | TYPE STMS_TP_DIRTSTS, " | |||
lv_read_config_failed | TYPE STMS_TP_DIRTSTS, " | |||
lv_iv_ignore_lock | TYPE STMS_FLAG, " | |||
lv_iv_without_ftp | TYPE STMS_FLAG, " | |||
lv_iv_ftp_only | TYPE STMS_FLAG, " | |||
lv_iv_monitor | TYPE STMS_FLAG, " 'X' | |||
lv_iv_verbose | TYPE STMS_FLAG, " | |||
lv_it_requests | TYPE STMS_TR_REQUESTS, " | |||
lv_it_projects | TYPE TRPROJECTS, " | |||
lv_iv_tar_dom | TYPE TMSCDOM-DOMNAM, " | |||
lv_system_not_found | TYPE TMSCDOM, " | |||
lv_iv_src_sys | TYPE TMSCSYS-SYSNAM, " | |||
lv_group_not_found | TYPE TMSCSYS, " | |||
lv_iv_src_grp | TYPE TMSCNFS-NFSGRP, " | |||
lv_no_source_systems_found | TYPE TMSCNFS, " | |||
lv_iv_src_dom | TYPE TMSCDOM-DOMNAM, " | |||
lv_feature_not_available | TYPE TMSCDOM, " | |||
lv_iv_loc_grp | TYPE STMS_FLAG, " 'X' | |||
lv_identical_groups | TYPE STMS_FLAG, " | |||
lv_iv_ext_grp | TYPE STMS_FLAG, " 'X' | |||
lv_check_group_config_failed | TYPE STMS_FLAG, " | |||
lv_iv_read_only | TYPE STMS_FLAG, " 'X' | |||
lv_invalid_group_config | TYPE STMS_FLAG, " | |||
lv_iv_use_list | TYPE STMS_FLAG. " |
  CALL FUNCTION 'TMS_MGR_TRANSMIT_TR_QUEUE' " |
EXPORTING | ||
IV_TAR_SYS | = lv_iv_tar_sys | |
IV_IGNORE_LOCK | = lv_iv_ignore_lock | |
IV_WITHOUT_FTP | = lv_iv_without_ftp | |
IV_FTP_ONLY | = lv_iv_ftp_only | |
IV_MONITOR | = lv_iv_monitor | |
IV_VERBOSE | = lv_iv_verbose | |
IT_REQUESTS | = lv_it_requests | |
IT_PROJECTS | = lv_it_projects | |
IV_TAR_DOM | = lv_iv_tar_dom | |
IV_SRC_SYS | = lv_iv_src_sys | |
IV_SRC_GRP | = lv_iv_src_grp | |
IV_SRC_DOM | = lv_iv_src_dom | |
IV_LOC_GRP | = lv_iv_loc_grp | |
IV_EXT_GRP | = lv_iv_ext_grp | |
IV_READ_ONLY | = lv_iv_read_only | |
IV_USE_LIST | = lv_iv_use_list | |
IMPORTING | ||
ES_TP_DIRTSTS | = lv_es_tp_dirtsts | |
CHANGING | ||
CS_TP_TRQUE | = lv_cs_tp_trque | |
EXCEPTIONS | ||
READ_CONFIG_FAILED = 1 | ||
SYSTEM_NOT_FOUND = 2 | ||
GROUP_NOT_FOUND = 3 | ||
NO_SOURCE_SYSTEMS_FOUND = 4 | ||
FEATURE_NOT_AVAILABLE = 5 | ||
IDENTICAL_GROUPS = 6 | ||
CHECK_GROUP_CONFIG_FAILED = 7 | ||
INVALID_GROUP_CONFIG = 8 | ||
. " TMS_MGR_TRANSMIT_TR_QUEUE |
ABAP code using 7.40 inline data declarations to call FM TMS_MGR_TRANSMIT_TR_QUEUE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single SYSNAM FROM TMSCSYS INTO @DATA(ld_iv_tar_sys). | ||||
DATA(ld_iv_monitor) | = 'X'. | |||
"SELECT single DOMNAM FROM TMSCDOM INTO @DATA(ld_iv_tar_dom). | ||||
"SELECT single SYSNAM FROM TMSCSYS INTO @DATA(ld_iv_src_sys). | ||||
"SELECT single NFSGRP FROM TMSCNFS INTO @DATA(ld_iv_src_grp). | ||||
"SELECT single DOMNAM FROM TMSCDOM INTO @DATA(ld_iv_src_dom). | ||||
DATA(ld_iv_loc_grp) | = 'X'. | |||
DATA(ld_iv_ext_grp) | = 'X'. | |||
DATA(ld_iv_read_only) | = 'X'. | |||
Search for further information about these or an SAP related objects