HANDLE_EVENT SAP Method Process or Dispatch: Handle Event









Below is documentation, parameters and attributes of ABAP Method HANDLE_EVENT within SAP class IF_BSP_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 IF_BSP_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 can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method HANDLE_EVENT

.

NameTypeData TypeDescriptionDefault Value
EVENTImportingTYPE
STRING
Event
GLOBAL_MESSAGESImportingTYPE REF TO
CL_BSP_MESSAGES
Business Server Pages (BSP) Messages
HTMLB_EVENTImportingTYPE REF TO
CL_HTMLB_EVENT
HTMBL Event
HTMLB_EVENT_EXImportingTYPE REF TO
IF_HTMLB_DATA
Input Data from HTMLB
GLOBAL_EVENTReturningTYPE
STRING
Global Event for all



Exceptions of Method HANDLE_EVENT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BSP_CONTROLLER.
DATA: lv_EVENT TYPE STRING,
lv_GLOBAL_EVENT TYPE STRING,
lv_GLOBAL_MESSAGES TYPE CL_BSP_MESSAGES,
lv_HTMLB_EVENT TYPE CL_HTMLB_EVENT,
lv_HTMLB_EVENT_EX TYPE IF_HTMLB_DATA,
lv_other TYPE c.

CALL METHOD lo_class=>HANDLE_EVENT(
EXPORTING
EVENT = lv_EVENT
GLOBAL_MESSAGES = lv_GLOBAL_MESSAGES
HTMLB_EVENT = lv_HTMLB_EVENT
HTMLB_EVENT_EX = lv_HTMLB_EVENT_EX
RECEIVING
GLOBAL_EVENT = lv_GLOBAL_EVENT )



"Alternate coding for Method Call with returning parameter
lv_GLOBAL_EVENT = lo_class=>HANDLE_EVENT(
EXPORTING
EVENT = lv_EVENT
GLOBAL_MESSAGES = lv_GLOBAL_MESSAGES
HTMLB_EVENT = lv_HTMLB_EVENT
HTMLB_EVENT_EX = lv_HTMLB_EVENT_EX ).

Links to Related Class(s)

IF_BSP_C...
Full list of available SAP object classes

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!