HANDLE_EVENT_ASSERT SAP Method Assertion for Handle Event
Below is documentation, parameters and attributes of ABAP Method HANDLE_EVENT_ASSERT within SAP class CL_BSP_WD_VIEW_CONTROLLER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_BSP_WD_VIEW_CONTROLLER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method HANDLE_EVENT_ASSERT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method HANDLE_EVENT_ASSERT
.| Name | Type | Data Type | Description | Default Value |
| IV_EVENT | Importing | TYPE STRING | Event | |
| IV_HTMLB_EVENT | Importing | TYPE REF TO CL_HTMLB_EVENT | HTMLB Basic Event | |
| IV_HTMLB_EVENT_EX | Importing | TYPE REF TO IF_HTMLB_DATA | Input Data from HTMLB | |
| IV_VIEW_CONTROLLER | Importing | TYPE REF TO CL_BSP_WD_VIEW_CONTROLLER | Basis Class for WD View Controller | |
| RV_RESULT | Returning | TYPE ABAP_BOOL |
Exceptions of Method HANDLE_EVENT_ASSERT
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_BSP_WD_VIEW_CONTROLLER.
DATA: lv_IV_EVENT TYPE STRING,
lv_IV_HTMLB_EVENT TYPE CL_HTMLB_EVENT,
lv_IV_HTMLB_EVENT_EX TYPE IF_HTMLB_DATA,
lv_IV_VIEW_CONTROLLER TYPE CL_BSP_WD_VIEW_CONTROLLER,
lv_RV_RESULT TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>HANDLE_EVENT_ASSERT(
EXPORTING
IV_EVENT = lv_IV_EVENT
IV_HTMLB_EVENT = lv_IV_HTMLB_EVENT
IV_HTMLB_EVENT_EX = lv_IV_HTMLB_EVENT_EX
IV_VIEW_CONTROLLER = lv_IV_VIEW_CONTROLLER
RECEIVING
RV_RESULT = lv_RV_RESULT )
"Alternate coding for Method Call with returning parameter
lv_RV_RESULT = lo_class=>HANDLE_EVENT_ASSERT(
EXPORTING
IV_EVENT = lv_IV_EVENT
IV_HTMLB_EVENT = lv_IV_HTMLB_EVENT
IV_HTMLB_EVENT_EX = lv_IV_HTMLB_EVENT_EX
IV_VIEW_CONTROLLER = lv_IV_VIEW_CONTROLLER ).
Links to Related Class(s)
CL_BSP_W...Full list of available SAP object classes
Search for further information about these or an SAP related objects