SAP ABAP Class CL_WB_TREE_COMPARE (Splitscreen Comparison for Two Trees)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-UTL (Application Component) Workbench Utilities
     S_TREECOMPARE (Package) Split Screen Comparison of Two Tree Structures
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_ENH_VERS_TREE_VIEW Splitscreen Comparison for Two Trees 20060511
Properties
Class CL_WB_TREE_COMPARE  
Short Description Splitscreen Comparison for Two Trees    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_TREECOMPARE   Split Screen Comparison of Two Tree Structures 
Created 20050223   SAP 
Last change 20070911   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_WB_IDENTIFY_INTERN_TABLE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_WB_TREE_COMPARE has no interface implemented.
Friends
Class CL_WB_TREE_COMPARE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONTENT_L Instance attribute Private Type reference (TYPE) STRING 20050504
2 CONTENT_R Instance attribute Private Type reference (TYPE) STRING 20050504
3 FIRST_RUN Instance attribute Private Type reference (TYPE) FLAG 'X' General Flag 20050223
4 GS_LAYOUT Instance attribute Protected Type reference (TYPE) LVC_S_LAYO ALV Control: Layout Structure 20050317
5 GT_EXCL_BUTTON Instance attribute Protected Type reference (TYPE) UI_FUNCTIONS Function Code Table 20050307
6 GT_FIELDCAT_GRID Instance attribute Protected Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20050307
7 GT_LEFT Instance attribute Public Object reference (TYPE REF TO) DATA 20050307
8 GT_NAMES_AND_TYPES Instance attribute Public Type reference (TYPE) CL_WB_IDENTIFY_INTERN_TABLE=>NAME_AND_TYPE_TABLE_TYPE 20050225
9 GT_RIGHT Instance attribute Public Object reference (TYPE REF TO) DATA 20050307
10 GT_TREE Instance attribute Public Type reference (TYPE) TREE_TABLE_TYPE 20050307
11 G_CONTAINER_NAME Instance attribute Private See coding 'CONT01' 20050315
12 G_GRID Instance attribute Public Object reference (TYPE REF TO) CL_GUI_ALV_GRID 20050307
13 G_HIDE_EQUALS Instance attribute Private Type reference (TYPE) FLAG General flag 20050318
14 G_HIDE_TREE_DATA Instance attribute Private Type reference (TYPE) FLAG General flag 20050318
15 G_IF_REF Instance attribute Protected Object reference (TYPE REF TO) IF_WB_TREE_COMPARE Get Node Details 20050317
16 G_LEFT_TREE_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20050223
17 G_MAIN_BOTTOM_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20050307
18 G_MAIN_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in Screen Area 20050223
19 G_MAIN_TOP_CONTAINER Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20050307
20 G_RIGHT_TREE_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20050223
21 G_TREE_LEFT Instance attribute Protected Object reference (TYPE REF TO) CL_SIMPLE_TREE_MODEL Left Tree 20050223
22 G_TREE_RIGHT Instance attribute Protected Object reference (TYPE REF TO) CL_SIMPLE_TREE_MODEL Right Tree 20050223
23 NODE_TABLE_LEFT Instance attribute Public Type reference (TYPE) NODE_TABLE_TYPE Node Table of Left Tree 20050223
24 NODE_TABLE_RIGHT Instance attribute Public Type reference (TYPE) NODE_TABLE_TYPE Node Table of Right Tree 20050223
25 S_ICON_CANCEL Static Attribute Public Type reference (TYPE) T_ICON_TXT 20070620
26 S_ICON_EQUAL Static Attribute Public Type reference (TYPE) T_ICON_TXT 20070620
27 S_ICON_LED_RED Static Attribute Public Type reference (TYPE) T_ICON_TXT 20070620
28 S_ICON_LED_YELLOW Static Attribute Public Type reference (TYPE) T_ICON_TXT 20070620
29 S_ICON_NOT_EQUAL_RED Static Attribute Public Type reference (TYPE) T_ICON_TXT 20070620
Methods
# Method Level Visibility Method type Description Created on
1 CHANGING_IMAGE_PARENT Instance method Protected Method Changes Image of Upper Node if Difference in Subnode 20050223
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070620
3 COMPARE_TABLES Instance method Private Method Compares Two (Node) Tables 20050223
4 COMPARE_TREE Instance method Public Method Compare Two Node Tables (Used in Separate Screen) 20050223
5 COMPARE_TREE_WITH_POPUP Instance method Public Method Compare Two Node Tables in Dialog Box 20050315
6 CONSTRUCTOR Instance method Public Constructor 20050316
7 CREATE_FIELDCAT Instance method Protected Method Field Catalog for ALV Grid Tables (Detailed Display) 20050307
8 CREATE_NODE_TABLES Instance method Private Method Creates Node Tables of Trees from Two (Node) Tables 20050223
9 CREATE_OBJECTS Instance method Protected Method Creates Objects (Container, Trees, ALV) 20050307
10 EH_SELECTION_CHANGED Instance method Protected Event handling method Event Handler for "Selection Changed" Event 20050314
11 GENERATE_POPUP Instance method Private Method Create Split Screen Dialog Box 20050223
12 TREE_SYNCRONIZE Instance method Public Method Synchronizes Tree Display on Right and Left 20050307
13 UI_COLLAPSE_ALL Instance method Public Method Closes All Nodes 20050307
14 UI_EXPAND_ALL Instance method Public Method Opens All Nodes 20050307
Events
Class CL_WB_TREE_COMPARE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 NODE_LINE_TYPE Public See coding 20050307 node_line_type TYPE LINE OF node_table_type
2 NODE_TABLE_TYPE Public See coding 20050223 node_table_type TYPE TABLE OF treemsnodt
3 TREE_LINE_TYPE Public See coding 20050307 BEGIN OF tree_line_type, name_l TYPE string, content_l TYPE string, icon TYPE t_icon_txt, status(9) TYPE c, name_r TYPE string, content_r TYPE string, style(4) TYPE c, end of tree_line_type
4 TREE_TABLE_TYPE Public See coding 20050307 tree_table_type TYPE TABLE OF tree_line_type
5 T_ICON_TXT Public See coding 20070620 t_icon_txt(34) type c
Method Signatures

Method CHANGING_IMAGE_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHANGING_TABLE_LEFT Call by reference Type reference (TYPE) TABLE linke Knotentabelle 20050224
2 Changing CHANGING_TABLE_RIGHT Call by reference Type reference (TYPE) TABLE rechte Knotentabelle 20050224
3 Importing I_RELATKEY Call by reference Type reference (TYPE) STRING aktueller Knoten 20050223

Method CHANGING_IMAGE_PARENT on class CL_WB_TREE_COMPARE has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method COMPARE_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CHANGING_TABLE_LEFT Call by reference Type reference (TYPE) TABLE Linke Tabelle 20050223
2 Changing CHANGING_TABLE_RIGHT Call by reference Type reference (TYPE) TABLE Rechte Tabelle 20050223
# Exception Resumable Description Created on
1 NECESSARY_COMPONENTS_MISSING in übergebenen Tabellen fehlen obligatorische Felder 20050307
2 TABLES_NOT_SAME_STRUCTURE übergebene Tabellen haben unterschiedliche Struktur 20050225

Method COMPARE_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CP_CONT_REF Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Referenz auf erzeugtes Container-Control 20050315
2 Changing CP_TABLE_LEFT Call by reference Type reference (TYPE) TABLE 1. zu vergleichende Knotentabelle (links) 20050315
3 Changing CP_TABLE_RIGHT Call by reference Type reference (TYPE) TABLE 2. zu vergleichendeKnotentabelle (rechts) 20050315
4 Importing IP_CONT_NAME Call by reference Type reference (TYPE) STRING Name des Container-Controls im Dynpro 20050315
5 Importing IP_NAME_CONTENT_L Call by reference Type reference (TYPE) STRING Überschrift für 'Wert' in Detailansicht links 20050504
6 Importing IP_NAME_CONTENT_R Call by reference Type reference (TYPE) STRING Überschrift für 'Wert' in Detailansicht rechts 20050504
# Exception Resumable Description Created on
1 NECESSARY_COMPONENTS_MISSING in übergebenen Tabellen fehlen obligatorische Felder 20050315
2 TABLES_NOT_SAME_STRUCTURE übergebene Tabellen haben unterschiedliche Struktur 20050315

Method COMPARE_TREE_WITH_POPUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CP_TABLE_LEFT Call by reference Type reference (TYPE) TABLE 1. zu vergleichende Knotentabelle (links) 20050315
2 Changing CP_TABLE_RIGHT Call by reference Type reference (TYPE) TABLE 2. zu vergleichende Knotentabelle (rechts) 20050315
3 Importing IP_NAME_CONTENT_L Call by reference Type reference (TYPE) STRING Überschrift für 'Wert' in Detailansicht links 20050504
4 Importing IP_NAME_CONTENT_R Call by reference Type reference (TYPE) STRING Überschrift für 'Wert' in Detailansicht rechts 20050504
# Exception Resumable Description Created on
1 NECESSARY_COMPONENTS_MISSING in übergebenen Tabellen fehlen obligatorische Felder 20050315
2 TABLES_NOT_SAME_STRUCTURE übergebene Tabellen haben unterschiedliche Struktur 20050315

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_HIDE_EQUALS Call by reference Type reference (TYPE) FLAG Anzeige gleicher Einträge unterdrücken 20050318
2 Importing IP_HIDE_TREE_DATA Call by reference Type reference (TYPE) FLAG Anzeige der Felder der Knotentabelle in Detailsicht unterdrü 20050318
3 Importing IP_IF_REF Call by reference Object reference (TYPE REF TO) IF_WB_TREE_COMPARE Ref. für zusätzlich zu vergleichende Attribute pro Knoten 20050317

Method CONSTRUCTOR on class CL_WB_TREE_COMPARE has no exception.

Method CREATE_FIELDCAT Signature

Method CREATE_FIELDCAT on class CL_WB_TREE_COMPARE has no parameter.
Method CREATE_FIELDCAT on class CL_WB_TREE_COMPARE has no exception.

Method CREATE_NODE_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_TABLE_LEFT Call by reference Type reference (TYPE) TABLE 20050223
2 Importing IP_TABLE_RIGHT Call by reference Type reference (TYPE) TABLE 20050223

Method CREATE_NODE_TABLES on class CL_WB_TREE_COMPARE has no exception.

Method CREATE_OBJECTS Signature

Method CREATE_OBJECTS on class CL_WB_TREE_COMPARE has no parameter.
Method CREATE_OBJECTS on class CL_WB_TREE_COMPARE has no exception.

Method EH_SELECTION_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) 20050314

Method EH_SELECTION_CHANGED on class CL_WB_TREE_COMPARE has no exception.

Method GENERATE_POPUP Signature

Method GENERATE_POPUP on class CL_WB_TREE_COMPARE has no parameter.
Method GENERATE_POPUP on class CL_WB_TREE_COMPARE has no exception.

Method TREE_SYNCRONIZE Signature

Method TREE_SYNCRONIZE on class CL_WB_TREE_COMPARE has no parameter.
Method TREE_SYNCRONIZE on class CL_WB_TREE_COMPARE has no exception.

Method UI_COLLAPSE_ALL Signature

Method UI_COLLAPSE_ALL on class CL_WB_TREE_COMPARE has no parameter.
Method UI_COLLAPSE_ALL on class CL_WB_TREE_COMPARE has no exception.

Method UI_EXPAND_ALL Signature

Method UI_EXPAND_ALL on class CL_WB_TREE_COMPARE has no parameter.
Method UI_EXPAND_ALL on class CL_WB_TREE_COMPARE has no exception.
History
Last changed by/on SAP  20070911 
SAP Release Created in 710