SAP CL_GUI_ALV_TREE_WRAPPER OO Class - CFW for variable column sort - ALV Tree
CL_GUI_ALV_TREE_WRAPPER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_GUI_ALV_TREE_WRAPPER including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of CL_GUI_ALV_TREE_WRAPPER SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
Method Name | Description | Visability |
CONSTRUCTOR | CONSTRUCTOR | Public |
CALL METHOD cl_gui_alv_tree_wrapper=>CONSTRUCTOR...more details | ||
CREATE_INPUT_TABLE_LINE_REF | Create input table line reference | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>CREATE_INPUT_TABLE_LINE_REF...more details | ||
DISPLAY_TREE | Display tree | Public |
CALL METHOD cl_gui_alv_tree_wrapper=>DISPLAY_TREE...more details | ||
FCAT_NO_OUT | Field Catalog - Set the NO OUT fields | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>FCAT_NO_OUT...more details | ||
FREE | Destructor | Public |
CALL METHOD cl_gui_alv_tree_wrapper=>FREE...more details | ||
GENERATE_SUBROUTINE_AND_SORT | Generate Subroutine and sort | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>GENERATE_SUBROUTINE_AND_SORT...more details | ||
| ||
ON_TOOLBAR_DROPDOWN_CLICKED | Toolbar Dropdown menu | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>ON_TOOLBAR_DROPDOWN_CLICKED...more details | ||
ON_TOOLBAR_FUNCTION_SELECTED | Function Selected In Toolbar | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>ON_TOOLBAR_FUNCTION_SELECTED...more details | ||
PREPARE_FIELD_CATALOG | Validate the sort criteria - internal | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_FIELD_CATALOG...more details | ||
PREPARE_FIELD_CATALOG1 | Validate the sort criteria - internal | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_FIELD_CATALOG1...more details | ||
PREPARE_FIELD_CATALOG2 | Validate the sort criteria - internal | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_FIELD_CATALOG2...more details | ||
PREPARE_HIERARCHY_HEADER | Preparation of Hierarchy Header | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_HIERARCHY_HEADER...more details | ||
PREPARE_PRESENTATION | Prepare Presentation | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_PRESENTATION...more details | ||
PREPARE_SORT_CRITERIA | Validate the sort criteria - internal | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_SORT_CRITERIA...more details | ||
PREPARE_TOOLBAR | Prepare toolbar | Private |
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_TOOLBAR...more details |
CL_GUI_ALV_TREE_WRAPPER attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
Name | Level | Description | Initial Value | Type | Visability |
ALV_TREE | Instance Attribute | ALV Tree Control | LIKE CL_GUI_ALV_TREE | Protected | |
G_TOOLBAR | Instance Attribute | Toolbar | LIKE CL_GUI_TOOLBAR | Protected | |
INPUT_TABLE_REFERENCE | Instance Attribute | Global Input Table | LIKE DATA | Private | |
M_HIERARCHY_HEADER | Instance Attribute | Hierarchy Header | LIKE TREEV_HHDR | Private | |
M_INPUT_TABLE_LINE_REF | Instance Attribute | Input table line reference | LIKE DATA | Private | |
M_PROFILE_KEY | Instance Attribute | Profile Key - System entered | LIKE ADTCF_MASTER-PROFILE_KEY | Private | |
M_PROFILE_OKCODE_PREFIX | Constant | Screens, function code triggered by PAI | '#PROFILE_' | LIKE SY-UCOMM | Private |
M_PROGRAM_NAME | Instance Attribute | Program name | LIKE SY-CPROG | Private | |
M_USER_ID | Instance Attribute | User Id | LIKE SY-UNAME | Private | |
TREE_TABLE_REFERENCE | Instance Attribute | Data Table Reference | LIKE DATA | Private |
Events of Class CL_GUI_ALV_TREE_WRAPPER
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... ERROR_DURING_GENERATION - Generation Error OccuredCL_GUI_ALV_TREE_WRAPPER types
SORT_CRITERIA_INTERNAL - Internal Sort CriteriaSORT_FIELD_REC_INTERNAL - Sort Criteria Record (Internal)
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