SAP IWB_EVENT_HANDLER Function Module for
IWB_EVENT_HANDLER is a standard iwb event handler 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 iwb event handler FM, simply by entering the name IWB_EVENT_HANDLER into the relevant SAP transaction such as SE37 or SE38.
Function Group: SI64
Program Name: SAPLSI64
Main Program: SAPLSI64
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IWB_EVENT_HANDLER 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 'IWB_EVENT_HANDLER'".
EXPORTING
EVENT = "Event
* CLIENT = SY-MANDT "R/3 System, Client Number from Logon
TABLES
OBJECT_LIST = "
* PROPERTIES = "List of Attribute Values for Objects
* PROPERTIES_NEW = "List of Attribute Values for Objects
* PROPERTIES_DEL = "List for Deleting Attribute Versions of Objects
* RELATIONS = "Links with Partner Objects
* FROM_RELATIONS = "Links with Partner Objects
* TO_RELATIONS = "Links with Partner Objects
* BAD_OBJECTS = "
IMPORTING Parameters details for IWB_EVENT_HANDLER
EVENT - Event
Data type: SDOK_IFACE-EVENTOptional: No
Call by Reference: No ( called with pass by value option)
CLIENT - R/3 System, Client Number from Logon
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for IWB_EVENT_HANDLER
OBJECT_LIST -
Data type: SDOKOBJECTOptional: No
Call by Reference: No ( called with pass by value option)
PROPERTIES - List of Attribute Values for Objects
Data type: SDOKPROPTLSOptional: Yes
Call by Reference: Yes
PROPERTIES_NEW - List of Attribute Values for Objects
Data type: SDOKPROPTLSOptional: Yes
Call by Reference: Yes
PROPERTIES_DEL - List for Deleting Attribute Versions of Objects
Data type: SDOKPROPLDSOptional: Yes
Call by Reference: Yes
RELATIONS - Links with Partner Objects
Data type: SDOKRELATNSOptional: Yes
Call by Reference: Yes
FROM_RELATIONS - Links with Partner Objects
Data type: SDOKRELATNSOptional: Yes
Call by Reference: Yes
TO_RELATIONS - Links with Partner Objects
Data type: SDOKRELATNSOptional: Yes
Call by Reference: Yes
BAD_OBJECTS -
Data type: SDOKERRMSGOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for IWB_EVENT_HANDLER 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_event | TYPE SDOK_IFACE-EVENT, " | |||
| lt_object_list | TYPE STANDARD TABLE OF SDOKOBJECT, " | |||
| lv_client | TYPE SY-MANDT, " SY-MANDT | |||
| lt_properties | TYPE STANDARD TABLE OF SDOKPROPTLS, " | |||
| lt_properties_new | TYPE STANDARD TABLE OF SDOKPROPTLS, " | |||
| lt_properties_del | TYPE STANDARD TABLE OF SDOKPROPLDS, " | |||
| lt_relations | TYPE STANDARD TABLE OF SDOKRELATNS, " | |||
| lt_from_relations | TYPE STANDARD TABLE OF SDOKRELATNS, " | |||
| lt_to_relations | TYPE STANDARD TABLE OF SDOKRELATNS, " | |||
| lt_bad_objects | TYPE STANDARD TABLE OF SDOKERRMSG. " |
|   CALL FUNCTION 'IWB_EVENT_HANDLER' " |
| EXPORTING | ||
| EVENT | = lv_event | |
| CLIENT | = lv_client | |
| TABLES | ||
| OBJECT_LIST | = lt_object_list | |
| PROPERTIES | = lt_properties | |
| PROPERTIES_NEW | = lt_properties_new | |
| PROPERTIES_DEL | = lt_properties_del | |
| RELATIONS | = lt_relations | |
| FROM_RELATIONS | = lt_from_relations | |
| TO_RELATIONS | = lt_to_relations | |
| BAD_OBJECTS | = lt_bad_objects | |
| . " IWB_EVENT_HANDLER | ||
ABAP code using 7.40 inline data declarations to call FM IWB_EVENT_HANDLER
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 EVENT FROM SDOK_IFACE INTO @DATA(ld_event). | ||||
| "SELECT single MANDT FROM SY INTO @DATA(ld_client). | ||||
| DATA(ld_client) | = SY-MANDT. | |||
Search for further information about these or an SAP related objects