INIT_DISPLAY SAP Method of class CL_GUI_ALV_TREE_AUTO_HIERARCHY
Below is documentation, parameters and attributes of ABAP Method INIT_DISPLAY within SAP class CL_GUI_ALV_TREE_AUTO_HIERARCHY. 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 CL_GUI_ALV_TREE_AUTO_HIERARCHY 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 INIT_DISPLAY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method INIT_DISPLAY
.| Name | Type | Data Type | Description | Default Value |
| IS_HIERARCHY_HEADER | Importing | TYPE TREEV_HHDR | Tree Control: Attributes of the Hierarchy Header | |
| IT_FIELD_INFO | Importing | TYPE LVC_T_AUTO_HIERARCHY_INFO | TTYP for LVC_S_AUTO_HIERARCHY_INFO | |
| I_STRUCTURE_NAME | Importing | TYPE DD02L-TABNAME | Table Name | |
| IT_OUTTAB | Changing | TYPE STANDARD TABLE |
Exceptions of Method INIT_DISPLAY
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_GUI_ALV_TREE_AUTO_HIERARCHY.
DATA: lv_IS_HIERARCHY_HEADER TYPE TREEV_HHDR,
lv_IT_FIELD_INFO TYPE LVC_T_AUTO_HIERARCHY_INFO,
lv_IT_OUTTAB TYPE STANDARD TABLE,
lv_I_STRUCTURE_NAME TYPE DD02L-TABNAME,
lv_other TYPE c.
CALL METHOD lo_class=>INIT_DISPLAY(
EXPORTING
IS_HIERARCHY_HEADER = lv_IS_HIERARCHY_HEADER
IT_FIELD_INFO = lv_IT_FIELD_INFO
I_STRUCTURE_NAME = lv_I_STRUCTURE_NAME
CHANGING
IT_OUTTAB = lv_IT_OUTTAB ).
Links to Related Class(s)
CL_GUI_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects