SAP TMS_IMU_FILTER_TPSTAT Function Module for
TMS_IMU_FILTER_TPSTAT is a standard tms imu filter tpstat 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 imu filter tpstat FM, simply by entering the name TMS_IMU_FILTER_TPSTAT into the relevant SAP transaction such as SE37 or SE38.
Function Group: TMS_IMU
Program Name: SAPLTMS_IMU
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function TMS_IMU_FILTER_TPSTAT 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_IMU_FILTER_TPSTAT'".
EXPORTING
IV_SYSTEM = "TMS: System Name
* IV_DOMAIN = "TMS: Transport Domain
* IV_REQUEST = "Request/Task
* IV_PROJECT = "Project in Change and Transport System
* IV_TARCLI = "Target client for the request
* IV_TPSTATID = "tp Time Stamp
* IV_JOBID = '0000000000' "TMS CI Background Job Number
* IV_VERBOSE = "General Flag
IMPORTING
ET_TPSTAT = "TPSTAT Table Type
ET_TMSTLOCKR = "TMS TP: Lock Table for Individual Imports
ET_TMSTLOCKP = "TMS TP: Lock Table for Project Imports
IMPORTING Parameters details for TMS_IMU_FILTER_TPSTAT
IV_SYSTEM - TMS: System Name
Data type: TMSSYSNAMOptional: No
Call by Reference: Yes
IV_DOMAIN - TMS: Transport Domain
Data type: TMSDOMNAMOptional: Yes
Call by Reference: Yes
IV_REQUEST - Request/Task
Data type: TRKORROptional: Yes
Call by Reference: Yes
IV_PROJECT - Project in Change and Transport System
Data type: TRKORR_POptional: Yes
Call by Reference: Yes
IV_TARCLI - Target client for the request
Data type: TRTARCLIOptional: Yes
Call by Reference: Yes
IV_TPSTATID - tp Time Stamp
Data type: TRTPTSTAMPOptional: Yes
Call by Reference: Yes
IV_JOBID - TMS CI Background Job Number
Data type: CIBJOBNUMDefault: '0000000000'
Optional: Yes
Call by Reference: Yes
IV_VERBOSE - General Flag
Data type: FLAGOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for TMS_IMU_FILTER_TPSTAT
ET_TPSTAT - TPSTAT Table Type
Data type: TPSTATSOptional: No
Call by Reference: Yes
ET_TMSTLOCKR - TMS TP: Lock Table for Individual Imports
Data type: TMSTLOCKRSOptional: No
Call by Reference: Yes
ET_TMSTLOCKP - TMS TP: Lock Table for Project Imports
Data type: TMSTLOCKPSOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for TMS_IMU_FILTER_TPSTAT 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_et_tpstat | TYPE TPSTATS, " | |||
lv_iv_system | TYPE TMSSYSNAM, " | |||
lv_iv_domain | TYPE TMSDOMNAM, " | |||
lv_et_tmstlockr | TYPE TMSTLOCKRS, " | |||
lv_iv_request | TYPE TRKORR, " | |||
lv_et_tmstlockp | TYPE TMSTLOCKPS, " | |||
lv_iv_project | TYPE TRKORR_P, " | |||
lv_iv_tarcli | TYPE TRTARCLI, " | |||
lv_iv_tpstatid | TYPE TRTPTSTAMP, " | |||
lv_iv_jobid | TYPE CIBJOBNUM, " '0000000000' | |||
lv_iv_verbose | TYPE FLAG. " |
  CALL FUNCTION 'TMS_IMU_FILTER_TPSTAT' " |
EXPORTING | ||
IV_SYSTEM | = lv_iv_system | |
IV_DOMAIN | = lv_iv_domain | |
IV_REQUEST | = lv_iv_request | |
IV_PROJECT | = lv_iv_project | |
IV_TARCLI | = lv_iv_tarcli | |
IV_TPSTATID | = lv_iv_tpstatid | |
IV_JOBID | = lv_iv_jobid | |
IV_VERBOSE | = lv_iv_verbose | |
IMPORTING | ||
ET_TPSTAT | = lv_et_tpstat | |
ET_TMSTLOCKR | = lv_et_tmstlockr | |
ET_TMSTLOCKP | = lv_et_tmstlockp | |
. " TMS_IMU_FILTER_TPSTAT |
ABAP code using 7.40 inline data declarations to call FM TMS_IMU_FILTER_TPSTAT
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.DATA(ld_iv_jobid) | = '0000000000'. | |||
Search for further information about these or an SAP related objects