GET_ENTITY SAP Method Get Entity









Below is documentation, parameters and attributes of ABAP Method GET_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 directly

The following technical details of method GET_ENTITY can also be found below:

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


Parameters of Method GET_ENTITY

.

NameTypeData TypeDescriptionDefault Value
IT_KEY_TABImportingTYPE
/IWBEP/T_MGW_NAME_VALUE_PAIR
table for name value pairs
IT_NAVIGATION_PATHImportingTYPE
/IWBEP/T_MGW_NAVIGATION_PATH
table of navigation paths
IV_BOImportingTYPE
/BOFU/BO
Business Object
IV_ENTITY_NAMEImportingTYPE
STRING
IV_ENTITY_SET_NAMEImportingTYPE
STRING
IV_SOURCE_NAMEImportingTYPE
STRING
IV_VIEWImportingTYPE
/BOFU/FBI_VIEW
FBI View
ER_ENTITYExportingTYPE REF TO
DATA



Exceptions of Method GET_ENTITY

/IWBEP/CX_MGW_BUSI_EXCEPTION - Business Exception

Example ABAP coding


DATA: lv_ER_ENTITY TYPE DATA,
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=>GET_ENTITY(
EXPORTING
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



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!