SAP TMS_UI_F4_SYSTEMS Function Module for









TMS_UI_F4_SYSTEMS is a standard tms ui f4 systems 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 ui f4 systems FM, simply by entering the name TMS_UI_F4_SYSTEMS into the relevant SAP transaction such as SE37 or SE38.

Function Group: TMSU
Program Name: SAPLTMSU
Main Program: SAPLTMSU
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function TMS_UI_F4_SYSTEMS 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_UI_F4_SYSTEMS'"
EXPORTING
* IV_DOMAIN = "
* IV_DISPLAY = "
* IV_TITLE = "
* IT_SYSTEMS = "
* IV_LOCAL_DOMAIN = "
* IV_PLUS_VIRTUAL = "
* IV_PLUS_EXTERNAL = "
* IV_PLUS_NONABAP = ' ' "
* IV_ONLY_ACTIVE = 'X' "
* IV_ALL_SYSTEMS = "
* IV_LOCAL_WBO_SYSTEMS = "
* IV_SHOW_DOMAIN = "

IMPORTING
EV_VIRTUAL = "
EV_EXTERNAL = "

CHANGING
* CV_SYSTEM = "
* CV_SYSTEM_TEXT = "
* CV_DOMAIN = "

TABLES
* TT_EXCLUDE = "
.



IMPORTING Parameters details for TMS_UI_F4_SYSTEMS

IV_DOMAIN -

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

IV_DISPLAY -

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

IV_TITLE -

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

IT_SYSTEMS -

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

IV_LOCAL_DOMAIN -

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

IV_PLUS_VIRTUAL -

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

IV_PLUS_EXTERNAL -

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

IV_PLUS_NONABAP -

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

IV_ONLY_ACTIVE -

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

IV_ALL_SYSTEMS -

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

IV_LOCAL_WBO_SYSTEMS -

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

IV_SHOW_DOMAIN -

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

EXPORTING Parameters details for TMS_UI_F4_SYSTEMS

EV_VIRTUAL -

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

EV_EXTERNAL -

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

CHANGING Parameters details for TMS_UI_F4_SYSTEMS

CV_SYSTEM -

Data type: TMSCSYS-SYSNAM
Optional: Yes
Call by Reference: Yes

CV_SYSTEM_TEXT -

Data type: TMSCSYS-SYSTXT
Optional: Yes
Call by Reference: Yes

CV_DOMAIN -

Data type: TMSCSYS-DOMNAM
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for TMS_UI_F4_SYSTEMS

TT_EXCLUDE -

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

Copy and paste ABAP code example for TMS_UI_F4_SYSTEMS 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_cv_system  TYPE TMSCSYS-SYSNAM, "   
lv_iv_domain  TYPE TMSDOMNAM, "   
lv_ev_virtual  TYPE STMS_FLAG, "   
lt_tt_exclude  TYPE STANDARD TABLE OF TMSCSYS, "   
lv_iv_display  TYPE STMS_FLAG, "   
lv_iv_title  TYPE STMS_FLAG, "   
lv_it_systems  TYPE TMSCSYSLST_TYP, "   
lv_ev_external  TYPE STMS_FLAG, "   
lv_cv_system_text  TYPE TMSCSYS-SYSTXT, "   
lv_iv_local_domain  TYPE STMS_FLAG, "   
lv_cv_domain  TYPE TMSCSYS-DOMNAM, "   
lv_iv_plus_virtual  TYPE STMS_FLAG, "   
lv_iv_plus_external  TYPE STMS_FLAG, "   
lv_iv_plus_nonabap  TYPE STMS_FLAG, "   ' '
lv_iv_only_active  TYPE STMS_FLAG, "   'X'
lv_iv_all_systems  TYPE STMS_FLAG, "   
lv_iv_local_wbo_systems  TYPE STMS_FLAG, "   
lv_iv_show_domain  TYPE STMS_FLAG. "   

  CALL FUNCTION 'TMS_UI_F4_SYSTEMS'  "
    EXPORTING
         IV_DOMAIN = lv_iv_domain
         IV_DISPLAY = lv_iv_display
         IV_TITLE = lv_iv_title
         IT_SYSTEMS = lv_it_systems
         IV_LOCAL_DOMAIN = lv_iv_local_domain
         IV_PLUS_VIRTUAL = lv_iv_plus_virtual
         IV_PLUS_EXTERNAL = lv_iv_plus_external
         IV_PLUS_NONABAP = lv_iv_plus_nonabap
         IV_ONLY_ACTIVE = lv_iv_only_active
         IV_ALL_SYSTEMS = lv_iv_all_systems
         IV_LOCAL_WBO_SYSTEMS = lv_iv_local_wbo_systems
         IV_SHOW_DOMAIN = lv_iv_show_domain
    IMPORTING
         EV_VIRTUAL = lv_ev_virtual
         EV_EXTERNAL = lv_ev_external
    CHANGING
         CV_SYSTEM = lv_cv_system
         CV_SYSTEM_TEXT = lv_cv_system_text
         CV_DOMAIN = lv_cv_domain
    TABLES
         TT_EXCLUDE = lt_tt_exclude
. " TMS_UI_F4_SYSTEMS




ABAP code using 7.40 inline data declarations to call FM TMS_UI_F4_SYSTEMS

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_cv_system).
 
 
 
 
 
 
 
 
"SELECT single SYSTXT FROM TMSCSYS INTO @DATA(ld_cv_system_text).
 
 
"SELECT single DOMNAM FROM TMSCSYS INTO @DATA(ld_cv_domain).
 
 
 
DATA(ld_iv_plus_nonabap) = ' '.
 
DATA(ld_iv_only_active) = 'X'.
 
 
 
 


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!