SAP ABAP Class CL_WB_ENH_UTILITIES (Utilities for ENH Tree Structure)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-ENH (Application Component) Enhancement Tools
     SEEF_ENH_BROWSER (Package) Enhancement Info System
Properties
Class CL_WB_ENH_UTILITIES  
Short Description Utilities for ENH Tree Structure    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEEF_ENH_BROWSER   Enhancement Info System 
Created 20041109   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WB_ENH_UTILITIES has no forward declaration.
Interfaces
Class CL_WB_ENH_UTILITIES has no interface implemented.
Friends
Class CL_WB_ENH_UTILITIES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONST_COMPOSITE_CYCLE_ICON Static Attribute Private Type reference (TYPE) TV_IMAGE Icons Table 20120604
2 CONST_NODE_TYPE_ENHC Constant Private Type reference (TYPE) SEU_TYPE 'OXF' Node Type 20101014
3 CONST_NODE_TYPE_ENHO Constant Private Type reference (TYPE) SEU_TYPE 'OXH' Node Type 20101014
4 CONST_NODE_TYPE_ENHS Constant Private Type reference (TYPE) SEU_TYPE 'OXS' Node Type 20101014
5 CONST_NODE_TYPE_ENSC Constant Private Type reference (TYPE) SEU_TYPE 'OXT' Node Type 20101014
6 IT_ECEC Instance attribute Private Type reference (TYPE) ENHCOMPCHILDCOMP_IT 20120604
7 IT_SCSC Instance attribute Private Type reference (TYPE) ENHSPOTCOMPCOMP_IT 20120604
8 UPGRADE Instance attribute Private Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20041228
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_COMPLETE_TREE Instance method Private Method Complete Setup of Composite Tree 20120604
2 BUILD_HEADER Instance method Private Method Created Header Node 20041112
3 CLASS_CONSTRUCTOR Static method Public Constructor 20120604
4 GET_COMPOSITE_CHILD_HIERARCHY Instance method Private Method Determine Hierarchy of Child Composites (Incl. ENHOs) 20101014
5 GET_COMPOSITE_PARENT_HIERARCHY Instance method Private Method Determine Hierarchy of Parent Composites 20101014
6 GET_TREE Instance method Public Method Tres Structure for an Enhancement Object 20101014
7 GET_TREE_FOR_ENHO_WITH_COMPS Instance method Private Method Tree Structure per ENHO, Including ENHO Composite Hierarchy 20101014
8 GET_TREE_FOR_SPOTS_WITH_COMPS Instance method Private Method Tree Structure per Spot, Including Spot Composite Hierarchy 20101014
9 GET_TREE_XA Instance method Public Method Create TREE for TREE Type XA (ALL) 20041109
10 GET_TREE_XF Instance method Public Method Create TREE for TREE Type XF (Enhancement Comp. in Context) 20041110
11 GET_TREE_XH Instance method Public Method Create TREE for TREE Type XH (Enhancement in Context) 20041109
12 GET_TREE_XS Instance method Public Method Create TREE for TREE Type XS (Enh. Spot in Context) 20041109
13 GET_TREE_XT Instance method Public Method Create TREE for TREE Type XH (Enhancement in Context) 20041117
14 RESET_UPGRADE_MODE Instance method Public Method Reset Upgrade Mode Processing 20041228
15 REVERT_TREE_NODE_ORDER Instance method Private Method Turn Around Tree Nodes: Root Becomes Leaf 20101014
16 SET_UPGRADE_MODE Instance method Public Method Set Upgrade Mode Processing 20041228
Events
Class CL_WB_ENH_UTILITIES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_COMPOSITE_HIERARCHY_LINE Private See coding 20120531 begin of ty_composite_hierarchy_line, parent type enhname, child type enhname, flag type c length 1, "indicator for beeing processed end of ty_composite_hierarchy_line
2 TY_COMPOSITE_HIERARCHY_TAB Private See coding 20120531 ty_composite_hierarchy_tab type standard table of ty_composite_hierarchy_line
Method Signatures

Method BUILD_COMPLETE_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPOSITE_TYPE Call by reference Type reference (TYPE) SEU_OBJTYP WB Request: (Interner) Typ eines Objekts der ABAP Workbench 20120604
2 Importing P_START_LEVEL Call by reference Type reference (TYPE) SNODE-TLEVEL Level eines Knotens 20120604
3 Exporting P_TREE Call by reference Type reference (TYPE) SNODETAB Tabelle von Baumknoten 20120604

Method BUILD_COMPLETE_TREE on class CL_WB_ENH_UTILITIES has no exception.

Method BUILD_HEADER 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) SNODETEXT-TLEVEL Level eines Knotens 20041112
2 Importing P_TEXT Call by reference Type reference (TYPE) C CHAR40 fuer SYST 20041112
3 Importing P_TYPE Call by reference Type reference (TYPE) SEU_OBJTYP Knotentyp 20041112
4 Returning TREE_ENTRY Value transfer Type reference (TYPE) SNODETEXT Tabelle von Baumknoten 20041115

Method BUILD_HEADER on class CL_WB_ENH_UTILITIES has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WB_ENH_UTILITIES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WB_ENH_UTILITIES has no exception.

Method GET_COMPOSITE_CHILD_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPOSITE Call by reference Type reference (TYPE) ENHCOMPOSITENAME Id einer zusammengesetzten Erweiterungsimplementierung 20101014
2 Importing P_LEVEL Call by reference Type reference (TYPE) SNODE-TLEVEL Erster Level für die Kindknoten 20101014
3 Returning P_TREE_TAB Value transfer Type reference (TYPE) SNODETAB Tabelle von Baumknoten 20101014
4 Importing P_TYPE Call by reference Type reference (TYPE) SEU_OBJTYP type to define ENHO or ENHS composite hierarchy 20101014

Method GET_COMPOSITE_CHILD_HIERARCHY on class CL_WB_ENH_UTILITIES has no exception.

Method GET_COMPOSITE_PARENT_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_COMPOSITE Call by reference Type reference (TYPE) ENHCOMPOSITENAME Id einer zusammengesetzten Erweiterungsimplementierung 20101014
2 Importing P_LEVEL Call by reference Type reference (TYPE) SNODE-TLEVEL Level mit dem p_composite in Tree eingefügt werden soll 20101014
3 Returning P_TREE_TAB Value transfer Type reference (TYPE) SNODETAB Tabelle von Baumknoten 20101014
4 Importing P_TYPE Call by reference Type reference (TYPE) SEU_OBJTYP type to define ENHO or ENHS composite hierarchy 20101014

Method GET_COMPOSITE_PARENT_HIERARCHY on class CL_WB_ENH_UTILITIES has no exception.

Method GET_TREE 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) SNODE-TLEVEL Level eines Knotens 20101014
2 Importing P_NAME Call by reference Type reference (TYPE) ENHNAME Id eines Enhancements 20101014
3 Returning P_TREE_TAB Value transfer Type reference (TYPE) SNODETAB Tabelle von Baumknoten 20101014
4 Importing P_TYPE Call by reference Type reference (TYPE) SEU_OBJTYP (Interner) Typ eines Objekts der ABAP Workbench 20101014
# Exception Resumable Description Created on
1 CX_ENH_IO_ERROR Enrweiterungsobjekt existiert nicht 20101014

Method GET_TREE_FOR_ENHO_WITH_COMPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_ENHO_TAB Value transfer Type reference (TYPE) ENHNAME_IT Interne Tabelle über ENHNAME 20101014
2 Importing P_LEVEL Value transfer Type reference (TYPE) SNODE-TLEVEL 20101014
3 Changing P_TREE_TAB Value transfer Type reference (TYPE) SNODETAB 20101014

Method GET_TREE_FOR_ENHO_WITH_COMPS on class CL_WB_ENH_UTILITIES has no exception.

Method GET_TREE_FOR_SPOTS_WITH_COMPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_LEVEL Value transfer Type reference (TYPE) SNODE-TLEVEL 20101014
2 Importing P_SPOT_TAB Value transfer Type reference (TYPE) ENHSPOTNAME_IT 20101014
3 Changing P_TREE_TAB Value transfer Type reference (TYPE) SNODETAB 20101014

Method GET_TREE_FOR_SPOTS_WITH_COMPS on class CL_WB_ENH_UTILITIES has no exception.

Method GET_TREE_XA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_LEVEL Call by reference Type reference (TYPE) SNODE-TLEVEL Level eines Knotens 20041109
2 Changing P_TREE Value transfer Type reference (TYPE) SNODETAB Tabelle von Baumknoten 20041109

Method GET_TREE_XA on class CL_WB_ENH_UTILITIES has no exception.

Method GET_TREE_XF 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) SNODE-TLEVEL Level eines Knotens 20041110
2 Importing P_NAME Call by reference Type reference (TYPE) ENHNAME Id eines Enhancements 20041110
3 Returning P_TREE Value transfer Type reference (TYPE) SNODETAB Zusatzinformation für Hierarchieknoten 20041110
# Exception Resumable Description Created on
1 ENHCOMPOSITE_NOT_FOUND Das eingegebene Enhancement ist nicht vorhanden 20041117
2 ENH_IN_MANY_COMPS Das Enhancement ist mehr als einem Enhancement-Composite zug 20041110
3 ENH_IN_MANY_SPOTS Das Enhancement ist mehr als einem SPOT zugeordnet 20041110
4 SPOT_IN_MANY_COMPS Der SPOT ist mehr als einem Composite zugeordnet 20041110
5 XH_NOT_FOUND Das Enhancement ist nicht im Gesamtbaum vorhanden 20041110

Method GET_TREE_XH 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) SNODE-TLEVEL Level eines Knotens 20041109
2 Importing P_NAME Call by reference Type reference (TYPE) ENHNAME Id eines Enhancements 20041109
3 Returning P_TREE Value transfer Type reference (TYPE) SNODETAB Zusatzinformation für Hierarchieknoten 20041109
# Exception Resumable Description Created on
1 ENHANCEMENT_NOT_FOUND Das eingegebene Enhancement ist nicht vorhanden 20041109
2 ENH_IN_MANY_COMPS Das Enhancement ist mehr als einem Enhancement-Composite zug 20041109
3 ENH_IN_MANY_SPOTS Das Enhancement ist mehr als einem SPOT zugeordnet 20041109
4 SPOT_IN_MANY_COMPS Der SPOT ist mehr als einem Composite zugeordnet 20041109
5 XH_NOT_FOUND Das Enhancement ist nicht im Gesamtbaum vorhanden 20041109

Method GET_TREE_XS 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) SNODE-TLEVEL Level eines Knotens 20041109
2 Importing P_NAME Call by reference Type reference (TYPE) ENHSPOTNAME Name (ID) eines Enhancement Spots 20041109
3 Returning P_TREE Value transfer Type reference (TYPE) SNODETAB Tabelle von Baumknoten 20041109
# Exception Resumable Description Created on
1 CX_ENH_WB_XS_NOT_FOUND Spot not found 20050317

Method GET_TREE_XT 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) SNODE-TLEVEL Level eines Knotens 20041117
2 Importing P_NAME Call by reference Type reference (TYPE) ENHNAME Id eines Enhancements 20041117
3 Returning P_TREE Value transfer Type reference (TYPE) SNODETAB Zusatzinformation für Hierarchieknoten 20041117
# Exception Resumable Description Created on
1 ENHCOMPOSITE_NOT_FOUND Das eingegebene Enhancement ist nicht vorhanden 20041117
2 ENH_IN_MANY_COMPS Das Enhancement ist mehr als einem Enhancement-Composite zug 20041117
3 ENH_IN_MANY_SPOTS Das Enhancement ist mehr als einem SPOT zugeordnet 20041117
4 SPOT_IN_MANY_COMPS Der SPOT ist mehr als einem Composite zugeordnet 20041117
5 XH_NOT_FOUND Das Enhancement ist nicht im Gesamtbaum vorhanden 20041117

Method RESET_UPGRADE_MODE Signature

Method RESET_UPGRADE_MODE on class CL_WB_ENH_UTILITIES has no parameter.
Method RESET_UPGRADE_MODE on class CL_WB_ENH_UTILITIES has no exception.

Method REVERT_TREE_NODE_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_MAX_LEVEL Call by reference Type reference (TYPE) SNODE-TLEVEL Größter Level im Baum 20101014
2 Exporting P_MIN_LEVEL Call by reference Type reference (TYPE) SNODE-TLEVEL Kleinster Level im Baum 20101014
3 Changing P_TREE_TAB Call by reference Type reference (TYPE) SNODETAB Tabelle von Baumknoten 20101014

Method REVERT_TREE_NODE_ORDER on class CL_WB_ENH_UTILITIES has no exception.

Method SET_UPGRADE_MODE Signature

Method SET_UPGRADE_MODE on class CL_WB_ENH_UTILITIES has no parameter.
Method SET_UPGRADE_MODE on class CL_WB_ENH_UTILITIES has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700