DEFINE_ENTITY SAP Method Define Entity with Properties, Associations, Actions









Below is documentation, parameters and attributes of ABAP Method DEFINE_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 DEFINE_ENTITY can also be found below:

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


Parameters of Method DEFINE_ENTITY

.

NameTypeData TypeDescriptionDefault Value
IO_MODELImportingTYPE REF TO
/IWBEP/IF_MGW_ODATA_MODEL
interface for a script based model
IS_NODEImportingTYPE
/BOBF/S_CONFRO_NODE
Configuration: Node
IV_BOImportingTYPE
/BOFU/BO
Business Object
IV_NODEImportingTYPE
/BOFU/NODE
Node
IV_VIEWImportingTYPE
/BOFU/FBI_VIEW
FBI View



Exceptions of Method DEFINE_ENTITY

/IWBEP/CX_MGW_MED_EXCEPTION - Meta data exception

Example ABAP coding


DATA: lv_IO_MODEL TYPE /IWBEP/IF_MGW_ODATA_MODEL,
lv_IS_NODE TYPE /BOBF/S_CONFRO_NODE,
lv_IV_BO TYPE /BOFU/BO,
lv_IV_NODE TYPE /BOFU/NODE,
lv_IV_VIEW TYPE /BOFU/FBI_VIEW,
lv_other TYPE c.

CALL METHOD /BOFU/CL_GBI_ADAPTER=>DEFINE_ENTITY(
EXPORTING
IO_MODEL = lv_IO_MODEL
IS_NODE = lv_IS_NODE
IV_BO = lv_IV_BO
IV_NODE = lv_IV_NODE
IV_VIEW = lv_IV_VIEW ).

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!