SAP ISU_BOL_IDE_SWTMSG Function Module for Prozess-Mode gesteuerter Funktionsbaustein









ISU_BOL_IDE_SWTMSG is a standard isu bol ide swtmsg SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Prozess-Mode gesteuerter Funktionsbaustein 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 isu bol ide swtmsg FM, simply by entering the name ISU_BOL_IDE_SWTMSG into the relevant SAP transaction such as SE37 or SE38.

Function Group: EIDE_SWITCH_MESSAGE
Program Name: SAPLEIDE_SWITCH_MESSAGE
Main Program: SAPLEIDE_SWITCH_MESSAGE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISU_BOL_IDE_SWTMSG 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_BOL_IDE_SWTMSG'"Prozess-Mode gesteuerter Funktionsbaustein
EXPORTING
X_WMODE = "Prozess Mode (1=display, 3=create)
* X_TEMPORARY = "Benutze temporäre Daten
* X_SWITCHNUM = "Wechselbelegnummer
* X_MSGDATANUM = "Messageobjektnummer

IMPORTING
Y_SWITCHNUM = "Wechselbelegnummer
Y_MSGDATANUM = "Messageobjektnummer
Y_SUBRC = "Sy-Subrc
YT_ERROR = "Returnparameter Tabelle

CHANGING
* XY_ISU_COM_SWITCH_MSG = "Messageobjekt
* XYT_SWT_BOLBLKSWTMSG = "Management of switch message from CRM
.



IMPORTING Parameters details for ISU_BOL_IDE_SWTMSG

X_WMODE - Prozess Mode (1=display, 3=create)

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

X_TEMPORARY - Benutze temporäre Daten

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

X_SWITCHNUM - Wechselbelegnummer

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

X_MSGDATANUM - Messageobjektnummer

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

EXPORTING Parameters details for ISU_BOL_IDE_SWTMSG

Y_SWITCHNUM - Wechselbelegnummer

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

Y_MSGDATANUM - Messageobjektnummer

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

Y_SUBRC - Sy-Subrc

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

YT_ERROR - Returnparameter Tabelle

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

CHANGING Parameters details for ISU_BOL_IDE_SWTMSG

XY_ISU_COM_SWITCH_MSG - Messageobjekt

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

XYT_SWT_BOLBLKSWTMSG - Management of switch message from CRM

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

Copy and paste ABAP code example for ISU_BOL_IDE_SWTMSG 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_x_wmode  TYPE E_MODE, "   
lv_y_switchnum  TYPE EIDESWTNUM, "   
lv_xy_isu_com_switch_msg  TYPE EIDE_COM_SWITCH_MSG, "   
lv_x_temporary  TYPE FLAG, "   
lv_y_msgdatanum  TYPE EIDESWTMDNUM, "   
lv_xyt_swt_bolblkswtmsg  TYPE TEIDESWT_BOLBLKSWTMSG, "   
lv_y_subrc  TYPE SY-SUBRC, "   
lv_x_switchnum  TYPE EIDESWTNUM, "   
lv_yt_error  TYPE BAPIRET2_T, "   
lv_x_msgdatanum  TYPE EIDESWTMDNUM. "   

  CALL FUNCTION 'ISU_BOL_IDE_SWTMSG'  "Prozess-Mode gesteuerter Funktionsbaustein
    EXPORTING
         X_WMODE = lv_x_wmode
         X_TEMPORARY = lv_x_temporary
         X_SWITCHNUM = lv_x_switchnum
         X_MSGDATANUM = lv_x_msgdatanum
    IMPORTING
         Y_SWITCHNUM = lv_y_switchnum
         Y_MSGDATANUM = lv_y_msgdatanum
         Y_SUBRC = lv_y_subrc
         YT_ERROR = lv_yt_error
    CHANGING
         XY_ISU_COM_SWITCH_MSG = lv_xy_isu_com_switch_msg
         XYT_SWT_BOLBLKSWTMSG = lv_xyt_swt_bolblkswtmsg
. " ISU_BOL_IDE_SWTMSG




ABAP code using 7.40 inline data declarations to call FM ISU_BOL_IDE_SWTMSG

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 SUBRC FROM SY INTO @DATA(ld_y_subrc).
 
 
 
 


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!