SAP DMC_IUC_TP_IMPORT Function Module for MWB-Upgrade: Importieren mittels tp import auf OS-Level
DMC_IUC_TP_IMPORT is a standard dmc iuc tp import SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for MWB-Upgrade: Importieren mittels tp import auf OS-Level processing and below is the pattern details for this FM, 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 dmc iuc tp import FM, simply by entering the name DMC_IUC_TP_IMPORT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CNV_MWB_IU
Program Name: SAPLCNV_MWB_IU
Main Program: SAPLCNV_MWB_IU
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function DMC_IUC_TP_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 'DMC_IUC_TP_IMPORT'"MWB-Upgrade: Importieren mittels tp import auf OS-Level.
EXPORTING
IM_CLIENT = "Zielmandant
IM_TRKORR = "Upgradetransport
IM_TP_TYPE = "
IM_TPPARAMFILE = "
IM_TASKNAME = "
TABLES
EX_IT_TRKORR = "
EX_IT_TPPROTOCOL = "
EX_IT_COMMAND = "
EX_IT_EXITCODE = "
IMPORTING Parameters details for DMC_IUC_TP_IMPORT
IM_CLIENT - Zielmandant
Data type: SY-MANDTOptional: No
Call by Reference: No ( called with pass by value option)
IM_TRKORR - Upgradetransport
Data type: E070-TRKORROptional: No
Call by Reference: No ( called with pass by value option)
IM_TP_TYPE -
Data type: DMC_IU_UPGTR-TP_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
IM_TPPARAMFILE -
Data type: STPA-FILEOptional: No
Call by Reference: No ( called with pass by value option)
IM_TASKNAME -
Data type: DMC_IU_DTYPE-TASKNAMEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DMC_IUC_TP_IMPORT
EX_IT_TRKORR -
Data type: DMC_IU_TASK_TRKORROptional: No
Call by Reference: No ( called with pass by value option)
EX_IT_TPPROTOCOL -
Data type: DMC_IU_TASK_PROTOCOLOptional: No
Call by Reference: No ( called with pass by value option)
EX_IT_COMMAND -
Data type: DMC_IU_TASK_EXTCOMMANDOptional: No
Call by Reference: No ( called with pass by value option)
EX_IT_EXITCODE -
Data type: DMC_IU_TASK_EXITCODEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DMC_IUC_TP_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_im_client | TYPE SY-MANDT, " | |||
| lt_ex_it_trkorr | TYPE STANDARD TABLE OF DMC_IU_TASK_TRKORR, " | |||
| lv_im_trkorr | TYPE E070-TRKORR, " | |||
| lt_ex_it_tpprotocol | TYPE STANDARD TABLE OF DMC_IU_TASK_PROTOCOL, " | |||
| lv_im_tp_type | TYPE DMC_IU_UPGTR-TP_TYPE, " | |||
| lt_ex_it_command | TYPE STANDARD TABLE OF DMC_IU_TASK_EXTCOMMAND, " | |||
| lt_ex_it_exitcode | TYPE STANDARD TABLE OF DMC_IU_TASK_EXITCODE, " | |||
| lv_im_tpparamfile | TYPE STPA-FILE, " | |||
| lv_im_taskname | TYPE DMC_IU_DTYPE-TASKNAME. " |
|   CALL FUNCTION 'DMC_IUC_TP_IMPORT' "MWB-Upgrade: Importieren mittels tp import auf OS-Level |
| EXPORTING | ||
| IM_CLIENT | = lv_im_client | |
| IM_TRKORR | = lv_im_trkorr | |
| IM_TP_TYPE | = lv_im_tp_type | |
| IM_TPPARAMFILE | = lv_im_tpparamfile | |
| IM_TASKNAME | = lv_im_taskname | |
| TABLES | ||
| EX_IT_TRKORR | = lt_ex_it_trkorr | |
| EX_IT_TPPROTOCOL | = lt_ex_it_tpprotocol | |
| EX_IT_COMMAND | = lt_ex_it_command | |
| EX_IT_EXITCODE | = lt_ex_it_exitcode | |
| . " DMC_IUC_TP_IMPORT | ||
ABAP code using 7.40 inline data declarations to call FM DMC_IUC_TP_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 MANDT FROM SY INTO @DATA(ld_im_client). | ||||
| "SELECT single TRKORR FROM E070 INTO @DATA(ld_im_trkorr). | ||||
| "SELECT single TP_TYPE FROM DMC_IU_UPGTR INTO @DATA(ld_im_tp_type). | ||||
| "SELECT single FILE FROM STPA INTO @DATA(ld_im_tpparamfile). | ||||
| "SELECT single TASKNAME FROM DMC_IU_DTYPE INTO @DATA(ld_im_taskname). | ||||
Search for further information about these or an SAP related objects