SAP CL_GCM_WORKLIST_TREE OO Class - CM: Worklist









CL_GCM_WORKLIST_TREE 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_GCM_WORKLIST_TREE including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Inheritance

This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_GCM_WORKLIST_TREE is CL_GUI_ALV_TREE

Method list of CL_GCM_WORKLIST_TREE 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
BUILD_FIELD_CATALOGHelp method: Generate field catalog for ALVProtected
CALL METHOD cl_gcm_worklist_tree=>BUILD_FIELD_CATALOG...more details

BUILD_MENUHelp method: Assembly of the context menuProtected
CALL METHOD cl_gcm_worklist_tree=>BUILD_MENU...more details

CHANGE_TOOLBARHelp method: Create the toolbar above the worklistProtected
CALL METHOD cl_gcm_worklist_tree=>CHANGE_TOOLBAR...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_gcm_worklist_tree=>CLASS_CONSTRUCTOR...more details

CONSTRUCTORConstructorPublic
CALL METHOD cl_gcm_worklist_tree=>CONSTRUCTOR...more details

FRONTEND_UPDATE_ALLUpdate all instancesProtected
CALL METHOD cl_gcm_worklist_tree=>FRONTEND_UPDATE_ALL...more details

H_CMOS_COMPAREHelp method: Comparison of several CMO structuresPrivate
CALL METHOD cl_gcm_worklist_tree=>H_CMOS_COMPARE...more details

H_EXPAND_NODEHelp method: Expand a nodePrivate
CALL METHOD cl_gcm_worklist_tree=>H_EXPAND_NODE...more details

H_GET_CM_OBJECT_DATAHelp method: Enhance detail data for CM objectPrivate
CALL METHOD cl_gcm_worklist_tree=>H_GET_CM_OBJECT_DATA...more details

H_GET_ITEMHelp method: Recursive search for hierachy entryPrivate
CALL METHOD cl_gcm_worklist_tree=>H_GET_ITEM...more details

H_GET_NODE_KEYHelp method: Recursive determination of nodesPrivate
CALL METHOD cl_gcm_worklist_tree=>H_GET_NODE_KEY...more details

H_GET_SELECTED_ITEMSHelp method: Delivers the selected entriesPrivate
CALL METHOD cl_gcm_worklist_tree=>H_GET_SELECTED_ITEMS...more details

H_NODE_ICONHelp method: Determines the iconPrivate
CALL METHOD cl_gcm_worklist_tree=>H_NODE_ICON...more details

H_NODE_TEXTHelp method: Determines the node textPrivate
CALL METHOD cl_gcm_worklist_tree=>H_NODE_TEXT...more details

H_ON_INSERTHelp method: Adds entry to the worklistProtected
CALL METHOD cl_gcm_worklist_tree=>H_ON_INSERT...more details

H_UPDATE_DETAIL_DATAHelp method: Detail data for new entriesPrivate
CALL METHOD cl_gcm_worklist_tree=>H_UPDATE_DETAIL_DATA...more details

ITEMS_DELETEDelete list of worklist entriesPublic
CALL METHOD cl_gcm_worklist_tree=>ITEMS_DELETE...more details

ITEMS_INSERTAdd list of worklist entriesPublic
CALL METHOD cl_gcm_worklist_tree=>ITEMS_INSERT...more details

ITEMS_UPDATEUpdate list of worklist entriesPublic
CALL METHOD cl_gcm_worklist_tree=>ITEMS_UPDATE...more details

ITEM_DELETEDelete worklist entryPublic
CALL METHOD cl_gcm_worklist_tree=>ITEM_DELETE...more details

ITEM_INSERTAdd worklist entryPublic
CALL METHOD cl_gcm_worklist_tree=>ITEM_INSERT...more details

ITEM_UPDATEUpdate worklist entryPublic
CALL METHOD cl_gcm_worklist_tree=>ITEM_UPDATE...more details

ON_DELETEDelete entry in the worklistProtected
CALL METHOD cl_gcm_worklist_tree=>ON_DELETE...more details

ON_DROPDOWN_CLICKEDDropdown field activatedProtected
CALL METHOD cl_gcm_worklist_tree=>ON_DROPDOWN_CLICKED...more details

ON_EXPAND_NCNode expandedProtected
CALL METHOD cl_gcm_worklist_tree=>ON_EXPAND_NC...more details

ON_FRONTEND_UPDATEUpdate Front EndProtected
CALL METHOD cl_gcm_worklist_tree=>ON_FRONTEND_UPDATE...more details

ON_FUNCTION_SELECTEDToolbar actovatedProtected
CALL METHOD cl_gcm_worklist_tree=>ON_FUNCTION_SELECTED...more details

ON_INSERTAdd entry to worklistProtected
CALL METHOD cl_gcm_worklist_tree=>ON_INSERT...more details

ON_ITEM_CONTEXT_MENU_REQUESTContext menu request for worklist entries (multiple poss.)Protected
CALL METHOD cl_gcm_worklist_tree=>ON_ITEM_CONTEXT_MENU_REQUEST...more details

ON_ITEM_CONTEXT_MENU_SELECTEDContext menu command for worklist entries (multiple poss.)Protected
CALL METHOD cl_gcm_worklist_tree=>ON_ITEM_CONTEXT_MENU_SELECTED...more details

ON_ITEM_DOUBLE_CLICKDouble click on worklist entry (multiple possibilities)Protected
CALL METHOD cl_gcm_worklist_tree=>ON_ITEM_DOUBLE_CLICK...more details

ON_NODE_CONTEXT_MENU_REQUESTContext menu request for worklist nodeProtected
CALL METHOD cl_gcm_worklist_tree=>ON_NODE_CONTEXT_MENU_REQUEST...more details

ON_NODE_CONTEXT_MENU_SELECTEDContext menu command for worklist nodesProtected
CALL METHOD cl_gcm_worklist_tree=>ON_NODE_CONTEXT_MENU_SELECTED...more details

ON_NODE_DOUBLE_CLICKDouble click on worklist nodesProtected
CALL METHOD cl_gcm_worklist_tree=>ON_NODE_DOUBLE_CLICK...more details

ON_ON_DRAG_MULTIPLEDrag result for several entriesProtected
CALL METHOD cl_gcm_worklist_tree=>ON_ON_DRAG_MULTIPLE...more details

ON_ON_DROPDrop EventProtected
CALL METHOD cl_gcm_worklist_tree=>ON_ON_DROP...more details

ON_PBOREsult handler for PBOProtected
CALL METHOD cl_gcm_worklist_tree=>ON_PBO...more details

ON_UPDATEUpdate entry in the worklistProtected
CALL METHOD cl_gcm_worklist_tree=>ON_UPDATE...more details

REGISTER_EVENTSHelp method: Register the necessary control eventProtected
CALL METHOD cl_gcm_worklist_tree=>REGISTER_EVENTS...more details

REGISTER_HANDLERHelp method: Register the event handlerProtected
CALL METHOD cl_gcm_worklist_tree=>REGISTER_HANDLER...more details

SAVESave worklistPublic
CALL METHOD cl_gcm_worklist_tree=>SAVE...more details

UNDODiscard changes to worklistPublic
CALL METHOD cl_gcm_worklist_tree=>UNDO...more details



CL_GCM_WORKLIST_TREE 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
C_FAVORITESConstantKey for favorites'FAV'LIKE
CHAR4
Protected
C_SELECTIONConstantKey for selection'SEL'LIKE
CHAR4
Protected
MT_INTERNALInstance Attributedon't modify !LIKE
TAB_CM_COMPL_WORKLIST
Public
MT_MAP_FAVORITESStatic AttributeHelp table: Mapping between int. and ext. displayLIKE
TY_TAB_MAP_FAVORITES
Private
MT_MAP_LC_PHASEStatic AttributeHelp table: Mapping between int. and ext. displayLIKE
TY_TAB_MAP_LC_PHASE
Private
MT_NODE_KEYSInstance AttributeTable With Node KeysLIKE
TY_TAB_NODE_KEYS
Private
MT_PREV_WORKLIST_KEYSInstance AttributeCM: Key table for the worklist interfaceLIKE
TAB_CM_WORKLIST_KEY
Private
MT_SEM_KEYSInstance AttributeTable with semantic keysLIKE
TY_TAB_SEM_KEYS
Private
MT_TO_UPDATE_KEYSInstance AttributeTable with detail data to be updatedLIKE
TY_TAB_SEM_KEYS
Private
MT_WORKLISTStatic AttributeTable work area worklistLIKE
TY_TAB_WORKLIST
Protected
M_DRAGDROP_DESTStatic AttributeBehavior for Drag and DropLIKE
CL_DRAGDROP
Private
M_DRAGDROP_SOURCEStatic AttributeBehavior for Drag and DropLIKE
CL_DRAGDROP
Private
M_FIELDCATALOGStatic AttributeField Catalog for List Viewer ControlLIKE
LVC_T_FCAT
Protected
M_HANDLE_DESTStatic AttributeDrag&Drop handleLIKE
I
Private
M_HANDLE_SOURCEStatic AttributeDrag&Drop handleLIKE
I
Private
M_SCREENInstance AttributeCM: Screen Proxy for Field Transport, OK Code ProcessingLIKE
CL_GCM_SCREEN
Protected


Events of Class CL_GCM_WORKLIST_TREE

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... EV_DELETE - Delete entry in the worklist
EV_FRONTEND_UPDATE - Update All Control Instances
EV_INSERT - Add entry in the worklist
EV_UPDATE - Update entries in the worklist



CL_GCM_WORKLIST_TREE types

TY_MAP_FAVORITES - Mapping between int and ext. display
TY_MAP_LC_PHASE - Mapping between int and ext. display
TY_NODE_KEY - Node keys of tree
TY_SEM_KEY - Semantic keys
TY_TAB_MAP_FAVORITES - Table: Mapping between int and ext. display
TY_TAB_MAP_LC_PHASE - Table: Mapping between int and ext. display
TY_TAB_NODE_KEYS - Table with node keys of trees
TY_TAB_SEM_KEYS - Table with semantic keys
TY_TAB_WORKLIST - Table work area worklist
TY_WORKLIST - Structure table work area worklist

Links to Related Class(s)

CL_GCM_W...
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!