DELETE_ROOT_NODE SAP Method Deletes the Root Node of the BO









Below is documentation, parameters and attributes of ABAP Method DELETE_ROOT_NODE within SAP class /BOBF/CL_CONF_MODEL_API. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_CONF_MODEL_API 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 DELETE_ROOT_NODE can also be found below:

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


Parameters of Method DELETE_ROOT_NODE

.

NameTypeData TypeDescriptionDefault Value
IV_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
IV_DELETE_COMBINED_STRUCTUREImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_DELETE_COMBINED_TABLE_TYPEImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_DELETE_DATABASE_TABLEImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_DELETE_DATA_STRUCTUREImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_DELETE_TRANSIENT_DATA_TYPEImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_SIMULATEDImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_VERSION_KEYImportingTYPE
/BOBF/OBM_OBJ_KEY
NodeID
EV_SUCCESSReturningTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method DELETE_ROOT_NODE

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_EV_SUCCESS TYPE BOOLE_D,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_DELETE_COMBINED_STRUCTURE TYPE BOOLE_D,
lv_IV_DELETE_COMBINED_TABLE_TYPE TYPE BOOLE_D,
lv_IV_DELETE_DATABASE_TABLE TYPE BOOLE_D,
lv_IV_DELETE_DATA_STRUCTURE TYPE BOOLE_D,
lv_IV_DELETE_TRANSIENT_DATA_TYPE TYPE BOOLE_D,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_SIMULATED TYPE BOOLE_D,
lv_IV_VERSION_KEY TYPE /BOBF/OBM_OBJ_KEY,
lv_other TYPE c.

CALL METHOD /BOBF/CL_CONF_MODEL_API=>DELETE_ROOT_NODE(
EXPORTING
IV_BO_KEY = lv_IV_BO_KEY
IV_DELETE_COMBINED_STRUCTURE = lv_IV_DELETE_COMBINED_STRUCTURE
IV_DELETE_COMBINED_TABLE_TYPE = lv_IV_DELETE_COMBINED_TABLE_TYPE
IV_DELETE_DATABASE_TABLE = lv_IV_DELETE_DATABASE_TABLE
IV_DELETE_DATA_STRUCTURE = lv_IV_DELETE_DATA_STRUCTURE
IV_DELETE_TRANSIENT_DATA_TYPE = lv_IV_DELETE_TRANSIENT_DATA_TYPE
IV_NODE_KEY = lv_IV_NODE_KEY
IV_SIMULATED = lv_IV_SIMULATED
IV_VERSION_KEY = lv_IV_VERSION_KEY
RECEIVING
EV_SUCCESS = lv_EV_SUCCESS )



"Alternate coding for Method Call with returning parameter
lv_EV_SUCCESS = /BOBF/CL_CONF_MODEL_API=>DELETE_ROOT_NODE(
EXPORTING
IV_BO_KEY = lv_IV_BO_KEY
IV_DELETE_COMBINED_STRUCTURE = lv_IV_DELETE_COMBINED_STRUCTURE
IV_DELETE_COMBINED_TABLE_TYPE = lv_IV_DELETE_COMBINED_TABLE_TYPE
IV_DELETE_DATABASE_TABLE = lv_IV_DELETE_DATABASE_TABLE
IV_DELETE_DATA_STRUCTURE = lv_IV_DELETE_DATA_STRUCTURE
IV_DELETE_TRANSIENT_DATA_TYPE = lv_IV_DELETE_TRANSIENT_DATA_TYPE
IV_NODE_KEY = lv_IV_NODE_KEY
IV_SIMULATED = lv_IV_SIMULATED
IV_VERSION_KEY = lv_IV_VERSION_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!