SAP ABAP Class CL_DMWB_TREE_PROVIDER (Basic Class for Provision of Tree Data for the CM Browser)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-KPR-DMF (Application Component) Document Management Framework
     SKBT (Package) Knowledge Base Tools: Tools for the KPro
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DMWB_DEVCL_TREE_PROVIDER Delivery of Package View for the CM Browser 19991022
2 Inheritance (c INHERITING FROM c_ref)  CL_DMWB_MSPC_TREE_PROVIDER Provision of MSPC View Tree Data for the CM Browser 19990709
3 Inheritance (c INHERITING FROM c_ref)  CL_DMWB_VIOCL_TREE_PROVIDER Provision of MSPC View Tree Data for the CM Browser 19990709
Properties
Class CL_DMWB_TREE_PROVIDER  
Short Description Basic Class for Provision of Tree Data for the CM Browser    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SKBT   Knowledge Base Tools: Tools for the KPro 
Created 19990629   SAP 
Last change 20041228   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_DMWB_CM_BROWSER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 DMWB Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DMWB_TREE_PROVIDER has no interface implemented.
Friends
Class CL_DMWB_TREE_PROVIDER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_FIRST_LEVEL Constant Protected Type reference (TYPE) I 2 First Sub-Level Index 19990702
2 C_FOURTH_LEVEL Constant Protected Type reference (TYPE) I 5 Fourth Sub-Level Index 19990702
3 C_ROOT_LEVEL Constant Protected Type reference (TYPE) I 1 Root Level Index 19990630
4 C_SECOND_LEVEL Constant Protected Type reference (TYPE) I 3 Second Sub-Level Index 19990702
5 C_THIRD_LEVEL Constant Protected Type reference (TYPE) I 4 Third Sub-Level Index 19990702
6 M_EXPANDED_NODES Instance attribute Protected Type reference (TYPE) TREEV_NKS Table with Expanded Nodes 19990630
7 M_ICON Instance attribute Public Type reference (TYPE) ICON_L2 Icon for Toolbar Radio Button 19990707
8 M_NODES_PASSED Instance attribute Protected Type reference (TYPE) TREEV_NKS Nodes Passed to Display 20040130
9 M_QUICKINFO Instance attribute Public Type reference (TYPE) ICONQUICK Quickinfo for Toolbar Radio Button 19990707
10 M_SELECTED_NODES Instance attribute Protected Type reference (TYPE) TREEV_NKS Selected Node in Display 19991215
11 M_TOP_NODE Instance attribute Protected Type reference (TYPE) TV_NODEKEY Top Node in Display 19990707
12 M_TREE_DATA Instance attribute Protected Type reference (TYPE) TREE_ENTRY_ITAB_TYPE Table with the Tree Data 19990629
13 M_X_DIRTY Instance attribute Public Type reference (TYPE) XFELD Tree Display Possibly No Longer Current 19990806
Methods
# Method Level Visibility Method type Description Created on
1 CAN_SELECT_ALL_ENTITIES Instance method Public Method Can 'select_entity' Select All Entities? 19991020
2 CONTEXT_MENU_REQUEST Instance method Public Method Provide Context Menu Entries 19991025
3 CONTEXT_MENU_SELECT Instance method Public Method Edit Context Menu Selection 19991025
4 CREATE_ENTITIES Static method Protected Method Generate Entities Object from SDOK Entities 19990712
5 EXPAND_BRANCH Instance method Public Method Expands a Level Below the Entity Concerned 19990629
6 EXPAND_BRANCH_BY_NODE_KEY Instance method Public Method Expands a Level Below the Entity Concerned 19990701
7 EXPAND_BRANCH_INTERNAL Instance method Protected Method Internal Help Function for EXPAND_BRANCH 19990629
8 GET_DISPLAY_STYLE Instance method Private Method Determine Output Style for the Tree Entry of an Entity 19990708
9 GET_ENTITY_OF_NODE Instance method Public Method Determine CM Entity Object for Node Key Concerned 19990709
10 GET_NODEKEY_OF_ENTITY Instance method Protected Method Determine and Return Index of Entity in Tree 19991020
11 GET_PARENT_OF_ENTITY Instance method Public Method Determine Higher Level Entity in Current Tree 19990709
12 GET_ROOT_OF_ENTITY Instance method Public Method Determine Root Entity in Current Tree 19990709
13 GET_SELECTED_ENTITIES Instance method Public Method Determine Selected CM Entity Object 19991215
14 GET_SUBBRANCH Instance method Protected Method Determine Sub-Branch of a Tree Entry 19990629
15 LIST_CM_ENTITY_FOLDERS Static method Protected Method List Directory for Entities 19990708
16 LIST_DEVCLASSES Static method Protected Method List Development Classes 19991022
17 LIST_ENTITIES Static method Protected Method List Entities of an MSPC/Development Class 19991022
18 PREPARE_TREE_CONTROL_NODE Instance method Private Method Format Internal Tree Entry in Tree Ctrl. Format 19990810
19 PREPARE_TREE_CONTROL_NODETAB Instance method Protected Method Prepare a Sub-Branch for the Tree Ctrl. 19990630
20 REFRESH Instance method Public Method Updates the Tree Display 19990720
21 REFRESH_INTERNAL Instance method Private Method Internal Help Function for REFRESH 19990721
22 RESTORE_STATE Instance method Public Method Saved Tree Data Display 19990707
23 SAVE_STATE Instance method Public Method Save the Current Tree Data Display 19990707
24 SELECT_ENTITY Instance method Public Method Expand and Collapse Entity 19991019
25 UPDATE_ENTRY Instance method Public Method Update a Tree Entry 19990809
Events
Class CL_DMWB_TREE_PROVIDER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 REFRESH_ENTRY_ITAB_TYPE Private See coding Table with Temp. Data for Refresh 19990721 refresh_entry_itab_type type standard table of refresh_entry_type
2 REFRESH_ENTRY_TYPE Private See coding Temp Data for Refresh 19990721 begin of refresh_entry_type, idx type i, parent_idx type i, name type sdok_ent, type type skbt_etype , end of refresh_entry_type
3 SDOKMENT_ITAB_TYPE Protected See coding Table of SDOK Entities 19990712 SDOKMENT_ITAB_TYPE type standard table of sdokment
4 TREE_ENTRY_ITAB_TYPE Protected See coding Tree Table 19990629 tree_entry_itab_type type standard table of tree_entry_type
5 TREE_ENTRY_TYPE Protected See coding Entry in Tree Table 19990629 begin of tree_entry_type, level type i, parent_entity type ref to cl_dmwb_cm_entity, entity type ref to cl_dmwb_cm_entity, end of tree_entry_type
Method Signatures

Method CAN_SELECT_ALL_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_X_CAN_SELECT_ALL_ENTITIES Value transfer Type reference (TYPE) XFELD X: Alle Entitäten können selektiert werden 19991020

Method CAN_SELECT_ALL_ENTITIES on class CL_DMWB_TREE_PROVIDER has no exception.

Method CONTEXT_MENU_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Entität, für die der Request erfolgt 19991025
2 Importing P_MENU Call by reference Object reference (TYPE REF TO) CL_CTMENU Referenz auf Menu-Objekt 19991025

Method CONTEXT_MENU_REQUEST on class CL_DMWB_TREE_PROVIDER has no exception.

Method CONTEXT_MENU_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Entität, für die der Request erfolgt 19991025
2 Changing P_FCODE Call by reference Type reference (TYPE) UI_FUNC Ausgewählter Eintrag 19991025
3 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Baumcontrol 19991026

Method CONTEXT_MENU_SELECT on class CL_DMWB_TREE_PROVIDER has no exception.

Method CREATE_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_ENTITIES Call by reference Type reference (TYPE) CM_ENTITY_ITAB_TYPE Tab. mit DMWB Entitätsobjekte 19990712
2 Importing P_SDOK_ENTITIES Call by reference Type reference (TYPE) SDOKMENT_ITAB_TYPE Tab. mit SDOK Entitäten 19990712
3 Importing P_X_EXPANDABLE Call by reference Type reference (TYPE) XFELD Entitäten als 'expandierbar' markieren 19990713

Method CREATE_ENTITIES on class CL_DMWB_TREE_PROVIDER has no exception.

Method EXPAND_BRANCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Zu expandierende Entität (Initial: Rootlevel) 19990629
2 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Tree-Ctrl, in dem der Baum dargestellt wird 19990629

Method EXPAND_BRANCH on class CL_DMWB_TREE_PROVIDER has no exception.

Method EXPAND_BRANCH_BY_NODE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Knoten-Index 19990701
2 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Tree-Ctrl, in dem der Baum dargestellt wird 19990701

Method EXPAND_BRANCH_BY_NODE_KEY on class CL_DMWB_TREE_PROVIDER has no exception.

Method EXPAND_BRANCH_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_PARENT_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Elterneintrag in der Tabelle (Initial: Rootlevel) 19990629
2 Returning P_X_ENTITIES_FOUND Value transfer Type reference (TYPE) XFELD Es wurden Entitäten in dem Unterzweig gefunden 19990827
3 Importing P_X_RECURSIVE Call by reference Type reference (TYPE) XFELD ' ' Rekursiv alle Unterlevel lesen 19991019

Method EXPAND_BRANCH_INTERNAL on class CL_DMWB_TREE_PROVIDER has no exception.

Method GET_DISPLAY_STYLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Entität 19990708
2 Returning P_STYLE Value transfer Type reference (TYPE) INT4 Ausgabestil 19990708

Method GET_DISPLAY_STYLE on class CL_DMWB_TREE_PROVIDER has no exception.

Method GET_ENTITY_OF_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_ENTITY Value transfer Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Referenz auf Entitätsobjekt 19990709
2 Importing P_NODE_KEY Call by reference Type reference (TYPE) TV_NODEKEY Schlüssel des Knotens 19990709

Method GET_ENTITY_OF_NODE on class CL_DMWB_TREE_PROVIDER has no exception.

Method GET_NODEKEY_OF_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Type reference (TYPE) SDOKMENT SDOK-Entität 19991020
2 Returning P_NODE_KEY Value transfer Type reference (TYPE) TV_NODEKEY Knoten (=Index in m_tree_data) 19991020

Method GET_NODEKEY_OF_ENTITY on class CL_DMWB_TREE_PROVIDER has no exception.

Method GET_PARENT_OF_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Referenz auf CM-Entität 19990709
2 Returning P_PARENT_ENTITY Value transfer Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Referenz auf übergeordnetes Objekt 19990709

Method GET_PARENT_OF_ENTITY on class CL_DMWB_TREE_PROVIDER has no exception.

Method GET_ROOT_OF_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Referenz auf CM-Entität 19990709
2 Returning P_ROOT_ENTITY Value transfer Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Referenz auf Wurzel-Objekt 19990709

Method GET_ROOT_OF_ENTITY on class CL_DMWB_TREE_PROVIDER has no exception.

Method GET_SELECTED_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_ENTITIES Call by reference Type reference (TYPE) CM_ENTITY_ITAB_TYPE Liste der Entitätsobjekt-Referenzen 19991215
2 Changing P_NON_ENTITIES Call by reference Type reference (TYPE) CM_ENTITY_ITAB_TYPE Liste der Referenzen von Nicht-Entitätsobjekten 19991215
3 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Column Tree Control 19991215

Method GET_SELECTED_ENTITIES on class CL_DMWB_TREE_PROVIDER has no exception.

Method GET_SUBBRANCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_LEVEL Call by reference Type reference (TYPE) I C_ROOT_LEVEL Ebene des Unterzweiges 19990701
2 Importing P_PARENT_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Entität, zu der der Unterbaum ermittelt werden soll 19990702
3 Changing P_SUBBRANCH_ENTITIES Call by reference Type reference (TYPE) CM_ENTITY_ITAB_TYPE Entitäten des Unterbaumes 19990629

Method GET_SUBBRANCH on class CL_DMWB_TREE_PROVIDER has no exception.

Method LIST_CM_ENTITY_FOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_PARENT_FOLDER Call by reference Object reference (TYPE REF TO) CL_DMWB_FOLDER_ENTITY Übergeordneter Ordner (initial: toplevel) 19990708
2 Changing P_SUBBRANCH_ENTITIES Call by reference Type reference (TYPE) CM_ENTITY_ITAB_TYPE Liste der Dokumentenmodellbereichs-Entitäten 19990708

Method LIST_CM_ENTITY_FOLDERS on class CL_DMWB_TREE_PROVIDER has no exception.

Method LIST_DEVCLASSES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_SUBBRANCH_ENTITIES Call by reference Type reference (TYPE) CM_ENTITY_ITAB_TYPE Liste der Dokumentenmodellbereichs-Entitäten 19991022

Method LIST_DEVCLASSES on class CL_DMWB_TREE_PROVIDER has no exception.

Method LIST_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_AUTHOR Call by reference Type reference (TYPE) RESPONSIBL Autor von E-Klasse Objekten 19991026
2 Importing P_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Entwicklungsklasse für Change & Transport Organizer 19991022
3 Importing P_MODELSPACE Call by reference Type reference (TYPE) SDOK_MODSP Einschränkung: Dokumentenmodellbereichs 19991022
4 Importing P_SDOK_TYPE Call by reference Type reference (TYPE) SDOK_ETYPE Gewünschter SDOK-Typ 19991022
5 Changing P_SUBBRANCH_ENTITIES Call by reference Type reference (TYPE) CM_ENTITY_ITAB_TYPE Liste der erzeugten Entitätsobjekte 19991022
6 Importing P_VIRTUAL Call by reference Type reference (TYPE) SDOKMCLS Einschränkung: Abstammung von virtueller Klasse 19991022
7 Importing P_X_EXPANDABLE Call by reference Type reference (TYPE) XFELD Entitäten prinzipiell expandierbar (auf diesem Level) 19991022

Method LIST_ENTITIES on class CL_DMWB_TREE_PROVIDER has no exception.

Method PREPARE_TREE_CONTROL_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_ITEM1 Call by reference Type reference (TYPE) TREE_ENT Eintrag Spalte 1 19990810
2 Changing P_ITEM2 Call by reference Type reference (TYPE) TREE_ENT Eintrag Spalte 2 19990810
3 Changing P_NODE Call by reference Type reference (TYPE) TREEV_NODE Knoten 19990810
4 Importing P_NODE_IDX Value transfer Type reference (TYPE) I Knotennummer (= Tabelleneintragsindex) 19990810
5 Importing P_PARENT_IDX Value transfer Type reference (TYPE) I Eltern-Knotennummer (Initial: Root) 19990810
6 Importing P_TREE_DATA Call by reference Type reference (TYPE) TREE_ENTRY_TYPE Baumdaten-Eintrag 19990810

Method PREPARE_TREE_CONTROL_NODE on class CL_DMWB_TREE_PROVIDER has no exception.

Method PREPARE_TREE_CONTROL_NODETAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_ITEM_ITAB Call by reference Type reference (TYPE) TREE_ENT_ITAB_TYPE Eintragstabelle 19990630
2 Changing P_NODE_ITAB Call by reference Type reference (TYPE) TREEV_NTAB Knotentabelle 19990630
3 Importing P_PARENT_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Eltern-Entität des Unterzweiges (Initial: Rootlevel) 19990630

Method PREPARE_TREE_CONTROL_NODETAB on class CL_DMWB_TREE_PROVIDER has no exception.

Method REFRESH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Tree-Ctrl, in dem der Baum dargestellt wird 19990720

Method REFRESH on class CL_DMWB_TREE_PROVIDER has no exception.

Method REFRESH_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_ITEM_ITAB Call by reference Type reference (TYPE) TREE_ENT_ITAB_TYPE Knoteneintragstabelle 19990721
2 Changing P_NODE_ITAB Call by reference Type reference (TYPE) TREEV_NTAB Knotentabelle 19990721
3 Importing P_PARENT_ENTITY Call by reference Object reference (TYPE REF TO) CL_DMWB_CM_ENTITY Elterneintrag in der Baumdatentabelle 19990721
4 Importing P_REFRESH_ENTRIES Call by reference Type reference (TYPE) REFRESH_ENTRY_ITAB_TYPE Tabelle mit Refresh-Einträgen 19990721
5 Importing P_REFRESH_PARENT_IDX Call by reference Type reference (TYPE) I Index des Elterneintrags in der Refresh-Tabelle 19990721

Method REFRESH_INTERNAL on class CL_DMWB_TREE_PROVIDER has no exception.

Method RESTORE_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Tree-Control, dessen ausgeklappte Knoten zu sichern sind 19990707

Method RESTORE_STATE on class CL_DMWB_TREE_PROVIDER has no exception.

Method SAVE_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Tree-Control, dessen ausgeklappte Knoten zu sichern sind 19990707

Method SAVE_STATE on class CL_DMWB_TREE_PROVIDER has no exception.

Method SELECT_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENTITY Call by reference Type reference (TYPE) SDOKMENT SDOK-Entität 19991019
2 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Tree Control Referenz 19991019

Method SELECT_ENTITY on class CL_DMWB_TREE_PROVIDER has no exception.

Method UPDATE_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_DESCRIPTION Call by reference Type reference (TYPE) SDOK_DESCR Neue Beschreibung 19990809
2 Importing P_ENTITY Call by reference Type reference (TYPE) SDOKMENT Betroffenen Entität 19990809
3 Importing P_TREE_CTRL Call by reference Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Tree-Control, falls Update gewünscht 19990809
4 Importing P_VERSION Call by reference Type reference (TYPE) SDOK_EVERS Neue Version 19990809

Method UPDATE_ENTRY on class CL_DMWB_TREE_PROVIDER has no exception.
History
Last changed by/on SAP  20041228 
SAP Release Created in