SAP TMS_MGR_DIST_TMS_CONFIG Function Module for









TMS_MGR_DIST_TMS_CONFIG is a standard tms mgr dist tms config 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 dist tms config FM, simply by entering the name TMS_MGR_DIST_TMS_CONFIG 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_DIST_TMS_CONFIG 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_DIST_TMS_CONFIG'"
EXPORTING
* IV_ALL_SYSTEMS = "
* IV_CE_FORCE = "
* IV_EXT_FORCE = "
* IV_EXT_SELFORCE = GC_CI_DIST_ALL "Char20
* IT_SYSTEMS = "TMS External: System Table (TMSCSYSLST)
* IV_DIST_FOREIGN = 'X' "
* IV_ASYNCHRON = ' ' "Asynchr. start
* IV_CI_CONF = 'X' "
* IV_TP_CONF = 'X' "
* IV_CE_CONF = 'X' "
* IV_EXT_CONF = ' ' "Char20
* IV_CI_FORCE = "
* IV_TP_FORCE = "

IMPORTING
ES_EXCEPTION = "TMS CI: Alert Structure
ET_CORRLOG = "

EXCEPTIONS
ALERT = 1 NOTHING_DONE = 2 SET_DOMAIN_MODIFIED_FAILED = 3 DIST_CI_CONF_FAILED = 4 DIST_TP_CONF_FAILED = 5
.



IMPORTING Parameters details for TMS_MGR_DIST_TMS_CONFIG

IV_ALL_SYSTEMS -

Data type: STMS_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CE_FORCE -

Data type: STMS_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_EXT_FORCE -

Data type: STMS_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_EXT_SELFORCE - Char20

Data type: TMSCSYS-DISTSTATES
Default: GC_CI_DIST_ALL
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_SYSTEMS - TMS External: System Table (TMSCSYSLST)

Data type: TMSCSYSLST_TYP
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_DIST_FOREIGN -

Data type: STMS_FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ASYNCHRON - Asynchr. start

Data type: STMS_FLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CI_CONF -

Data type: STMS_FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_TP_CONF -

Data type: STMS_FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CE_CONF -

Data type: STMS_FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_EXT_CONF - Char20

Data type: TMSCSYS-DISTSTATES
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CI_FORCE -

Data type: STMS_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_TP_FORCE -

Data type: STMS_FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for TMS_MGR_DIST_TMS_CONFIG

ES_EXCEPTION - TMS CI: Alert Structure

Data type: STMSCALERT
Optional: No
Call by Reference: Yes

ET_CORRLOG -

Data type: SPROT_U_TAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ALERT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOTHING_DONE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

SET_DOMAIN_MODIFIED_FAILED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DIST_CI_CONF_FAILED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DIST_TP_CONF_FAILED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for TMS_MGR_DIST_TMS_CONFIG 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_alert  TYPE STRING, "   
lv_es_exception  TYPE STMSCALERT, "   
lv_iv_all_systems  TYPE STMS_FLAG, "   
lv_iv_ce_force  TYPE STMS_FLAG, "   
lv_iv_ext_force  TYPE STMS_FLAG, "   
lv_iv_ext_selforce  TYPE TMSCSYS-DISTSTATES, "   GC_CI_DIST_ALL
lv_it_systems  TYPE TMSCSYSLST_TYP, "   
lv_et_corrlog  TYPE SPROT_U_TAB, "   
lv_nothing_done  TYPE SPROT_U_TAB, "   
lv_iv_dist_foreign  TYPE STMS_FLAG, "   'X'
lv_iv_asynchron  TYPE STMS_FLAG, "   ' '
lv_set_domain_modified_failed  TYPE STMS_FLAG, "   
lv_iv_ci_conf  TYPE STMS_FLAG, "   'X'
lv_dist_ci_conf_failed  TYPE STMS_FLAG, "   
lv_iv_tp_conf  TYPE STMS_FLAG, "   'X'
lv_dist_tp_conf_failed  TYPE STMS_FLAG, "   
lv_iv_ce_conf  TYPE STMS_FLAG, "   'X'
lv_iv_ext_conf  TYPE TMSCSYS-DISTSTATES, "   SPACE
lv_iv_ci_force  TYPE STMS_FLAG, "   
lv_iv_tp_force  TYPE STMS_FLAG. "   

  CALL FUNCTION 'TMS_MGR_DIST_TMS_CONFIG'  "
    EXPORTING
         IV_ALL_SYSTEMS = lv_iv_all_systems
         IV_CE_FORCE = lv_iv_ce_force
         IV_EXT_FORCE = lv_iv_ext_force
         IV_EXT_SELFORCE = lv_iv_ext_selforce
         IT_SYSTEMS = lv_it_systems
         IV_DIST_FOREIGN = lv_iv_dist_foreign
         IV_ASYNCHRON = lv_iv_asynchron
         IV_CI_CONF = lv_iv_ci_conf
         IV_TP_CONF = lv_iv_tp_conf
         IV_CE_CONF = lv_iv_ce_conf
         IV_EXT_CONF = lv_iv_ext_conf
         IV_CI_FORCE = lv_iv_ci_force
         IV_TP_FORCE = lv_iv_tp_force
    IMPORTING
         ES_EXCEPTION = lv_es_exception
         ET_CORRLOG = lv_et_corrlog
    EXCEPTIONS
        ALERT = 1
        NOTHING_DONE = 2
        SET_DOMAIN_MODIFIED_FAILED = 3
        DIST_CI_CONF_FAILED = 4
        DIST_TP_CONF_FAILED = 5
. " TMS_MGR_DIST_TMS_CONFIG




ABAP code using 7.40 inline data declarations to call FM TMS_MGR_DIST_TMS_CONFIG

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 DISTSTATES FROM TMSCSYS INTO @DATA(ld_iv_ext_selforce).
DATA(ld_iv_ext_selforce) = GC_CI_DIST_ALL.
 
 
 
 
DATA(ld_iv_dist_foreign) = 'X'.
 
DATA(ld_iv_asynchron) = ' '.
 
 
DATA(ld_iv_ci_conf) = 'X'.
 
 
DATA(ld_iv_tp_conf) = 'X'.
 
 
DATA(ld_iv_ce_conf) = 'X'.
 
"SELECT single DISTSTATES FROM TMSCSYS INTO @DATA(ld_iv_ext_conf).
DATA(ld_iv_ext_conf) = ' '.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!