UPDATE_ENTITY SAP Method Update Entity
Below is documentation, parameters and attributes of ABAP Method UPDATE_ENTITY 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 UPDATE_ENTITY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method UPDATE_ENTITY
.| Name | Type | Data Type | Description | Default Value |
| IO_DATA_PROVIDER | Importing | TYPE REF TO /IWBEP/IF_MGW_ENTRY_PROVIDER | MGW Entry Data Provider | |
| IT_KEY_TAB | Importing | TYPE /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | |
| IT_NAVIGATION_PATH | Importing | TYPE /IWBEP/T_MGW_NAVIGATION_PATH | table of navigation paths | |
| IV_BO | Importing | TYPE /BOFU/BO | Business Object | |
| IV_ENTITY_NAME | Importing | TYPE STRING | ||
| IV_ENTITY_SET_NAME | Importing | TYPE STRING | ||
| IV_SOURCE_NAME | Importing | TYPE STRING | ||
| IV_VIEW | Importing | TYPE /BOFU/FBI_VIEW | FBI View | |
| ER_ENTITY | Exporting | TYPE REF TO DATA |
Exceptions of Method UPDATE_ENTITY
/IWBEP/CX_MGW_TECH_EXCEPTION - Technical ExceptionExample ABAP coding
DATA: lv_ER_ENTITY TYPE DATA,
lv_IO_DATA_PROVIDER TYPE /IWBEP/IF_MGW_ENTRY_PROVIDER,
lv_IT_KEY_TAB TYPE /IWBEP/T_MGW_NAME_VALUE_PAIR,
lv_IT_NAVIGATION_PATH TYPE /IWBEP/T_MGW_NAVIGATION_PATH,
lv_IV_BO TYPE /BOFU/BO,
lv_IV_ENTITY_NAME TYPE STRING,
lv_IV_ENTITY_SET_NAME TYPE STRING,
lv_IV_SOURCE_NAME TYPE STRING,
lv_IV_VIEW TYPE /BOFU/FBI_VIEW,
lv_other TYPE c.
CALL METHOD /BOFU/CL_GBI_ADAPTER=>UPDATE_ENTITY(
EXPORTING
IO_DATA_PROVIDER = lv_IO_DATA_PROVIDER
IT_KEY_TAB = lv_IT_KEY_TAB
IT_NAVIGATION_PATH = lv_IT_NAVIGATION_PATH
IV_BO = lv_IV_BO
IV_ENTITY_NAME = lv_IV_ENTITY_NAME
IV_ENTITY_SET_NAME = lv_IV_ENTITY_SET_NAME
IV_SOURCE_NAME = lv_IV_SOURCE_NAME
IV_VIEW = lv_IV_VIEW
IMPORTING
ER_ENTITY = lv_ER_ENTITY ).
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