CALCULATE_TREE_INDENT SAP Method Return the number of spaces needed to indent
Below is documentation, parameters and attributes of ABAP Method CALCULATE_TREE_INDENT within SAP class CL_CHTMLB_XML_PROVIDER. 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 CL_CHTMLB_XML_PROVIDER 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 directlyThe following technical details of method CALCULATE_TREE_INDENT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CALCULATE_TREE_INDENT
.| Name | Type | Data Type | Description | Default Value |
| IR_TREE_MODEL | Importing | TYPE REF TO CL_BSP_WD_CONTEXT_NODE_TREE | Special Context Node for Tree-Table View | |
| IV_INDEX | Importing | TYPE I | Row of Interest | |
| RV_RETURN | Returning | TYPE STRING |
Exceptions of Method CALCULATE_TREE_INDENT
This method does not have any exceptionsExample 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_IR_TREE_MODEL TYPE CL_BSP_WD_CONTEXT_NODE_TREE,
lv_IV_INDEX TYPE I,
lv_RV_RETURN TYPE STRING,
lv_other TYPE c.
CALL METHOD CL_CHTMLB_XML_PROVIDER=>CALCULATE_TREE_INDENT(
EXPORTING
IR_TREE_MODEL = lv_IR_TREE_MODEL
IV_INDEX = lv_IV_INDEX
RECEIVING
RV_RETURN = lv_RV_RETURN )
"Alternate coding for Method Call with returning parameter
lv_RV_RETURN = CL_CHTMLB_XML_PROVIDER=>CALCULATE_TREE_INDENT(
EXPORTING
IR_TREE_MODEL = lv_IR_TREE_MODEL
IV_INDEX = lv_IV_INDEX ).
Links to Related Class(s)
CL_CHTML...Full list of available SAP object classes
Search for further information about these or an SAP related objects