SAP ISU_IDE_SWITCHDOC_MSGDATA_DIAL Function Module for









ISU_IDE_SWITCHDOC_MSGDATA_DIAL is a standard isu ide switchdoc msgdata dial 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 isu ide switchdoc msgdata dial FM, simply by entering the name ISU_IDE_SWITCHDOC_MSGDATA_DIAL into the relevant SAP transaction such as SE37 or SE38.

Function Group: EIDE_SWITCHDOC_MSGDATA
Program Name: SAPLEIDE_SWITCHDOC_MSGDATA
Main Program: SAPLEIDE_SWITCHDOC_MSGDATA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_IDE_SWITCHDOC_MSGDATA_DIAL 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 'ISU_IDE_SWITCHDOC_MSGDATA_DIAL'"
EXPORTING
X_EIDESWTDOC = "
* X_MSGDATANUM = "
* X_SWTDOC_DIALOG_CALL = "

IMPORTING
Y_DB_UPDATE = "
Y_EXIT_CODE = "
Y_SWITCHNUM = "
Y_MSGDATANUM = "

CHANGING
* XY_MSGDATA = "
* XY_TMSGDATACOMMENT = "

EXCEPTIONS
NOT_POSSIBLE = 1 NOT_FOUND = 2 GENERAL_FAULT = 3 FOREIGN_LOCK = 4 NOT_AUTHORIZED = 5
.



IMPORTING Parameters details for ISU_IDE_SWITCHDOC_MSGDATA_DIAL

X_EIDESWTDOC -

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

X_MSGDATANUM -

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

X_SWTDOC_DIALOG_CALL -

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

EXPORTING Parameters details for ISU_IDE_SWITCHDOC_MSGDATA_DIAL

Y_DB_UPDATE -

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

Y_EXIT_CODE -

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

Y_SWITCHNUM -

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

Y_MSGDATANUM -

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

CHANGING Parameters details for ISU_IDE_SWITCHDOC_MSGDATA_DIAL

XY_MSGDATA -

Data type: EIDESWTMSGDATA
Optional: Yes
Call by Reference: Yes

XY_TMSGDATACOMMENT -

Data type: TEIDESWTMSGDATACO
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NOT_POSSIBLE -

Data type:
Optional: No
Call by Reference: Yes

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

GENERAL_FAULT -

Data type:
Optional: No
Call by Reference: Yes

FOREIGN_LOCK -

Data type:
Optional: No
Call by Reference: Yes

NOT_AUTHORIZED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISU_IDE_SWITCHDOC_MSGDATA_DIAL 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_xy_msgdata  TYPE EIDESWTMSGDATA, "   
lv_y_db_update  TYPE FLAG, "   
lv_not_possible  TYPE FLAG, "   
lv_x_eideswtdoc  TYPE EIDESWTDOC, "   
lv_not_found  TYPE EIDESWTDOC, "   
lv_y_exit_code  TYPE REGEN-OKCODE, "   
lv_x_msgdatanum  TYPE EIDESWTMDNUM, "   
lv_xy_tmsgdatacomment  TYPE TEIDESWTMSGDATACO, "   
lv_y_switchnum  TYPE EIDESWTNUM, "   
lv_general_fault  TYPE EIDESWTNUM, "   
lv_x_swtdoc_dialog_call  TYPE FLAG, "   
lv_foreign_lock  TYPE FLAG, "   
lv_y_msgdatanum  TYPE EIDESWTMDNUM, "   
lv_not_authorized  TYPE EIDESWTMDNUM. "   

  CALL FUNCTION 'ISU_IDE_SWITCHDOC_MSGDATA_DIAL'  "
    EXPORTING
         X_EIDESWTDOC = lv_x_eideswtdoc
         X_MSGDATANUM = lv_x_msgdatanum
         X_SWTDOC_DIALOG_CALL = lv_x_swtdoc_dialog_call
    IMPORTING
         Y_DB_UPDATE = lv_y_db_update
         Y_EXIT_CODE = lv_y_exit_code
         Y_SWITCHNUM = lv_y_switchnum
         Y_MSGDATANUM = lv_y_msgdatanum
    CHANGING
         XY_MSGDATA = lv_xy_msgdata
         XY_TMSGDATACOMMENT = lv_xy_tmsgdatacomment
    EXCEPTIONS
        NOT_POSSIBLE = 1
        NOT_FOUND = 2
        GENERAL_FAULT = 3
        FOREIGN_LOCK = 4
        NOT_AUTHORIZED = 5
. " ISU_IDE_SWITCHDOC_MSGDATA_DIAL




ABAP code using 7.40 inline data declarations to call FM ISU_IDE_SWITCHDOC_MSGDATA_DIAL

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 OKCODE FROM REGEN INTO @DATA(ld_y_exit_code).
 
 
 
 
 
 
 
 
 


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!