DEFINE_ACTIONS SAP Method Define Actions
Below is documentation, parameters and attributes of ABAP Method DEFINE_ACTIONS within SAP class /BOFU/CL_GBI_ADAPTER. 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_GBI_ADAPTER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method DEFINE_ACTIONS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DEFINE_ACTIONS
.| Name | Type | Data Type | Description | Default Value |
| IO_ENTITY | Importing | TYPE REF TO /IWBEP/IF_MGW_ODATA_ENTITY_TYP | Interface Representing a Script-Based OData Entity Type | |
| IO_MODEL | Importing | TYPE REF TO /IWBEP/IF_MGW_ODATA_MODEL | interface for a script based model | |
| IO_VIEW | Importing | TYPE REF TO /BOFU/CL_FBI_VIEW_NEW | FBI View | |
| IV_VIEW_NAME | Importing | TYPE /BOFU/FBI_VIEW | View Name |
Exceptions of Method DEFINE_ACTIONS
This method does not have any exceptionsExample ABAP coding
DATA: lv_IO_ENTITY TYPE /IWBEP/IF_MGW_ODATA_ENTITY_TYP,
lv_IO_MODEL TYPE /IWBEP/IF_MGW_ODATA_MODEL,
lv_IO_VIEW TYPE /BOFU/CL_FBI_VIEW_NEW,
lv_IV_VIEW_NAME TYPE /BOFU/FBI_VIEW,
lv_other TYPE c.
CALL METHOD /BOFU/CL_GBI_ADAPTER=>DEFINE_ACTIONS(
EXPORTING
IO_ENTITY = lv_IO_ENTITY
IO_MODEL = lv_IO_MODEL
IO_VIEW = lv_IO_VIEW
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