SAP TMW_TU_TRACK_IMPORT Function Module for
TMW_TU_TRACK_IMPORT is a standard tmw tu track import 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 tmw tu track import FM, simply by entering the name TMW_TU_TRACK_IMPORT into the relevant SAP transaction such as SE37 or SE38.
Function Group: TMW_CLIENT_INTERFACES
Program Name: SAPLTMW_CLIENT_INTERFACES
Main Program: SAPLTMW_CLIENT_INTERFACES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function TMW_TU_TRACK_IMPORT 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 'TMW_TU_TRACK_IMPORT'".
EXPORTING
* IV_SYSTEM = "
* IV_POPUP = "
* IV_MONITOR = "
* IV_VERBOSE = "
IV_FUNC_NAME = "
* IV_TARCLI = "
* IV_SYSLIST = "
* IV_JOBID = "
* IV_TPSTATID = "
* IV_START_DATE = "
* IV_START_TIME = "
* IV_END_DATE = "
* IV_END_TIME = "
* IV_IMPORTS = "
* IV_EXPORTS = "
* IV_ALL_ALOG_STEPS = "
* IV_TPSTAT_KEY = "
EXCEPTIONS
CANCELLED_BY_USER = 1 IMPORT_HISTORY_FAILED = 2 READ_CONFIGURATION_ERROR = 3
IMPORTING Parameters details for TMW_TU_TRACK_IMPORT
IV_SYSTEM -
Data type: TMSSYSNAMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_POPUP -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MONITOR -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_VERBOSE -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_FUNC_NAME -
Data type: RS38L_FNAMOptional: No
Call by Reference: No ( called with pass by value option)
IV_TARCLI -
Data type: TRTARCLIOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SYSLIST -
Data type: TMSFSYSL-LISTNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_JOBID -
Data type: CIBJOBNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TPSTATID -
Data type: TRTPTSTAMPOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_START_DATE -
Data type: DATSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_START_TIME -
Data type: TIMSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_END_DATE -
Data type: DATSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_END_TIME -
Data type: TIMSOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_IMPORTS -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_EXPORTS -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_ALL_ALOG_STEPS -
Data type: FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TPSTAT_KEY -
Data type: TMSTPKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CANCELLED_BY_USER -
Data type:Optional: No
Call by Reference: Yes
IMPORT_HISTORY_FAILED -
Data type:Optional: No
Call by Reference: Yes
READ_CONFIGURATION_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for TMW_TU_TRACK_IMPORT 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 TMSSYSNAM, " | |||
| lv_cancelled_by_user | TYPE TMSSYSNAM, " | |||
| lv_iv_popup | TYPE FLAG, " | |||
| lv_iv_monitor | TYPE FLAG, " | |||
| lv_iv_verbose | TYPE FLAG, " | |||
| lv_iv_func_name | TYPE RS38L_FNAM, " | |||
| lv_iv_tarcli | TYPE TRTARCLI, " | |||
| lv_iv_syslist | TYPE TMSFSYSL-LISTNAME, " | |||
| lv_iv_jobid | TYPE CIBJOBNUM, " | |||
| lv_iv_tpstatid | TYPE TRTPTSTAMP, " | |||
| lv_iv_start_date | TYPE DATS, " | |||
| lv_import_history_failed | TYPE DATS, " | |||
| lv_iv_start_time | TYPE TIMS, " | |||
| lv_read_configuration_error | TYPE TIMS, " | |||
| lv_iv_end_date | TYPE DATS, " | |||
| lv_iv_end_time | TYPE TIMS, " | |||
| lv_iv_imports | TYPE FLAG, " | |||
| lv_iv_exports | TYPE FLAG, " | |||
| lv_iv_all_alog_steps | TYPE FLAG, " | |||
| lv_iv_tpstat_key | TYPE TMSTPKEY. " |
|   CALL FUNCTION 'TMW_TU_TRACK_IMPORT' " |
| EXPORTING | ||
| IV_SYSTEM | = lv_iv_system | |
| IV_POPUP | = lv_iv_popup | |
| IV_MONITOR | = lv_iv_monitor | |
| IV_VERBOSE | = lv_iv_verbose | |
| IV_FUNC_NAME | = lv_iv_func_name | |
| IV_TARCLI | = lv_iv_tarcli | |
| IV_SYSLIST | = lv_iv_syslist | |
| IV_JOBID | = lv_iv_jobid | |
| IV_TPSTATID | = lv_iv_tpstatid | |
| IV_START_DATE | = lv_iv_start_date | |
| IV_START_TIME | = lv_iv_start_time | |
| IV_END_DATE | = lv_iv_end_date | |
| IV_END_TIME | = lv_iv_end_time | |
| IV_IMPORTS | = lv_iv_imports | |
| IV_EXPORTS | = lv_iv_exports | |
| IV_ALL_ALOG_STEPS | = lv_iv_all_alog_steps | |
| IV_TPSTAT_KEY | = lv_iv_tpstat_key | |
| EXCEPTIONS | ||
| CANCELLED_BY_USER = 1 | ||
| IMPORT_HISTORY_FAILED = 2 | ||
| READ_CONFIGURATION_ERROR = 3 | ||
| . " TMW_TU_TRACK_IMPORT | ||
ABAP code using 7.40 inline data declarations to call FM TMW_TU_TRACK_IMPORT
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 LISTNAME FROM TMSFSYSL INTO @DATA(ld_iv_syslist). | ||||
Search for further information about these or an SAP related objects