SAP TMS_MGR_READ_TRANSPORT_QUEUE Function Module for









TMS_MGR_READ_TRANSPORT_QUEUE is a standard tms mgr read transport 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 read transport queue FM, simply by entering the name TMS_MGR_READ_TRANSPORT_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_READ_TRANSPORT_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_READ_TRANSPORT_QUEUE'"
EXPORTING
* IV_SYSTEM = ' ' "
* IV_UPDATE_CACHE = 'X' "
* IV_MONITOR = 'X' "Progress Display
* IV_PROGRESS_MIN = 1 "
* IV_PROGRESS_MAX = 100 "
* IV_VERBOSE = "
* IV_EXPIRATION_DATE = "
* IV_ALLOW_EXPIRED = "
* IT_SYSTEMS = "
* IV_DOMAIN = ' ' "
* IV_COLLECT_DATA = "
* IV_COUNT_ONLY = "
* IV_READ_SHADOW = "
* IV_MAXRC_ONLY = 'X' "
* IV_READ_LOCKS = 'X' "
* IV_CLEAR_LOCKS = 'X' "
* IV_USE_DATA_FILES = "

IMPORTING
EV_COLLECT_DATE = "
EV_COLLECT_TIME = "
EV_COLLECT_FLAG = "

TABLES
* TT_BUFFER = "
* TT_COUNTER = "
* TT_PROJECT = "
* TT_DOMAIN = "
* TT_SYSTEM = "
* TT_GROUP = "

EXCEPTIONS
READ_CONFIG_FAILED = 1
.



IMPORTING Parameters details for TMS_MGR_READ_TRANSPORT_QUEUE

IV_SYSTEM -

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

IV_UPDATE_CACHE -

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

IV_MONITOR - Progress Display

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

IV_PROGRESS_MIN -

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

IV_PROGRESS_MAX -

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

IV_VERBOSE -

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

IV_EXPIRATION_DATE -

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

IV_ALLOW_EXPIRED -

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

IT_SYSTEMS -

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

IV_DOMAIN -

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

IV_COLLECT_DATA -

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

IV_COUNT_ONLY -

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

IV_READ_SHADOW -

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

IV_MAXRC_ONLY -

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

IV_READ_LOCKS -

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

IV_CLEAR_LOCKS -

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

IV_USE_DATA_FILES -

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

EXPORTING Parameters details for TMS_MGR_READ_TRANSPORT_QUEUE

EV_COLLECT_DATE -

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

EV_COLLECT_TIME -

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

EV_COLLECT_FLAG -

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

TABLES Parameters details for TMS_MGR_READ_TRANSPORT_QUEUE

TT_BUFFER -

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

TT_COUNTER -

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

TT_PROJECT -

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

TT_DOMAIN -

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

TT_SYSTEM -

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

TT_GROUP -

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

EXCEPTIONS details

READ_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_READ_TRANSPORT_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_system  TYPE TMSCSYS-SYSNAM, "   SPACE
lt_tt_buffer  TYPE STANDARD TABLE OF TMSBUFFER, "   
lv_ev_collect_date  TYPE SY-DATUM, "   
lv_read_config_failed  TYPE SY, "   
lv_iv_update_cache  TYPE STMS_FLAG, "   'X'
lv_iv_monitor  TYPE STMS_FLAG, "   'X'
lv_iv_progress_min  TYPE I, "   1
lv_iv_progress_max  TYPE I, "   100
lv_iv_verbose  TYPE STMS_FLAG, "   
lv_iv_expiration_date  TYPE TMSACTDAT-ACTDAT, "   
lv_iv_allow_expired  TYPE STMS_FLAG, "   
lv_it_systems  TYPE TMSCSYSS, "   
lv_iv_domain  TYPE TMSCSYS-DOMNAM, "   SPACE
lt_tt_counter  TYPE STANDARD TABLE OF TMSBUFCNT, "   
lv_ev_collect_time  TYPE SY-UZEIT, "   
lt_tt_project  TYPE STANDARD TABLE OF TMSBUFPRO, "   
lv_ev_collect_flag  TYPE STMS_FLAG, "   
lv_iv_collect_data  TYPE STMS_FLAG, "   
lt_tt_domain  TYPE STANDARD TABLE OF TMSCDOM, "   
lv_iv_count_only  TYPE STMS_FLAG, "   
lt_tt_system  TYPE STANDARD TABLE OF TMSCSYS, "   
lv_iv_read_shadow  TYPE STMS_FLAG, "   
lt_tt_group  TYPE STANDARD TABLE OF TMSCNFS, "   
lv_iv_maxrc_only  TYPE STMS_FLAG, "   'X'
lv_iv_read_locks  TYPE STMS_FLAG, "   'X'
lv_iv_clear_locks  TYPE STMS_FLAG, "   'X'
lv_iv_use_data_files  TYPE STMS_FLAG. "   

  CALL FUNCTION 'TMS_MGR_READ_TRANSPORT_QUEUE'  "
    EXPORTING
         IV_SYSTEM = lv_iv_system
         IV_UPDATE_CACHE = lv_iv_update_cache
         IV_MONITOR = lv_iv_monitor
         IV_PROGRESS_MIN = lv_iv_progress_min
         IV_PROGRESS_MAX = lv_iv_progress_max
         IV_VERBOSE = lv_iv_verbose
         IV_EXPIRATION_DATE = lv_iv_expiration_date
         IV_ALLOW_EXPIRED = lv_iv_allow_expired
         IT_SYSTEMS = lv_it_systems
         IV_DOMAIN = lv_iv_domain
         IV_COLLECT_DATA = lv_iv_collect_data
         IV_COUNT_ONLY = lv_iv_count_only
         IV_READ_SHADOW = lv_iv_read_shadow
         IV_MAXRC_ONLY = lv_iv_maxrc_only
         IV_READ_LOCKS = lv_iv_read_locks
         IV_CLEAR_LOCKS = lv_iv_clear_locks
         IV_USE_DATA_FILES = lv_iv_use_data_files
    IMPORTING
         EV_COLLECT_DATE = lv_ev_collect_date
         EV_COLLECT_TIME = lv_ev_collect_time
         EV_COLLECT_FLAG = lv_ev_collect_flag
    TABLES
         TT_BUFFER = lt_tt_buffer
         TT_COUNTER = lt_tt_counter
         TT_PROJECT = lt_tt_project
         TT_DOMAIN = lt_tt_domain
         TT_SYSTEM = lt_tt_system
         TT_GROUP = lt_tt_group
    EXCEPTIONS
        READ_CONFIG_FAILED = 1
. " TMS_MGR_READ_TRANSPORT_QUEUE




ABAP code using 7.40 inline data declarations to call FM TMS_MGR_READ_TRANSPORT_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_system).
DATA(ld_iv_system) = ' '.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_ev_collect_date).
 
 
DATA(ld_iv_update_cache) = 'X'.
 
DATA(ld_iv_monitor) = 'X'.
 
DATA(ld_iv_progress_min) = 1.
 
DATA(ld_iv_progress_max) = 100.
 
 
"SELECT single ACTDAT FROM TMSACTDAT INTO @DATA(ld_iv_expiration_date).
 
 
 
"SELECT single DOMNAM FROM TMSCSYS INTO @DATA(ld_iv_domain).
DATA(ld_iv_domain) = ' '.
 
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_ev_collect_time).
 
 
 
 
 
 
 
 
 
DATA(ld_iv_maxrc_only) = 'X'.
 
DATA(ld_iv_read_locks) = 'X'.
 
DATA(ld_iv_clear_locks) = '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!