TREE_ELEMENTS_ASSOC SAP Method Elements of a tree control (dynamic manipulation of assoc)
Below is documentation, parameters and attributes of ABAP Method TREE_ELEMENTS_ASSOC within SAP class /BOBF/CL_CONF_UI_VIEW_MODIFIER. 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_CONF_UI_VIEW_MODIFIER 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 TREE_ELEMENTS_ASSOC can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method TREE_ELEMENTS_ASSOC
.| Name | Type | Data Type | Description | Default Value |
| IS_ASSOC | Importing | TYPE /BOBF/S_CONF_ASSOC | Association | |
| CT_TREE | Changing | TYPE TT_TREE | ||
| CT_TREE_ELEMENT | Changing | TYPE TT_TREE_ELEMENT | ||
| CT_TREE_ELEMENT_DESCR | Changing | TYPE TT_TREE_ELEMENT_DESCR | ||
| CT_TREE_SORT | Changing | TYPE TT_TREE_SORT |
Exceptions of Method TREE_ELEMENTS_ASSOC
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOBF/CL_CONF_UI_VIEW_MODIFIER.
DATA: lv_CT_TREE TYPE TT_TREE,
lv_CT_TREE_ELEMENT TYPE TT_TREE_ELEMENT,
lv_CT_TREE_ELEMENT_DESCR TYPE TT_TREE_ELEMENT_DESCR,
lv_CT_TREE_SORT TYPE TT_TREE_SORT,
lv_IS_ASSOC TYPE /BOBF/S_CONF_ASSOC,
lv_other TYPE c.
CALL METHOD lo_class=>TREE_ELEMENTS_ASSOC(
EXPORTING
IS_ASSOC = lv_IS_ASSOC
CHANGING
CT_TREE = lv_CT_TREE
CT_TREE_ELEMENT = lv_CT_TREE_ELEMENT
CT_TREE_ELEMENT_DESCR = lv_CT_TREE_ELEMENT_DESCR
CT_TREE_SORT = lv_CT_TREE_SORT ).
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