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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IR_TREE_MODELImportingTYPE REF TO
CL_BSP_WD_CONTEXT_NODE_TREE
Special Context Node for Tree-Table View
IV_INDEXImportingTYPE
I
Row of Interest
RV_RETURNReturningTYPE
STRING



Exceptions of Method CALCULATE_TREE_INDENT

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_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



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!