ADAPT_EVENT SAP Method Exit for Event









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

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


Parameters of Method ADAPT_EVENT

.

NameTypeData TypeDescriptionDefault Value
IO_ADDITIONAL_INFOImportingTYPE REF TO
OBJECT
IR_EVENT_DATAImportingTYPE
DATA
IS_UI_CONTEXT_DATAImportingTYPE
/BOFU/IF_FBI_VIEW_INSTANCE_NEW=>TS_UI_CONTEXT_DATA
IT_SELECTED_ROWSImportingTYPE
/BOFU/IF_FBI_VIEW_INSTANCE_NEW=>TT_ROW
IV_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business Object
IV_EVENTIDImportingTYPE
STRING
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_RAISED_BY_OWN_UIImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IO_UI_INFOImportingTYPE REF TO
IF_FPM_LIST_ATS_UI_INFO
facade to get UI-related information from ATS List UIBB
IR_EVENT_LIST_LINEImportingTYPE REF TO
DATA
CV_FAILEDChangingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
CV_EVENT_RESULT_DEFERChangingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method ADAPT_EVENT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_FBI_VIEW_EXITINTF_RUN.
DATA: lv_CV_FAILED TYPE BOOLE_D,
lv_IO_ADDITIONAL_INFO TYPE OBJECT,
lv_IR_EVENT_DATA TYPE DATA,
lv_IS_UI_CONTEXT_DATA TYPE /BOFU/IF_FBI_VIEW_INSTANCE_NEW=>TS_UI_CONTEXT_DATA,
lv_IT_SELECTED_ROWS TYPE /BOFU/IF_FBI_VIEW_INSTANCE_NEW=>TT_ROW,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_EVENTID TYPE STRING,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_RAISED_BY_OWN_UI TYPE BOOLE_D,
lv_CV_EVENT_RESULT_DEFER TYPE BOOLE_D,
lv_IO_UI_INFO TYPE IF_FPM_LIST_ATS_UI_INFO,
lv_IR_EVENT_LIST_LINE TYPE DATA,
lv_other TYPE c.

CALL METHOD lo_class=>ADAPT_EVENT(
EXPORTING
IO_ADDITIONAL_INFO = lv_IO_ADDITIONAL_INFO
IR_EVENT_DATA = lv_IR_EVENT_DATA
IS_UI_CONTEXT_DATA = lv_IS_UI_CONTEXT_DATA
IT_SELECTED_ROWS = lv_IT_SELECTED_ROWS
IV_BO_KEY = lv_IV_BO_KEY
IV_EVENTID = lv_IV_EVENTID
IV_NODE_KEY = lv_IV_NODE_KEY
IV_RAISED_BY_OWN_UI = lv_IV_RAISED_BY_OWN_UI
IO_UI_INFO = lv_IO_UI_INFO
IR_EVENT_LIST_LINE = lv_IR_EVENT_LIST_LINE
CHANGING
CV_FAILED = lv_CV_FAILED
CV_EVENT_RESULT_DEFER = lv_CV_EVENT_RESULT_DEFER ).

Links to Related Class(s)

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