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 | 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 | Instance attribute | Private | Type reference (TYPE) | STRING | 20050504 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | STRING | 20050504 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | FLAG | 'X' | General Flag | 20050223 | ||
| 4 | Instance attribute | Protected | Type reference (TYPE) | LVC_S_LAYO | ALV Control: Layout Structure | 20050317 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | UI_FUNCTIONS | Function Code Table | 20050307 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20050307 | |||
| 7 | Instance attribute | Public | Object reference (TYPE REF TO) | DATA | 20050307 | ||||
| 8 | Instance attribute | Public | Type reference (TYPE) | CL_WB_IDENTIFY_INTERN_TABLE=>NAME_AND_TYPE_TABLE_TYPE | 20050225 | ||||
| 9 | Instance attribute | Public | Object reference (TYPE REF TO) | DATA | 20050307 | ||||
| 10 | Instance attribute | Public | Type reference (TYPE) | TREE_TABLE_TYPE | 20050307 | ||||
| 11 | Instance attribute | Private | See coding | 'CONT01' | 20050315 | ||||
| 12 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_GUI_ALV_GRID | 20050307 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | FLAG | General flag | 20050318 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | FLAG | General flag | 20050318 | |||
| 15 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_WB_TREE_COMPARE | Get Node Details | 20050317 | |||
| 16 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20050223 | |||
| 17 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20050307 | |||
| 18 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Container for Custom Controls in Screen Area | 20050223 | |||
| 19 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20050307 | |||
| 20 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20050223 | |||
| 21 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SIMPLE_TREE_MODEL | Left Tree | 20050223 | |||
| 22 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SIMPLE_TREE_MODEL | Right Tree | 20050223 | |||
| 23 | Instance attribute | Public | Type reference (TYPE) | NODE_TABLE_TYPE | Node Table of Left Tree | 20050223 | |||
| 24 | Instance attribute | Public | Type reference (TYPE) | NODE_TABLE_TYPE | Node Table of Right Tree | 20050223 | |||
| 25 | Static Attribute | Public | Type reference (TYPE) | T_ICON_TXT | 20070620 | ||||
| 26 | Static Attribute | Public | Type reference (TYPE) | T_ICON_TXT | 20070620 | ||||
| 27 | Static Attribute | Public | Type reference (TYPE) | T_ICON_TXT | 20070620 | ||||
| 28 | Static Attribute | Public | Type reference (TYPE) | T_ICON_TXT | 20070620 | ||||
| 29 | Static Attribute | Public | Type reference (TYPE) | T_ICON_TXT | 20070620 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Changes Image of Upper Node if Difference in Subnode | 20050223 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070620 | |
| 3 | Instance method | Private | Method | Compares Two (Node) Tables | 20050223 | |
| 4 | Instance method | Public | Method | Compare Two Node Tables (Used in Separate Screen) | 20050223 | |
| 5 | Instance method | Public | Method | Compare Two Node Tables in Dialog Box | 20050315 | |
| 6 | Instance method | Public | Constructor | 20050316 | ||
| 7 | Instance method | Protected | Method | Field Catalog for ALV Grid Tables (Detailed Display) | 20050307 | |
| 8 | Instance method | Private | Method | Creates Node Tables of Trees from Two (Node) Tables | 20050223 | |
| 9 | Instance method | Protected | Method | Creates Objects (Container, Trees, ALV) | 20050307 | |
| 10 | Instance method | Protected | Event handling method | Event Handler for "Selection Changed" Event | 20050314 | |
| 11 | Instance method | Private | Method | Create Split Screen Dialog Box | 20050223 | |
| 12 | Instance method | Public | Method | Synchronizes Tree Display on Right and Left | 20050307 | |
| 13 | Instance method | Public | Method | Closes All Nodes | 20050307 | |
| 14 | 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_TABLE_LEFT | Call by reference | Type reference (TYPE) | TABLE | linke Knotentabelle | 20050224 | |||
| 2 | CHANGING_TABLE_RIGHT | Call by reference | Type reference (TYPE) | TABLE | rechte Knotentabelle | 20050224 | |||
| 3 | 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_TABLE_LEFT | Call by reference | Type reference (TYPE) | TABLE | Linke Tabelle | 20050223 | |||
| 2 | CHANGING_TABLE_RIGHT | Call by reference | Type reference (TYPE) | TABLE | Rechte Tabelle | 20050223 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | in übergebenen Tabellen fehlen obligatorische Felder | 20050307 | ||
| 2 | ü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 | CP_CONT_REF | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Referenz auf erzeugtes Container-Control | 20050315 | |||
| 2 | CP_TABLE_LEFT | Call by reference | Type reference (TYPE) | TABLE | 1. zu vergleichende Knotentabelle (links) | 20050315 | |||
| 3 | CP_TABLE_RIGHT | Call by reference | Type reference (TYPE) | TABLE | 2. zu vergleichendeKnotentabelle (rechts) | 20050315 | |||
| 4 | IP_CONT_NAME | Call by reference | Type reference (TYPE) | STRING | Name des Container-Controls im Dynpro | 20050315 | |||
| 5 | IP_NAME_CONTENT_L | Call by reference | Type reference (TYPE) | STRING | Überschrift für 'Wert' in Detailansicht links | 20050504 | |||
| 6 | 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 | in übergebenen Tabellen fehlen obligatorische Felder | 20050315 | ||
| 2 | ü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 | CP_TABLE_LEFT | Call by reference | Type reference (TYPE) | TABLE | 1. zu vergleichende Knotentabelle (links) | 20050315 | |||
| 2 | CP_TABLE_RIGHT | Call by reference | Type reference (TYPE) | TABLE | 2. zu vergleichende Knotentabelle (rechts) | 20050315 | |||
| 3 | IP_NAME_CONTENT_L | Call by reference | Type reference (TYPE) | STRING | Überschrift für 'Wert' in Detailansicht links | 20050504 | |||
| 4 | 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 | in übergebenen Tabellen fehlen obligatorische Felder | 20050315 | ||
| 2 | übergebene Tabellen haben unterschiedliche Struktur | 20050315 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_HIDE_EQUALS | Call by reference | Type reference (TYPE) | FLAG | Anzeige gleicher Einträge unterdrücken | 20050318 | |||
| 2 | IP_HIDE_TREE_DATA | Call by reference | Type reference (TYPE) | FLAG | Anzeige der Felder der Knotentabelle in Detailsicht unterdrü | 20050318 | |||
| 3 | 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 | IP_TABLE_LEFT | Call by reference | Type reference (TYPE) | TABLE | 20050223 | ||||
| 2 | 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 | 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 |