SAP DMC_IUX_CALL_XPRA_STARTER Function Module for MWB-Upgrade: Start des Programms DMC_IUX_XPRA_STARTER
DMC_IUX_CALL_XPRA_STARTER is a standard dmc iux call xpra starter 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: Start des Programms DMC_IUX_XPRA_STARTER 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 iux call xpra starter FM, simply by entering the name DMC_IUX_CALL_XPRA_STARTER 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_IUX_CALL_XPRA_STARTER 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_IUX_CALL_XPRA_STARTER'"MWB-Upgrade: Start des Programms DMC_IUX_XPRA_STARTER.
EXPORTING
IM_CLNT = "Mandant
IM_SIM = "Simulation
IM_CONT = "Fortsetzungslauf
IM_RESTORE = "Restore-Lauf
IMPORTING
E_XPRA_ERROR = "Fehler beim Ausführen eines XPRAs
TABLES
ET_PROTOCOL = "XPRA Protokolle
EXCEPTIONS
DIFFERENT_CLIENT = 1 STEP_ALREADY_DONE = 2 PREVIOUS_STEP_NOT_FINISHED = 3 CLIENT_NOT_EXISTS = 4 XPRA_LIST_NOT_LOADED = 5 XPRA_JUMP_NOT_DEFINED = 6 JOB_SCHEDULE_ERROR = 7
IMPORTING Parameters details for DMC_IUX_CALL_XPRA_STARTER
IM_CLNT - Mandant
Data type: SY-MANDTOptional: No
Call by Reference: No ( called with pass by value option)
IM_SIM - Simulation
Data type: DMC_IU_DTYPE-BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
IM_CONT - Fortsetzungslauf
Data type: DMC_IU_DTYPE-BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
IM_RESTORE - Restore-Lauf
Data type: DMC_IU_DTYPE-BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DMC_IUX_CALL_XPRA_STARTER
E_XPRA_ERROR - Fehler beim Ausführen eines XPRAs
Data type: DMC_TYPES-BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DMC_IUX_CALL_XPRA_STARTER
ET_PROTOCOL - XPRA Protokolle
Data type: TRLOGOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DIFFERENT_CLIENT - Abweichender Mandant (zur RFC Verbindung)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
STEP_ALREADY_DONE - Arbeitsschritt wurde bereits ausgeführt
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PREVIOUS_STEP_NOT_FINISHED - Vorheriger Arbeitsschritt nicht abgeschlossen
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CLIENT_NOT_EXISTS - Mandant existiert nicht
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
XPRA_LIST_NOT_LOADED - XPRA Liste wurde noch nicht geladen
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
XPRA_JUMP_NOT_DEFINED - XPRA Jump wurde noch nicht definiert
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
JOB_SCHEDULE_ERROR - Fehler beim Einplanen des Batchjobs
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DMC_IUX_CALL_XPRA_STARTER 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_clnt | TYPE SY-MANDT, " | |||
| lt_et_protocol | TYPE STANDARD TABLE OF TRLOG, " | |||
| lv_e_xpra_error | TYPE DMC_TYPES-BOOLEAN, " | |||
| lv_different_client | TYPE DMC_TYPES, " | |||
| lv_im_sim | TYPE DMC_IU_DTYPE-BOOLEAN, " | |||
| lv_step_already_done | TYPE DMC_IU_DTYPE, " | |||
| lv_im_cont | TYPE DMC_IU_DTYPE-BOOLEAN, " | |||
| lv_previous_step_not_finished | TYPE DMC_IU_DTYPE, " | |||
| lv_im_restore | TYPE DMC_IU_DTYPE-BOOLEAN, " | |||
| lv_client_not_exists | TYPE DMC_IU_DTYPE, " | |||
| lv_xpra_list_not_loaded | TYPE DMC_IU_DTYPE, " | |||
| lv_xpra_jump_not_defined | TYPE DMC_IU_DTYPE, " | |||
| lv_job_schedule_error | TYPE DMC_IU_DTYPE. " |
|   CALL FUNCTION 'DMC_IUX_CALL_XPRA_STARTER' "MWB-Upgrade: Start des Programms DMC_IUX_XPRA_STARTER |
| EXPORTING | ||
| IM_CLNT | = lv_im_clnt | |
| IM_SIM | = lv_im_sim | |
| IM_CONT | = lv_im_cont | |
| IM_RESTORE | = lv_im_restore | |
| IMPORTING | ||
| E_XPRA_ERROR | = lv_e_xpra_error | |
| TABLES | ||
| ET_PROTOCOL | = lt_et_protocol | |
| EXCEPTIONS | ||
| DIFFERENT_CLIENT = 1 | ||
| STEP_ALREADY_DONE = 2 | ||
| PREVIOUS_STEP_NOT_FINISHED = 3 | ||
| CLIENT_NOT_EXISTS = 4 | ||
| XPRA_LIST_NOT_LOADED = 5 | ||
| XPRA_JUMP_NOT_DEFINED = 6 | ||
| JOB_SCHEDULE_ERROR = 7 | ||
| . " DMC_IUX_CALL_XPRA_STARTER | ||
ABAP code using 7.40 inline data declarations to call FM DMC_IUX_CALL_XPRA_STARTER
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_clnt). | ||||
| "SELECT single BOOLEAN FROM DMC_TYPES INTO @DATA(ld_e_xpra_error). | ||||
| "SELECT single BOOLEAN FROM DMC_IU_DTYPE INTO @DATA(ld_im_sim). | ||||
| "SELECT single BOOLEAN FROM DMC_IU_DTYPE INTO @DATA(ld_im_cont). | ||||
| "SELECT single BOOLEAN FROM DMC_IU_DTYPE INTO @DATA(ld_im_restore). | ||||
Search for further information about these or an SAP related objects