SAP TMS_MGR_GREP_TRANSPORT_QUEUE Function Module for









TMS_MGR_GREP_TRANSPORT_QUEUE is a standard tms mgr grep 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 grep transport queue FM, simply by entering the name TMS_MGR_GREP_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_GREP_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_GREP_TRANSPORT_QUEUE'"
EXPORTING
* IV_SYSTEM = ' ' "
* IV_PENDING_REQUESTS = 'X' "
* IV_COMPLETED_REQUESTS = "
* IV_REFUSED_REQUESTS = 'X' "
* IV_DELETED_REQUESTS = "
* IV_EXPIRATION_DATE = "
* IV_MONITOR = 'X' "Progress indicator
* IV_VERBOSE = "
* IT_REQUESTS = "
* IT_PROJECTS = "
* IV_DOMAIN = "
* IV_PROJECT = "
* IV_REQUEST = "
* IV_TARCLI = "
* IV_CLIENT_CHECK = "
* IV_REFRESH_QUEUE = "
* IV_WITHOUT_CACHE = "
* IV_FULL_QUEUE = "

IMPORTING
EV_COUNTER = "
ET_PROJECTS = "

TABLES
* TT_BUFFER = "

EXCEPTIONS
READ_CONFIG_FAILED = 1 READ_IMPORT_QUEUE_FAILED = 2
.



IMPORTING Parameters details for TMS_MGR_GREP_TRANSPORT_QUEUE

IV_SYSTEM -

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

IV_PENDING_REQUESTS -

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

IV_COMPLETED_REQUESTS -

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

IV_REFUSED_REQUESTS -

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

IV_DELETED_REQUESTS -

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

IV_EXPIRATION_DATE -

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

IV_MONITOR - Progress indicator

Data type: STMS_FLAG
Default: 'X'
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)

IT_REQUESTS -

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

IT_PROJECTS -

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

IV_DOMAIN -

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

IV_PROJECT -

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

IV_REQUEST -

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

IV_TARCLI -

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

IV_CLIENT_CHECK -

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

IV_REFRESH_QUEUE -

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

IV_WITHOUT_CACHE -

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

IV_FULL_QUEUE -

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

EXPORTING Parameters details for TMS_MGR_GREP_TRANSPORT_QUEUE

EV_COUNTER -

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

ET_PROJECTS -

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

TABLES Parameters details for TMS_MGR_GREP_TRANSPORT_QUEUE

TT_BUFFER -

Data type: TMSBUFFER
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)

READ_IMPORT_QUEUE_FAILED -

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

Copy and paste ABAP code example for TMS_MGR_GREP_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_counter  TYPE I, "   
lv_read_config_failed  TYPE I, "   
lv_iv_pending_requests  TYPE STMS_FLAG, "   'X'
lv_iv_completed_requests  TYPE STMS_FLAG, "   
lv_iv_refused_requests  TYPE STMS_FLAG, "   'X'
lv_iv_deleted_requests  TYPE STMS_FLAG, "   
lv_iv_expiration_date  TYPE SYDATS, "   
lv_iv_monitor  TYPE STMS_FLAG, "   'X'
lv_iv_verbose  TYPE STMS_FLAG, "   
lv_it_requests  TYPE STMS_TR_REQUESTS, "   
lv_it_projects  TYPE TRPROJECTS, "   
lv_iv_domain  TYPE TMSCSYS-DOMNAM, "   
lv_et_projects  TYPE TRPROJECTS, "   
lv_read_import_queue_failed  TYPE TRPROJECTS, "   
lv_iv_project  TYPE TMSBUFFER-PROJECT, "   
lv_iv_request  TYPE TMSBUFFER-TRKORR, "   
lv_iv_tarcli  TYPE TMSBUFFER-TARCLI, "   
lv_iv_client_check  TYPE STMS_FLAG, "   
lv_iv_refresh_queue  TYPE STMS_FLAG, "   
lv_iv_without_cache  TYPE STMS_FLAG, "   
lv_iv_full_queue  TYPE STMS_FLAG. "   

  CALL FUNCTION 'TMS_MGR_GREP_TRANSPORT_QUEUE'  "
    EXPORTING
         IV_SYSTEM = lv_iv_system
         IV_PENDING_REQUESTS = lv_iv_pending_requests
         IV_COMPLETED_REQUESTS = lv_iv_completed_requests
         IV_REFUSED_REQUESTS = lv_iv_refused_requests
         IV_DELETED_REQUESTS = lv_iv_deleted_requests
         IV_EXPIRATION_DATE = lv_iv_expiration_date
         IV_MONITOR = lv_iv_monitor
         IV_VERBOSE = lv_iv_verbose
         IT_REQUESTS = lv_it_requests
         IT_PROJECTS = lv_it_projects
         IV_DOMAIN = lv_iv_domain
         IV_PROJECT = lv_iv_project
         IV_REQUEST = lv_iv_request
         IV_TARCLI = lv_iv_tarcli
         IV_CLIENT_CHECK = lv_iv_client_check
         IV_REFRESH_QUEUE = lv_iv_refresh_queue
         IV_WITHOUT_CACHE = lv_iv_without_cache
         IV_FULL_QUEUE = lv_iv_full_queue
    IMPORTING
         EV_COUNTER = lv_ev_counter
         ET_PROJECTS = lv_et_projects
    TABLES
         TT_BUFFER = lt_tt_buffer
    EXCEPTIONS
        READ_CONFIG_FAILED = 1
        READ_IMPORT_QUEUE_FAILED = 2
. " TMS_MGR_GREP_TRANSPORT_QUEUE




ABAP code using 7.40 inline data declarations to call FM TMS_MGR_GREP_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) = ' '.
 
 
 
 
DATA(ld_iv_pending_requests) = 'X'.
 
 
DATA(ld_iv_refused_requests) = 'X'.
 
 
 
DATA(ld_iv_monitor) = 'X'.
 
 
 
 
"SELECT single DOMNAM FROM TMSCSYS INTO @DATA(ld_iv_domain).
 
 
 
"SELECT single PROJECT FROM TMSBUFFER INTO @DATA(ld_iv_project).
 
"SELECT single TRKORR FROM TMSBUFFER INTO @DATA(ld_iv_request).
 
"SELECT single TARCLI FROM TMSBUFFER INTO @DATA(ld_iv_tarcli).
 
 
 
 
 


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!