CREATE_1 SAP Method Create Node









Below is documentation, parameters and attributes of ABAP Method CREATE_1 within SAP class /BOBF/CL_LIB_APPL_TEMPLATE. 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/CL_LIB_APPL_TEMPLATE 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_1 can also be found below:

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


Parameters of Method CREATE_1

.

NameTypeData TypeDescriptionDefault Value
IS_DATAImportingTYPE REF TO
DATA
Data
IT_CHANGED_ATTRIBUTESImportingTYPE
/BOBF/T_FRW_NAME
List of Names (e.g. Fieldnames)
IV_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_NODE_CATImportingTYPE
/BOBF/OBM_NODE_CAT_KEY
Node Category
IV_ROOT_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID of Root Instance
IV_SOURCE_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID of Parent Instance
EV_KEYExportingTYPE
/BOBF/CONF_KEY
NodeID



Exceptions of Method CREATE_1

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/CL_LIB_APPL_TEMPLATE.
DATA: lv_EV_KEY TYPE /BOBF/CONF_KEY,
lv_IS_DATA TYPE DATA,
lv_IT_CHANGED_ATTRIBUTES TYPE /BOBF/T_FRW_NAME,
lv_IV_KEY TYPE /BOBF/CONF_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_other TYPE c.

CALL METHOD lo_class=>CREATE_1(
EXPORTING
IS_DATA = lv_IS_DATA
IT_CHANGED_ATTRIBUTES = lv_IT_CHANGED_ATTRIBUTES
IV_KEY = lv_IV_KEY
IV_NODE_CAT = lv_IV_NODE_CAT
IV_ROOT_KEY = lv_IV_ROOT_KEY
IV_SOURCE_KEY = lv_IV_SOURCE_KEY
IMPORTING
EV_KEY = lv_EV_KEY ).

Links to Related Class(s)

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