SAP ABAP Class CL_ENH_VERS_TREE_COMPARE (Table Comparison)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-ENH (Application Component) Enhancement Tools
     SEEF_VERS (Package) Versions Management/CWB/Note Assistent for Enhancements
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_ENH_VERS_TREE_COMPARE Tree Comparison 20060511
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WB_TREE_COMPARE Interface for Specifying Name-Value Pair Table 20060511
Properties
Class CL_ENH_VERS_TREE_COMPARE  
Short Description Table Comparison    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEEF_VERS   Versions Management/CWB/Note Assistent for Enhancements 
Created 20060511   SAP 
Last change 20080612   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_TREE_MODEL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_WB_TREE_COMPARE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
4 SYDES Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_ENH_VERS_TREE_COMPARE Tree Comparison 20060511
2 IF_WB_TREE_COMPARE Interface for Specifying Name-Value Pair Table 20060511
Friends
Class CL_ENH_VERS_TREE_COMPARE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DR_COMPARE Instance attribute Private Object reference (TYPE REF TO) CL_ENH_VERS_TREE_VIEW Splitscreen Comparison for Two Trees 20060511
2 DR_MENU_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in Screen Area 20060511
3 DR_TOOLBAR Instance attribute Private Object reference (TYPE REF TO) CL_GUI_TOOLBAR Toolbar Control 20060511
4 DR_TREE_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for Custom Controls in Screen Area 20060511
5 DS_HEADER_KEY Instance attribute Private Type reference (TYPE) S_NODE 20060511
6 DT_DIFFTAB Instance attribute Private Type reference (TYPE) ENH_CONTRACT_GENERAL_DIFF_TAB Table of ENH_CONTRACT_GENERAL_DIFF 20060511
7 DT_KEYS Instance attribute Private Type reference (TYPE) T_KEYS 20060511
8 DT_NODES Instance attribute Private Type reference (TYPE) T_NODE 20060511
9 DT_NODE_PROPS Instance attribute Private Type reference (TYPE) T_PROPS 20060511
10 DT_TREE_LEFT Instance attribute Private Type reference (TYPE) TREEMSNOTA Simple Tree Model: Node Table 20060511
11 DT_TREE_RIGHT Instance attribute Private Type reference (TYPE) TREEMSNOTA Simple Tree Model: Node Table 20060511
12 DT_USER_BUTTONS Instance attribute Private Type reference (TYPE) TTB_BUTTON Toolbar Buttons 20060511
13 D_INDEX Instance attribute Private Type reference (TYPE) I 20060511
14 D_PROP_KEY Instance attribute Private Type reference (TYPE) I 20060511
15 D_SHOWN Instance attribute Private Type reference (TYPE) ENHBOOLEAN ABAP_FALSE Has tree been displayed already? 20060731
16 D_TEXT_LEFT Instance attribute Private Type reference (TYPE) STRING 20060511
17 D_TEXT_RIGHT Instance attribute Private Type reference (TYPE) STRING 20060511
18 D_USE_DDIC_FNAMES Instance attribute Private Type reference (TYPE) C ABAP_FALSE 20060511
19 D_USE_DOM_INFO Instance attribute Private Type reference (TYPE) C ABAP_TRUE 20060511
20 GC_UIFUNC_COLLAPSE Static Attribute Public Type reference (TYPE) UI_FUNC 'COL' Function Code 20060511
21 GC_UIFUNC_EXPAND Static Attribute Public Type reference (TYPE) UI_FUNC 'EXP' Function Code 20060511
22 GC_UIFUNC_HIDE_E Static Attribute Public Type reference (TYPE) UI_FUNC 'HIDE_E' Function Code 20060511
23 GC_UIFUNC_HIDE_N Static Attribute Public Type reference (TYPE) UI_FUNC 'HIDE_N' Function Code 20060511
24 GC_UIFUNC_HIDE_U Static Attribute Public Type reference (TYPE) UI_FUNC 'HIDE_U' Function Code 20060511
25 GC_UIFUNC_SEARCH Static Attribute Public Type reference (TYPE) UI_FUNC 'SEARCH' Function Code 20060511
26 GC_UIFUNC_SEARCH_N Static Attribute Public Type reference (TYPE) UI_FUNC 'SEARCH_N' Function Code 20060511
27 GC_UIFUNC_SYNCHRONIZE Static Attribute Public Type reference (TYPE) UI_FUNC 'SYNC' Function Code 20060511
Methods
# Method Level Visibility Method type Description Created on
1 ADD_HEADER_NODE Instance method Public Method Inserts header node 20060511
2 ADD_NODE Instance method Public Method Inserts a new node into tree structure 20060511
3 ADD_TABS_TO_NODE Instance method Public Method Inserts an entire table into a node 20060511
4 COMPARE_TABS Instance method Public Method Compares two tables and creates a difference table 20060511
5 CONSTRUCTOR Instance method Public Constructor Instance Generation 20060511
6 CREATE_MENU Instance method Private Method Creates a menu in a transferred container 20060511
7 GET_CONTAINER Instance method Public Method Returns the created containers 20060511
8 GET_FIELD_VALUE Instance method Private Method 20060511
9 GET_LONG_KEY Instance method Private Method Determines the long key for a node 20060511
10 GET_NODE_BY_LONGKEY Instance method Public Method Supplies the corresponding node for a key 20060511
11 GET_STRUC_FIELDS Instance method Private Method 20060511
12 GET_STRUC_LONG_KEY Instance method Public Method Returns the long keyt of a structure 20060612
13 GET_TABNAME Instance method Private Method Determines the name of the transmitted table 20060511
14 HANDLE_MENU_SELECTION Instance method Private Event handling method Handler for Menu Events 20060511
15 HIDE_NODES Instance method Public Method Hides same nodes in tree 20060511
16 SHOW_TREE Instance method Public Method Displays the created tree 20060511
17 WAS_SHOWN Instance method Public Method Has the comparison been displayed already? 20060731
Events
# Event Type Visibility Description Created on
1 MENU_SELECTION Instance Event
(0)
Public
(2)
Button Selection in Menu 20060511
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_FIELDNAMES Public See coding 20060511 begin of S_FIELDNAMES, fieldname type string, strucname type string, dispname type string, convexit type string, sourcetab type string, fn_progname type string, end of s_fieldnames
2 S_KEYS Private See coding 20060511 begin of S_KEYS, prop_key type i, node_key type i, propl(1) type c, propr(1) type c, fieldname type string, end of s_keys
3 S_NODE Public See coding 20060511 begin of S_NODE, node_key type i, node_text type string, long_key type string, is_source(1) type c, end of s_node
4 S_PROPS Public See coding 20060511 begin of S_Props, node_key type i, prop_key type i, prop1 type ref to data, prop2 type ref to data, excl_fields type trfieldnames, table_name type fieldname, fieldnames type ref to data, is_source(1) type c, progname type string, end of s_props
5 S_TABKEYS Private See coding 20060511 begin of s_tabkeys, tab_key type i, node_key type i, end of s_tabkeys
6 S_TABS Private See coding 20060511 begin of S_TABS, tab_key type i, tab1 type ref to data, tab2 type ref to data, difftab type ENH_CONTRACT_GENERAL_DIFF_TAB, end of s_tabs
7 T_FIELDNAMES Public See coding 20060511 T_FIELDNAMES type standard table of s_fieldnames
8 T_KEYS Private See coding 20060511 T_KEYS type standard table of s_keys
9 T_NODE Public See coding 20060511 T_NODE type table of s_node
10 T_PROPS Public See coding 20060511 T_props type table of s_props
11 T_TABKEYS Private See coding 20060511 t_tabkeys type STANDARD TABLE OF s_tabkeys
12 T_TABS Private See coding 20060511 t_tabs type standard table of s_tabs
Method Signatures

Method ADD_HEADER_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_NODE Call by reference Type reference (TYPE) S_NODE 20060511
2 Importing I_NAME_LEFT Call by reference Type reference (TYPE) STRING 20060511
3 Importing I_NAME_RIGHT Call by reference Type reference (TYPE) STRING 20060511
4 Importing I_NODE_KEY Call by reference Type reference (TYPE) STRING 'HEADER' 20060511
5 Importing I_STYLE Call by reference Type reference (TYPE) INT4 CL_TREE_MODEL=>STYLE_EMPHASIZED Natürliche Zahl 20060511

Method ADD_HEADER_NODE on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method ADD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_NODE Call by reference Type reference (TYPE) S_NODE Key des neu erstellten Knotens 20060511
2 Importing IS_PARENT Call by reference Type reference (TYPE) S_NODE Vaterknoten 20060511
3 Importing IS_PROP1 Call by reference Type reference (TYPE) DATA Eigenschaften für den Knoten links 20060511
4 Importing IS_PROP2 Call by reference Type reference (TYPE) DATA Eigenschaften für den Knoten rechts 20060511
5 Importing IT_DISPNAMES Call by reference Type reference (TYPE) T_FIELDNAMES 20060511
6 Importing IT_EXCL_FIELDS Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060511
7 Importing IT_KEYTAB Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060511
8 Importing I_HIDE_EMPTY_NODES Call by reference Type reference (TYPE) C ABAP_FALSE 'X' -> leere Knoten werden ausgeblendet 20060511
9 Importing I_NODE_KEY Call by reference Type reference (TYPE) STRING 20060511
10 Importing I_NODE_NAME Call by reference Type reference (TYPE) STRING Name des zu erstellenden Knotens 20060511
11 Importing I_NO_PROPS Call by reference Type reference (TYPE) C ABAP_TRUE 20060511
12 Importing I_PROGNAME Call by reference Type reference (TYPE) STRING 20060511
13 Importing I_PROP_IS_SOURCE Call by reference Type reference (TYPE) C ABAP_FALSE 20060511
14 Importing I_STYLE Call by reference Type reference (TYPE) INT4 CL_TREE_MODEL=>STYLE_DEFAULT Natürliche Zahl 20060511
15 Importing I_TABLE_NAME Call by reference Type reference (TYPE) FIELDNAME Feldname 20060511

Method ADD_NODE on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method ADD_TABS_TO_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODES Call by reference Type reference (TYPE) T_NODE erstellte Knoten 20060511
2 Importing IS_PARENT_NODE Call by reference Type reference (TYPE) S_NODE Vaterknoten, unter den die Tabelle kommt 20060511
3 Importing IT_DIFF Call by reference Type reference (TYPE) ENH_CONTRACT_GENERAL_DIFF_TAB Table of ENH_CONTRACT_GENERAL_DIFF 20060511
4 Importing IT_DISPNAMES Call by reference Type reference (TYPE) T_FIELDNAMES Zuordnung Feldname -> Anzeigename 20060511
5 Importing IT_EXCL_FIELDS Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060511
6 Importing IT_KEYTAB Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060511
7 Importing IT_TAB1 Call by reference Type reference (TYPE) STANDARD TABLE Tabelle für den linken Baum 20060511
8 Importing IT_TAB2 Call by reference Type reference (TYPE) STANDARD TABLE Tabelle für den rechten Baum 20060511
9 Importing I_FN_NODENAME Call by reference Type reference (TYPE) STRING zu verwendendes Feld für Knotenbezeichnung 20060511
10 Importing I_FN_PRAEF Call by reference Type reference (TYPE) STRING 20060511
11 Importing I_HIDE_EMPTY_NODES Call by reference Type reference (TYPE) C ABAP_FALSE ' ' -> leere Knoten werden nicht angezeigt 20060511
12 Importing I_IS_SOURCETAB Call by reference Type reference (TYPE) C ABAP_FALSE 'X' -> Tabelle enthällt Quelltexte 20060511
13 Importing I_NODE_NAME Call by reference Type reference (TYPE) STRING 'KNOTEN' Name des neu zu erstellenden Knotens 20060511
14 Importing I_STORE_TABS Call by reference Type reference (TYPE) C ABAP_FALSE 'X' -> übergebene Tabellen werden gespeichert 20060511
# Exception Resumable Description Created on
1 CX_ENH_ROOT Web Service : Exception 20060511

Method COMPARE_TABS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DIFFS Call by reference Type reference (TYPE) ENH_CONTRACT_GENERAL_DIFF_TAB Table of ENH_CONTRACT_GENERAL_DIFF 20060511
2 Importing IT_EXCL_FIELDS Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060511
3 Importing IT_KEY_FIELDS Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060511
4 Importing IT_TAB1 Call by reference Type reference (TYPE) STANDARD TABLE 20060511
5 Importing IT_TAB2 Call by reference Type reference (TYPE) STANDARD TABLE 20060511

Method COMPARE_TABS on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_ENH_VERS_TREE_COMPARE has no parameter.
Method CONSTRUCTOR on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method CREATE_MENU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_TOOLBAR Call by reference Object reference (TYPE REF TO) CL_GUI_TOOLBAR Toolbar Control 20060511
2 Importing IT_MENU_BUTTONS Call by reference Type reference (TYPE) TTB_BUTTON Toolbarbuttons 20060511
3 Importing IT_TOOLBAR_EXCLUDING Call by reference Type reference (TYPE) UI_FUNCTIONS Funktionscodestabelle 20060511
4 Importing I_MENU_CONTAINER Call by reference Type reference (TYPE) STRING Name des zu verwendenden Containers 20060511

Method CREATE_MENU on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method GET_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_MENU_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container fuer Custom Controls in der Dynpro Area 20060511
2 Exporting ER_TREE_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container fuer Custom Controls in der Dynpro Area 20060511

Method GET_CONTAINER on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method GET_FIELD_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PROPS Call by reference Type reference (TYPE) S_PROPS 20060511
2 Importing I_FIELDNAME Call by reference Type reference (TYPE) ANY 20060511
3 Importing I_VALUE Call by reference Type reference (TYPE) ANY 20060511
4 Returning R_FIELD_VALUE Value transfer Type reference (TYPE) STRING 20060511

Method GET_FIELD_VALUE on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method GET_LONG_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PROPS Call by reference Type reference (TYPE) S_PROPS 20060511
2 Importing IT_KEYTAB Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060511
3 Importing I_NODE_KEY Call by reference Type reference (TYPE) STRING Schlüssel des Knotens 20060511
4 Importing I_PARENT_KEY Call by reference Type reference (TYPE) STRING ID des Vaterknotens 20060511
5 Returning R_LONG_KEY Value transfer Type reference (TYPE) STRING externer Schlüssel des Knotens 20060511

Method GET_LONG_KEY on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method GET_NODE_BY_LONGKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LONG_KEY Call by reference Type reference (TYPE) STRING 20060511
2 Returning RS_NODE Value transfer Type reference (TYPE) S_NODE 20060511

Method GET_NODE_BY_LONGKEY on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method GET_STRUC_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_NODE_DETAILS Value transfer Type reference (TYPE) IF_WB_TREE_COMPARE=>RETURN_TABLE_TYPE 20060511
2 Importing IR_STRUC_L Call by reference Object reference (TYPE REF TO) DATA 20060511
3 Importing IR_STRUC_R Call by reference Object reference (TYPE REF TO) DATA 20060511
4 Importing IR_TYPEDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Run Time Type Services 20060511
5 Importing IS_PROPS Call by reference Type reference (TYPE) S_PROPS 20060511

Method GET_STRUC_FIELDS on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method GET_STRUC_LONG_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_STRUC Call by reference Type reference (TYPE) ANY 20060612
2 Importing IT_KEYS Call by reference Type reference (TYPE) TRFIELDNAMES Tabelle von Feldnamen 20060612
3 Returning R_KEY Value transfer Type reference (TYPE) STRING 20060612

Method GET_STRUC_LONG_KEY on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method GET_TABNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TABNAME Call by reference Type reference (TYPE) FIELDNAME Feldname 20060511
2 Importing IT_TAB1 Call by reference Type reference (TYPE) STANDARD TABLE 20060511
3 Importing IT_TAB2 Call by reference Type reference (TYPE) STANDARD TABLE 20060511

Method GET_TABNAME on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method HANDLE_MENU_SELECTION Signature

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

Method HANDLE_MENU_SELECTION on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method HIDE_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HIDE_MODE Call by reference Type reference (TYPE) C 20060511

Method HIDE_NODES on class CL_ENH_VERS_TREE_COMPARE has no exception.

Method SHOW_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_TOOLBAR Call by reference Object reference (TYPE REF TO) CL_GUI_TOOLBAR Toolbar Control 20060511
2 Exporting ER_TREECOMP Call by reference Object reference (TYPE REF TO) CL_ENH_VERS_TREE_VIEW Split-Screenvergleich für 2 Trees 20060511
3 Importing IT_MENU_BUTTONS Call by reference Type reference (TYPE) TTB_BUTTON Toolbarbuttons 20060511
4 Importing IT_TOOLBAR_EXCLUDING Call by reference Type reference (TYPE) UI_FUNCTIONS Funktionscodestabelle 20060511
5 Importing I_CONTAINER_NAME Call by reference Type reference (TYPE) STRING Name des Containers, in dem die Darstellung erfolgt 20060511
6 Importing I_MENU_CONTAINER Call by reference Type reference (TYPE) STRING Container für das Menü 20060511
7 Importing I_NAME_L Call by reference Type reference (TYPE) STRING 'WERT ' Überschrift für Attributwerte links 20060511
8 Importing I_NAME_R Call by reference Type reference (TYPE) STRING 'WERT' Überschrift für Attributwerte rechts 20060511
9 Importing I_USE_DDIC_FNAMES Call by reference Type reference (TYPE) C ABAP_FALSE 'X' -> DDIC-Mitteltext wird für Attributbeschreibung verw. 20060511
10 Importing I_USE_DOM_INFO Call by reference Type reference (TYPE) C ABAP_TRUE 20060511
# Exception Resumable Description Created on
1 CX_ENH_ROOT Web Service : Exception 20060511

Method WAS_SHOWN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_SHOWN Value transfer Type reference (TYPE) ENHBOOLEAN Enhancement Boolean 20060731

Method WAS_SHOWN on class CL_ENH_VERS_TREE_COMPARE has no exception.
Event Signatures

Event MENU_SELECTION Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 FCODE Exporting Value transfer Type reference (TYPE) UI_FUNC Funktionscode, der PAI ausgelöst hat 20060511
History
Last changed by/on SAP  20080612 
SAP Release Created in 740