GET_ROOTS_WITH_CHILDREN SAP Method Get Root and Child Nodes to Start Level
Below is documentation, parameters and attributes of ABAP Method GET_ROOTS_WITH_CHILDREN within SAP class IF_RSBOLAP_HIERARCHY_BASE. 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 IF_RSBOLAP_HIERARCHY_BASE 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 GET_ROOTS_WITH_CHILDREN can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_ROOTS_WITH_CHILDREN
.Name | Type | Data Type | Description | Default Value |
I_LEVEL | Importing | TYPE BICS_PROV_HIERARCHY_LEVEL_NUM | Child Nodes to Absolute Depth Level, 0 = Roots Only | |
I_MAX_NODES | Importing | TYPE I | Maximum Number of Nodes to Read | |
E_R_NODES | Exporting | TYPE REF TO DATA | Descendants | |
E_TH_COLUMN_CATALOG | Exporting | TYPE RSBOLAP_SO_TH_MEMBER_ACCESS_CA | Catalog for Member Access |
Exceptions of Method GET_ROOTS_WITH_CHILDREN
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_RSBOLAP_HIERARCHY_BASE.
DATA: lv_E_R_NODES TYPE DATA,
lv_E_TH_COLUMN_CATALOG TYPE RSBOLAP_SO_TH_MEMBER_ACCESS_CA,
lv_I_LEVEL TYPE BICS_PROV_HIERARCHY_LEVEL_NUM,
lv_I_MAX_NODES TYPE I,
lv_other TYPE c.
CALL METHOD lo_class=>GET_ROOTS_WITH_CHILDREN(
EXPORTING
I_LEVEL = lv_I_LEVEL
I_MAX_NODES = lv_I_MAX_NODES
IMPORTING
E_R_NODES = lv_E_R_NODES
E_TH_COLUMN_CATALOG = lv_E_TH_COLUMN_CATALOG ).
Links to Related Class(s)
IF_RSBOL...Full list of available SAP object classes
Search for further information about these or an SAP related objects