DEFINE_ACTION_SHLP SAP Method Define Action for Execution of Search Help
Below is documentation, parameters and attributes of ABAP Method DEFINE_ACTION_SHLP 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_ACTION_SHLP can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DEFINE_ACTION_SHLP
.| Name | Type | Data Type | Description | Default Value |
| IO_MODEL | Importing | TYPE REF TO /IWBEP/IF_MGW_ODATA_MODEL | Interface for a Script-Based Model | |
| IT_PARAMETER | Importing | TYPE /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | |
| IV_ACTION_NAME | Importing | TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME | ||
| IV_ENTITY_NAME | Importing | TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME |
Exceptions of Method DEFINE_ACTION_SHLP
This method does not have any exceptionsExample ABAP coding
DATA: lv_IO_MODEL TYPE /IWBEP/IF_MGW_ODATA_MODEL,
lv_IT_PARAMETER TYPE /IWBEP/T_MGW_NAME_VALUE_PAIR,
lv_IV_ACTION_NAME TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME,
lv_IV_ENTITY_NAME TYPE /IWBEP/IF_MGW_MED_ODATA_TYPES=>TY_E_MED_ENTITY_NAME,
lv_other TYPE c.
CALL METHOD /BOFU/CL_GBI_ADAPTER=>DEFINE_ACTION_SHLP(
EXPORTING
IO_MODEL = lv_IO_MODEL
IT_PARAMETER = lv_IT_PARAMETER
IV_ACTION_NAME = lv_IV_ACTION_NAME
IV_ENTITY_NAME = lv_IV_ENTITY_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