CREATE SAP Method Create









Below is documentation, parameters and attributes of ABAP Method CREATE within SAP class /BOBF/IF_FRW_MODIFY. 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 /BOBF/IF_FRW_MODIFY into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

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

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


Parameters of Method CREATE

.

NameTypeData TypeDescriptionDefault Value
IS_DATAImportingTYPE REF TO
DATA
Data
IT_CHANGED_FIELDSImportingTYPE
/BOBF/T_FRW_NAME
List of Names (e.g. Fieldnames)
IV_ASSOC_KEYImportingTYPE
/BOBF/OBM_ASSOC_KEY
Association
IV_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_NODEImportingTYPE
/BOBF/OBM_NODE_KEY
Node to Create
IV_NODE_CATImportingTYPE
/BOBF/OBM_NODE_CAT_KEY
Node Type Key
IV_ROOT_KEYImportingTYPE
/BOBF/CONF_KEY
Root NodeID
IV_SOURCE_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID of Parent Instance
IV_SOURCE_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Parent Node
EV_KEYExportingTYPE
/BOBF/CONF_KEY



Exceptions of Method CREATE

EV_KEYExportingTYPE
/BOBF/CONF_KEY/BOBF/CX_FRW_CONTRCT_VIOLATION -

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/IF_FRW_MODIFY.
DATA: lv_EV_KEY TYPE /BOBF/CONF_KEY,
lv_IS_DATA TYPE DATA,
lv_IT_CHANGED_FIELDS TYPE /BOBF/T_FRW_NAME,
lv_IV_ASSOC_KEY TYPE /BOBF/OBM_ASSOC_KEY,
lv_IV_KEY TYPE /BOBF/CONF_KEY,
lv_IV_NODE TYPE /BOBF/OBM_NODE_KEY,
lv_IV_NODE_CAT TYPE /BOBF/OBM_NODE_CAT_KEY,
lv_IV_ROOT_KEY TYPE /BOBF/CONF_KEY,
lv_IV_SOURCE_KEY TYPE /BOBF/CONF_KEY,
lv_IV_SOURCE_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>CREATE(
EXPORTING
IS_DATA = lv_IS_DATA
IT_CHANGED_FIELDS = lv_IT_CHANGED_FIELDS
IV_ASSOC_KEY = lv_IV_ASSOC_KEY
IV_KEY = lv_IV_KEY
IV_NODE = lv_IV_NODE
IV_NODE_CAT = lv_IV_NODE_CAT
IV_ROOT_KEY = lv_IV_ROOT_KEY
IV_SOURCE_KEY = lv_IV_SOURCE_KEY
IV_SOURCE_NODE_KEY = lv_IV_SOURCE_NODE_KEY
IMPORTING
EV_KEY = lv_EV_KEY ).

Links to Related Class(s)

/BOBF/IF...
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!