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 NameDescriptionVisability
CONSTRUCTORCONSTRUCTORPublic
CALL METHOD cl_gui_alv_tree_wrapper=>CONSTRUCTOR...more details

CREATE_INPUT_TABLE_LINE_REFCreate input table line referencePrivate
CALL METHOD cl_gui_alv_tree_wrapper=>CREATE_INPUT_TABLE_LINE_REF...more details

DISPLAY_TREEDisplay treePublic
CALL METHOD cl_gui_alv_tree_wrapper=>DISPLAY_TREE...more details

FCAT_NO_OUTField Catalog - Set the NO OUT fieldsPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>FCAT_NO_OUT...more details

FREEDestructorPublic
CALL METHOD cl_gui_alv_tree_wrapper=>FREE...more details

GENERATE_SUBROUTINE_AND_SORTGenerate Subroutine and sortPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>GENERATE_SUBROUTINE_AND_SORT...more details

ON_TOOLBAR_DROPDOWN_CLICKEDToolbar Dropdown menuPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>ON_TOOLBAR_DROPDOWN_CLICKED...more details

ON_TOOLBAR_FUNCTION_SELECTEDFunction Selected In ToolbarPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>ON_TOOLBAR_FUNCTION_SELECTED...more details

PREPARE_FIELD_CATALOGValidate the sort criteria - internalPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_FIELD_CATALOG...more details

PREPARE_FIELD_CATALOG1Validate the sort criteria - internalPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_FIELD_CATALOG1...more details

PREPARE_FIELD_CATALOG2Validate the sort criteria - internalPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_FIELD_CATALOG2...more details

PREPARE_HIERARCHY_HEADERPreparation of Hierarchy HeaderPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_HIERARCHY_HEADER...more details

PREPARE_PRESENTATIONPrepare PresentationPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_PRESENTATION...more details

PREPARE_SORT_CRITERIAValidate the sort criteria - internalPrivate
CALL METHOD cl_gui_alv_tree_wrapper=>PREPARE_SORT_CRITERIA...more details

PREPARE_TOOLBARPrepare toolbarPrivate
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.

NameLevelDescriptionInitial ValueTypeVisability
ALV_TREEInstance AttributeALV Tree ControlLIKE
CL_GUI_ALV_TREE
Protected
G_TOOLBARInstance AttributeToolbarLIKE
CL_GUI_TOOLBAR
Protected
INPUT_TABLE_REFERENCEInstance AttributeGlobal Input TableLIKE
DATA
Private
M_HIERARCHY_HEADERInstance AttributeHierarchy HeaderLIKE
TREEV_HHDR
Private
M_INPUT_TABLE_LINE_REFInstance AttributeInput table line referenceLIKE
DATA
Private
M_PROFILE_KEYInstance AttributeProfile Key - System enteredLIKE
ADTCF_MASTER-PROFILE_KEY
Private
M_PROFILE_OKCODE_PREFIXConstantScreens, function code triggered by PAI'#PROFILE_'LIKE
SY-UCOMM
Private
M_PROGRAM_NAMEInstance AttributeProgram nameLIKE
SY-CPROG
Private
M_USER_IDInstance AttributeUser IdLIKE
SY-UNAME
Private
TREE_TABLE_REFERENCEInstance AttributeData Table ReferenceLIKE
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 Occured



CL_GUI_ALV_TREE_WRAPPER types

SORT_CRITERIA_INTERNAL - Internal Sort Criteria
SORT_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



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!