SAP TMS_MGR_CONFIGURE_CONTROLLER Function Module for
TMS_MGR_CONFIGURE_CONTROLLER is a standard tms mgr configure controller 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 configure controller FM, simply by entering the name TMS_MGR_CONFIGURE_CONTROLLER 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_CONFIGURE_CONTROLLER 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_CONFIGURE_CONTROLLER'".
EXPORTING
IV_DOMAIN_NAME = "
* IV_SETUP_TP = "
* IV_FORCE = "
* IV_DOMAIN_TEXT = "
* IV_CONTR_HOST = "
* IV_CONTR_SERV = "
* IV_CONTR_USER = "
* IV_CONTR_AUTH = "
* IV_CONTR_TEXT = "
* IV_NFS_GROUP = "
* IV_NFS_TEXT = "
IMPORTING
ES_CONFIG = "
EXCEPTIONS
PERMISSION_DENIED = 1 BUILD_DEST_NAME_FAILED = 10 UPDATE_CI_CONFIG_FAILED = 11 SETUP_TP_CONFIG_FAILED = 12 WRITE_DOMAIN_CFG_FAILED = 13 ALREADY_CONFIGURED = 2 RESET_TMS_CONFIG_FAILED = 3 RESET_CI_CONFIG_FAILED = 4 INVALID_CLIENT = 5 MISSING_DOMAIN_NAME = 6 GET_SYSTEM_INFO_FAILED = 7 CREATE_TMSADM_FAILED = 8 UPDATE_TMS_CONFIG_FAILED = 9
IMPORTING Parameters details for TMS_MGR_CONFIGURE_CONTROLLER
IV_DOMAIN_NAME -
Data type: TMSMCONF-DOMNAMOptional: No
Call by Reference: No ( called with pass by value option)
IV_SETUP_TP -
Data type: STMS_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_FORCE -
Data type: STMS_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_DOMAIN_TEXT -
Data type: TMSMCONF-DOMTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONTR_HOST -
Data type: TMSCDES-RFCHOSTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONTR_SERV -
Data type: TMSCDES-RFCSERVOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONTR_USER -
Data type: TMSCDES-RFCUSEROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONTR_AUTH -
Data type: TMSCDES-RFCAUTHOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CONTR_TEXT -
Data type: TMSMCONF-SYSTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_NFS_GROUP -
Data type: TMSMCONF-NFSGRPOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_NFS_TEXT -
Data type: TMSMCONF-NFSTXTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for TMS_MGR_CONFIGURE_CONTROLLER
ES_CONFIG -
Data type: TMSMCONFOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PERMISSION_DENIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BUILD_DEST_NAME_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UPDATE_CI_CONFIG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SETUP_TP_CONFIG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRITE_DOMAIN_CFG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ALREADY_CONFIGURED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RESET_TMS_CONFIG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RESET_CI_CONFIG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_CLIENT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_DOMAIN_NAME -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GET_SYSTEM_INFO_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CREATE_TMSADM_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
UPDATE_TMS_CONFIG_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TMS_MGR_CONFIGURE_CONTROLLER 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_es_config | TYPE TMSMCONF, " | |||
| lv_iv_domain_name | TYPE TMSMCONF-DOMNAM, " | |||
| lv_permission_denied | TYPE TMSMCONF, " | |||
| lv_iv_setup_tp | TYPE STMS_FLAG, " | |||
| lv_build_dest_name_failed | TYPE STMS_FLAG, " | |||
| lv_iv_force | TYPE STMS_FLAG, " | |||
| lv_update_ci_config_failed | TYPE STMS_FLAG, " | |||
| lv_setup_tp_config_failed | TYPE STMS_FLAG, " | |||
| lv_write_domain_cfg_failed | TYPE STMS_FLAG, " | |||
| lv_iv_domain_text | TYPE TMSMCONF-DOMTXT, " | |||
| lv_already_configured | TYPE TMSMCONF, " | |||
| lv_iv_contr_host | TYPE TMSCDES-RFCHOST, " | |||
| lv_reset_tms_config_failed | TYPE TMSCDES, " | |||
| lv_iv_contr_serv | TYPE TMSCDES-RFCSERV, " | |||
| lv_reset_ci_config_failed | TYPE TMSCDES, " | |||
| lv_iv_contr_user | TYPE TMSCDES-RFCUSER, " | |||
| lv_invalid_client | TYPE TMSCDES, " | |||
| lv_iv_contr_auth | TYPE TMSCDES-RFCAUTH, " | |||
| lv_missing_domain_name | TYPE TMSCDES, " | |||
| lv_iv_contr_text | TYPE TMSMCONF-SYSTXT, " | |||
| lv_get_system_info_failed | TYPE TMSMCONF, " | |||
| lv_iv_nfs_group | TYPE TMSMCONF-NFSGRP, " | |||
| lv_create_tmsadm_failed | TYPE TMSMCONF, " | |||
| lv_iv_nfs_text | TYPE TMSMCONF-NFSTXT, " | |||
| lv_update_tms_config_failed | TYPE TMSMCONF. " |
|   CALL FUNCTION 'TMS_MGR_CONFIGURE_CONTROLLER' " |
| EXPORTING | ||
| IV_DOMAIN_NAME | = lv_iv_domain_name | |
| IV_SETUP_TP | = lv_iv_setup_tp | |
| IV_FORCE | = lv_iv_force | |
| IV_DOMAIN_TEXT | = lv_iv_domain_text | |
| IV_CONTR_HOST | = lv_iv_contr_host | |
| IV_CONTR_SERV | = lv_iv_contr_serv | |
| IV_CONTR_USER | = lv_iv_contr_user | |
| IV_CONTR_AUTH | = lv_iv_contr_auth | |
| IV_CONTR_TEXT | = lv_iv_contr_text | |
| IV_NFS_GROUP | = lv_iv_nfs_group | |
| IV_NFS_TEXT | = lv_iv_nfs_text | |
| IMPORTING | ||
| ES_CONFIG | = lv_es_config | |
| EXCEPTIONS | ||
| PERMISSION_DENIED = 1 | ||
| BUILD_DEST_NAME_FAILED = 10 | ||
| UPDATE_CI_CONFIG_FAILED = 11 | ||
| SETUP_TP_CONFIG_FAILED = 12 | ||
| WRITE_DOMAIN_CFG_FAILED = 13 | ||
| ALREADY_CONFIGURED = 2 | ||
| RESET_TMS_CONFIG_FAILED = 3 | ||
| RESET_CI_CONFIG_FAILED = 4 | ||
| INVALID_CLIENT = 5 | ||
| MISSING_DOMAIN_NAME = 6 | ||
| GET_SYSTEM_INFO_FAILED = 7 | ||
| CREATE_TMSADM_FAILED = 8 | ||
| UPDATE_TMS_CONFIG_FAILED = 9 | ||
| . " TMS_MGR_CONFIGURE_CONTROLLER | ||
ABAP code using 7.40 inline data declarations to call FM TMS_MGR_CONFIGURE_CONTROLLER
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 DOMNAM FROM TMSMCONF INTO @DATA(ld_iv_domain_name). | ||||
| "SELECT single DOMTXT FROM TMSMCONF INTO @DATA(ld_iv_domain_text). | ||||
| "SELECT single RFCHOST FROM TMSCDES INTO @DATA(ld_iv_contr_host). | ||||
| "SELECT single RFCSERV FROM TMSCDES INTO @DATA(ld_iv_contr_serv). | ||||
| "SELECT single RFCUSER FROM TMSCDES INTO @DATA(ld_iv_contr_user). | ||||
| "SELECT single RFCAUTH FROM TMSCDES INTO @DATA(ld_iv_contr_auth). | ||||
| "SELECT single SYSTXT FROM TMSMCONF INTO @DATA(ld_iv_contr_text). | ||||
| "SELECT single NFSGRP FROM TMSMCONF INTO @DATA(ld_iv_nfs_group). | ||||
| "SELECT single NFSTXT FROM TMSMCONF INTO @DATA(ld_iv_nfs_text). | ||||
Search for further information about these or an SAP related objects