SAP ABAP Class CL_GENERIC_COMPARISON (Generic Comparison Tool)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CUS-TOL (Application Component) Customizing Tools (Techniques)
     S_GENERIC_COMPARE (Package) Generic Comparison Tool
Properties
Class CL_GENERIC_COMPARISON  
Short Description Generic Comparison Tool    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package S_GENERIC_COMPARE   Generic Comparison Tool 
Created 20020416   SAP 
Last change 20020416   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GENERIC_COMPARISON has no forward declaration.
Interfaces
Class CL_GENERIC_COMPARISON has no interface implemented.
Friends
Class CL_GENERIC_COMPARISON has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 EDIT_MODE Instance attribute Public Type reference (TYPE) CTM_E_MODE Editing Mode 20020416
2 E_MODE_BUFFER Constant Protected Type reference (TYPE) CTM_E_MODE 'BUFF' Editing Mode 20020416
3 E_MODE_CREATE Constant Public Type reference (TYPE) CTM_E_MODE 'CREA' Editing Mode 20020416
4 E_MODE_EDIT Constant Public Type reference (TYPE) CTM_E_MODE 'EDIT' Editing Mode 20020416
5 E_MODE_READ Constant Public Type reference (TYPE) CTM_E_MODE 'READ' Editing Mode 20020416
6 FALSE Constant Public Type reference (TYPE) CTM_YESNO SPACE Flag with Values ' ' and 'X' 20020417
7 ID Instance attribute Public Type reference (TYPE) CMP_CO_ID 32-Character Comparison ID 20020416
8 OBJ1_COMP_DATA Instance attribute Public Type reference (TYPE) CMP_COMP_DAT_TAB Comparison Data for Object 1 20020416
9 OBJ1_ID Instance attribute Public Type reference (TYPE) CMP_OBJ_ID ID of Comparison Object 1 20020416
10 OBJ2_COMP_DATA Instance attribute Public Type reference (TYPE) CMP_COMP_DAT_TAB Comparison Data for Object 2 20020416
11 OBJ2_ID Instance attribute Public Type reference (TYPE) CMP_OBJ_ID ID of Comparison Object 2 20020416
12 TRUE Constant Public Type reference (TYPE) CTM_YESNO 'X' Flag with Values ' ' and 'X' 20020417
13 TYPE Instance attribute Public Type reference (TYPE) COMP_TYPE Comparison Type 20020416
Methods
# Method Level Visibility Method type Description Created on
1 CHANGE_EDIT_MODE Instance method Public Method Change Editing Mode 20020416
2 COMPARISON_EXISTS Static method Public Method Does the Comparison Exist in the Database? 20020416
3 CONSTRUCTOR Instance method Public Constructor Constructor 20020416
4 CREATE Static method Public Method Create Comparison 20020417
5 DELETE Instance method Public Method Delete Comparison from the Database 20020417
6 GET_UNIQUE_ID Static method Protected Method Create a Unique Comparison ID 20020417
7 LOAD Static method Public Method Load a Comparison from the Database 20020417
8 LOAD_COMPARE_DATA Static method Protected Method Load Comparison Data from the Database 20020416
9 REFRESH Instance method Public Method Update a Comparison from the Database 20020416
10 SAVE Instance method Public Method Save a Comparison in the Database 20020417
11 SET_ATTRIBUTES Instance method Public Method Set the Attributes of a Comparison 20020417
Events
Class CL_GENERIC_COMPARISON has no event.
Types
Class CL_GENERIC_COMPARISON has no local type.
Method Signatures

Method CHANGE_EDIT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NEW_EDIT_MODE Value transfer Type reference (TYPE) CTM_E_MODE Bearbeitungsmodus 20020416
# Exception Resumable Description Created on
1 COMPARISON_ALLREADY_EXISTS Der Vergleich existiert schon 20020416
2 COMPARISON_DOES_NOT_EXIST Der Vergleich existiert nicht 20020416
3 INVALID_EDIT_MODE ungültiger Bearbeitungsmodus 20020416
4 LOCK_ERROR Fehler beim Sperren des Objektes 20020416

Method COMPARISON_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting COMP_HEADER Value transfer Type reference (TYPE) TCMP Headertabelle, Generisches Vergleichstool 20020416
2 Importing ID Value transfer Type reference (TYPE) CMP_CO_ID ID eines Vergleichs 32 stellig 20020416

Method COMPARISON_EXISTS on class CL_GENERIC_COMPARISON has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EDIT_MODE Value transfer Type reference (TYPE) CTM_E_MODE Bearbeitungsmodus 20020416
2 Importing ID Value transfer Type reference (TYPE) CMP_CO_ID ID eines Vergleichs 32 stellig 20020416
3 Importing OBJ1_COMP_DATA Call by reference Type reference (TYPE) CMP_COMP_DAT_TAB Vergleichsdaten, Generisches Vergleichstool 20020416
4 Importing OBJ1_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020416
5 Importing OBJ2_COMP_DATA Call by reference Type reference (TYPE) CMP_COMP_DAT_TAB Vergleichsdaten, Generisches Vergleichstool 20020416
6 Importing OBJ2_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020416
7 Importing TYPE Value transfer Type reference (TYPE) COMP_TYPE Vergleichstyp 20020416

Method CONSTRUCTOR on class CL_GENERIC_COMPARISON has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting COMPARISON Value transfer Object reference (TYPE REF TO) CL_GENERIC_COMPARISON Generisches Vergleichstool 20020417
2 Importing ID Value transfer Type reference (TYPE) CMP_CO_ID ID eines Vergleichs 32 stellig 20020417
3 Importing OBJ1_COMP_DATA Call by reference Type reference (TYPE) CMP_RAW_DATA_T Zu vergleichende Daten, Generisches Vergleichstool 20020417
4 Importing OBJ1_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020417
5 Importing OBJ2_COMP_DATA Call by reference Type reference (TYPE) CMP_RAW_DATA_T Zu vergleichende Daten, Generisches Vergleichstool 20020417
6 Importing OBJ2_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020417
7 Importing SAVE_COMPARISON Value transfer Type reference (TYPE) CTM_YESNO SPACE Flag mit werten ' ' und 'X' 20020418
8 Importing TYPE Value transfer Type reference (TYPE) COMP_TYPE Vergleichstyp 20020417
# Exception Resumable Description Created on
1 COMPARISON_ALLREADY_EXISTS Der Vergleich existiert schon auf der Datenbank 20020417
2 SAVE_ERROR Fehler beim Speichern des Vergleiches 20020417

Method DELETE Signature

Method DELETE on class CL_GENERIC_COMPARISON has no parameter.
# Exception Resumable Description Created on
1 COMPARISON_DOES_NOT_EXIST Der Vergleich existiert nicht auf der Datenbank 20020417
2 NOT_IN_EDIT_MODE Objekt ist nicht im Bearbeitungsmodus 20020417

Method GET_UNIQUE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting UNIQUE_ID Value transfer Type reference (TYPE) CMP_CO_ID ID eines Vergleichs 32 stellig 20020417

Method GET_UNIQUE_ID on class CL_GENERIC_COMPARISON has no exception.

Method LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting COMPARISON Value transfer Object reference (TYPE REF TO) CL_GENERIC_COMPARISON Vergleichsinstanz 20020417
2 Importing EDIT_MODE Value transfer Type reference (TYPE) CTM_E_MODE Bearbeitungsmodus 20020417
3 Importing ID Value transfer Type reference (TYPE) CMP_CO_ID ID eines Vergleichs 32 stellig 20020417
# Exception Resumable Description Created on
1 COMPARISON_DOES_NOT_EXIST Der Vergleich existiert nicht 20020417
2 COMPARISON_INCOMPLETE Der Vergleich ist unvollständig 20020417
3 INVALID_EDIT_MODE Unzulässiger Bearbeitungsmodus 20020417
4 LOCK_ERROR Fehler beim Sperren des Objektes 20020417

Method LOAD_COMPARE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID Value transfer Type reference (TYPE) CMP_CO_ID ID eines Vergleichs 32 stellig 20020416
2 Exporting OBJ1_COMP_DATA Call by reference Type reference (TYPE) CMP_COMP_DAT_TAB Vergleichsdaten, Generisches Vergleichstool 20020416
3 Importing OBJ1_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020416
4 Exporting OBJ2_COMP_DATA Call by reference Type reference (TYPE) CMP_COMP_DAT_TAB Vergleichsdaten, Generisches Vergleichstool 20020416
5 Importing OBJ2_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020416
# Exception Resumable Description Created on
1 NO_DATA Keine Daten gefunden 20020416

Method REFRESH Signature

Method REFRESH on class CL_GENERIC_COMPARISON has no parameter.
# Exception Resumable Description Created on
1 COMPARISON_DOES_NOT_EXIST Der Vergleich existiert nicht auf der Datenbank 20020416
2 COMPARISON_INCOMPLETE Der Vergleich ist unvollständig 20020416

Method SAVE Signature

Method SAVE on class CL_GENERIC_COMPARISON has no parameter.
# Exception Resumable Description Created on
1 INSERT_ERROR Fehler beim Einfügen in die Datenbank 20020417
2 READ_ONLY_MODE Objekt ist nicht im Änderungs- oder Anlegemodus 20020417

Method SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing OBJ1_COMP_DATA Call by reference Type reference (TYPE) CMP_COMP_DAT_TAB Vergleichsdaten, Generisches Vergleichstool 20020417
2 Importing OBJ1_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020417
3 Importing OBJ2_COMP_DATA Call by reference Type reference (TYPE) CMP_COMP_DAT_TAB Vergleichsdaten, Generisches Vergleichstool 20020417
4 Importing OBJ2_ID Value transfer Type reference (TYPE) CMP_OBJ_ID ID eines Vergleichsobjektes 20020417
5 Importing TYPE Value transfer Type reference (TYPE) COMP_TYPE Vergleichstyp 20020417
# Exception Resumable Description Created on
1 READ_ONLY_MODE Objekt ist nicht im Bearbeitungsmodus 20020417
History
Last changed by/on SAP  20020416 
SAP Release Created in 630