GET_EVENT_HANDLER SAP Method Get View / View Cluster Event Handler









Below is documentation, parameters and attributes of ABAP Method GET_EVENT_HANDLER within SAP class /BOFU/CL_VIM_SERVICES. 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 /BOFU/CL_VIM_SERVICES 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 GET_EVENT_HANDLER can also be found below:

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


Parameters of Method GET_EVENT_HANDLER

.

NameTypeData TypeDescriptionDefault Value
IT_EXTRACTImportingTYPE REF TO
DATA
IT_TOTALImportingTYPE REF TO
DATA
IT_VIEW_DEFINITIONImportingTYPE
/BOFU/IF_VIM_VIEW_DAC=>TT_VIEW_DEF_HEADER
IT_VIEW_NAME_TABLEImportingTYPE
/BOFU/IF_VIM_VIEW_DAC=>TT_VIEW_NAME_TABLE
IV_VIEW_NAMEImportingTYPE
VIEWTABNAM
Table or view name
EO_INSTANCEReturningTYPE REF TO
/BOFU/IF_VIM_VIEW_EVNT_HANDLER
Maintenance View Event Handlers



Exceptions of Method GET_EVENT_HANDLER

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/CL_VIM_SERVICES.
DATA: lv_EO_INSTANCE TYPE /BOFU/IF_VIM_VIEW_EVNT_HANDLER,
lv_IT_EXTRACT TYPE DATA,
lv_IT_TOTAL TYPE DATA,
lv_IT_VIEW_DEFINITION TYPE /BOFU/IF_VIM_VIEW_DAC=>TT_VIEW_DEF_HEADER,
lv_IT_VIEW_NAME_TABLE TYPE /BOFU/IF_VIM_VIEW_DAC=>TT_VIEW_NAME_TABLE,
lv_IV_VIEW_NAME TYPE VIEWTABNAM,
lv_other TYPE c.

CALL METHOD lo_class=>GET_EVENT_HANDLER(
EXPORTING
IT_EXTRACT = lv_IT_EXTRACT
IT_TOTAL = lv_IT_TOTAL
IT_VIEW_DEFINITION = lv_IT_VIEW_DEFINITION
IT_VIEW_NAME_TABLE = lv_IT_VIEW_NAME_TABLE
IV_VIEW_NAME = lv_IV_VIEW_NAME
RECEIVING
EO_INSTANCE = lv_EO_INSTANCE )



"Alternate coding for Method Call with returning parameter
lv_EO_INSTANCE = lo_class=>GET_EVENT_HANDLER(
EXPORTING
IT_EXTRACT = lv_IT_EXTRACT
IT_TOTAL = lv_IT_TOTAL
IT_VIEW_DEFINITION = lv_IT_VIEW_DEFINITION
IT_VIEW_NAME_TABLE = lv_IT_VIEW_NAME_TABLE
IV_VIEW_NAME = lv_IV_VIEW_NAME ).

Links to Related Class(s)

/BOFU/CL...
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!