SAP TMS_CI_GET_SYSTEMLIST Function Module for
TMS_CI_GET_SYSTEMLIST is a standard tms ci get systemlist 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 ci get systemlist FM, simply by entering the name TMS_CI_GET_SYSTEMLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: TMSC
Program Name: SAPLTMSC
Main Program: SAPLTMSC
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TMS_CI_GET_SYSTEMLIST 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_CI_GET_SYSTEMLIST'".
EXPORTING
* IV_DOMAIN = "
* IV_SYSTEM = "
* IV_PLUS_VIRTUAL = "
* IV_PLUS_EXTERNAL = "
* IV_PLUS_FOREIGN = "
* IV_ONLY_ACTIVE = "
* IV_LANGUAGE = SY-LANGU "SAP R/3 System, Current Language
TABLES
* TT_SYSLST = "
EXCEPTIONS
TMS_IS_NOT_ACTIVE = 1 INVALID_CI_CONF_WITH_DOMAIN = 2 NO_SYSTEMS = 3
IMPORTING Parameters details for TMS_CI_GET_SYSTEMLIST
IV_DOMAIN -
Data type: TMSCSYS-DOMNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SYSTEM -
Data type: TMSCSYS-SYSNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PLUS_VIRTUAL -
Data type: STMSC-FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PLUS_EXTERNAL -
Data type: STMSC-FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_PLUS_FOREIGN -
Data type: STMSC-FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_ONLY_ACTIVE -
Data type: STMSC-FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_LANGUAGE - SAP R/3 System, Current Language
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for TMS_CI_GET_SYSTEMLIST
TT_SYSLST -
Data type: TMSCSYSLST_TYPOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
TMS_IS_NOT_ACTIVE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_CI_CONF_WITH_DOMAIN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_SYSTEMS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TMS_CI_GET_SYSTEMLIST 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_domain | TYPE TMSCSYS-DOMNAM, " | |||
| lt_tt_syslst | TYPE STANDARD TABLE OF TMSCSYSLST_TYP, " | |||
| lv_tms_is_not_active | TYPE TMSCSYSLST_TYP, " | |||
| lv_iv_system | TYPE TMSCSYS-SYSNAM, " | |||
| lv_invalid_ci_conf_with_domain | TYPE TMSCSYS, " | |||
| lv_no_systems | TYPE TMSCSYS, " | |||
| lv_iv_plus_virtual | TYPE STMSC-FLAG, " | |||
| lv_iv_plus_external | TYPE STMSC-FLAG, " | |||
| lv_iv_plus_foreign | TYPE STMSC-FLAG, " | |||
| lv_iv_only_active | TYPE STMSC-FLAG, " | |||
| lv_iv_language | TYPE SYLANGU. " SY-LANGU |
|   CALL FUNCTION 'TMS_CI_GET_SYSTEMLIST' " |
| EXPORTING | ||
| IV_DOMAIN | = lv_iv_domain | |
| IV_SYSTEM | = lv_iv_system | |
| IV_PLUS_VIRTUAL | = lv_iv_plus_virtual | |
| IV_PLUS_EXTERNAL | = lv_iv_plus_external | |
| IV_PLUS_FOREIGN | = lv_iv_plus_foreign | |
| IV_ONLY_ACTIVE | = lv_iv_only_active | |
| IV_LANGUAGE | = lv_iv_language | |
| TABLES | ||
| TT_SYSLST | = lt_tt_syslst | |
| EXCEPTIONS | ||
| TMS_IS_NOT_ACTIVE = 1 | ||
| INVALID_CI_CONF_WITH_DOMAIN = 2 | ||
| NO_SYSTEMS = 3 | ||
| . " TMS_CI_GET_SYSTEMLIST | ||
ABAP code using 7.40 inline data declarations to call FM TMS_CI_GET_SYSTEMLIST
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 TMSCSYS INTO @DATA(ld_iv_domain). | ||||
| "SELECT single SYSNAM FROM TMSCSYS INTO @DATA(ld_iv_system). | ||||
| "SELECT single FLAG FROM STMSC INTO @DATA(ld_iv_plus_virtual). | ||||
| "SELECT single FLAG FROM STMSC INTO @DATA(ld_iv_plus_external). | ||||
| "SELECT single FLAG FROM STMSC INTO @DATA(ld_iv_plus_foreign). | ||||
| "SELECT single FLAG FROM STMSC INTO @DATA(ld_iv_only_active). | ||||
| DATA(ld_iv_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects