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 | Instance attribute | Public | Type reference (TYPE) | CTM_E_MODE | Editing Mode | 20020416 | |||
| 2 | Constant | Protected | Type reference (TYPE) | CTM_E_MODE | 'BUFF' | Editing Mode | 20020416 | ||
| 3 | Constant | Public | Type reference (TYPE) | CTM_E_MODE | 'CREA' | Editing Mode | 20020416 | ||
| 4 | Constant | Public | Type reference (TYPE) | CTM_E_MODE | 'EDIT' | Editing Mode | 20020416 | ||
| 5 | Constant | Public | Type reference (TYPE) | CTM_E_MODE | 'READ' | Editing Mode | 20020416 | ||
| 6 | Constant | Public | Type reference (TYPE) | CTM_YESNO | SPACE | Flag with Values ' ' and 'X' | 20020417 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | CMP_CO_ID | 32-Character Comparison ID | 20020416 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | CMP_COMP_DAT_TAB | Comparison Data for Object 1 | 20020416 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | CMP_OBJ_ID | ID of Comparison Object 1 | 20020416 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | CMP_COMP_DAT_TAB | Comparison Data for Object 2 | 20020416 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | CMP_OBJ_ID | ID of Comparison Object 2 | 20020416 | |||
| 12 | Constant | Public | Type reference (TYPE) | CTM_YESNO | 'X' | Flag with Values ' ' and 'X' | 20020417 | ||
| 13 | Instance attribute | Public | Type reference (TYPE) | COMP_TYPE | Comparison Type | 20020416 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Change Editing Mode | 20020416 | |
| 2 | Static method | Public | Method | Does the Comparison Exist in the Database? | 20020416 | |
| 3 | Instance method | Public | Constructor | Constructor | 20020416 | |
| 4 | Static method | Public | Method | Create Comparison | 20020417 | |
| 5 | Instance method | Public | Method | Delete Comparison from the Database | 20020417 | |
| 6 | Static method | Protected | Method | Create a Unique Comparison ID | 20020417 | |
| 7 | Static method | Public | Method | Load a Comparison from the Database | 20020417 | |
| 8 | Static method | Protected | Method | Load Comparison Data from the Database | 20020416 | |
| 9 | Instance method | Public | Method | Update a Comparison from the Database | 20020416 | |
| 10 | Instance method | Public | Method | Save a Comparison in the Database | 20020417 | |
| 11 | 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 | NEW_EDIT_MODE | Value transfer | Type reference (TYPE) | CTM_E_MODE | Bearbeitungsmodus | 20020416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Der Vergleich existiert schon | 20020416 | ||
| 2 | Der Vergleich existiert nicht | 20020416 | ||
| 3 | ungültiger Bearbeitungsmodus | 20020416 | ||
| 4 | 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 | COMP_HEADER | Value transfer | Type reference (TYPE) | TCMP | Headertabelle, Generisches Vergleichstool | 20020416 | |||
| 2 | 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 | EDIT_MODE | Value transfer | Type reference (TYPE) | CTM_E_MODE | Bearbeitungsmodus | 20020416 | |||
| 2 | ID | Value transfer | Type reference (TYPE) | CMP_CO_ID | ID eines Vergleichs 32 stellig | 20020416 | |||
| 3 | OBJ1_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_COMP_DAT_TAB | Vergleichsdaten, Generisches Vergleichstool | 20020416 | |||
| 4 | OBJ1_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020416 | |||
| 5 | OBJ2_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_COMP_DAT_TAB | Vergleichsdaten, Generisches Vergleichstool | 20020416 | |||
| 6 | OBJ2_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020416 | |||
| 7 | 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 | COMPARISON | Value transfer | Object reference (TYPE REF TO) | CL_GENERIC_COMPARISON | Generisches Vergleichstool | 20020417 | |||
| 2 | ID | Value transfer | Type reference (TYPE) | CMP_CO_ID | ID eines Vergleichs 32 stellig | 20020417 | |||
| 3 | OBJ1_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_RAW_DATA_T | Zu vergleichende Daten, Generisches Vergleichstool | 20020417 | |||
| 4 | OBJ1_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020417 | |||
| 5 | OBJ2_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_RAW_DATA_T | Zu vergleichende Daten, Generisches Vergleichstool | 20020417 | |||
| 6 | OBJ2_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020417 | |||
| 7 | SAVE_COMPARISON | Value transfer | Type reference (TYPE) | CTM_YESNO | SPACE | Flag mit werten ' ' und 'X' | 20020418 | ||
| 8 | TYPE | Value transfer | Type reference (TYPE) | COMP_TYPE | Vergleichstyp | 20020417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Der Vergleich existiert schon auf der Datenbank | 20020417 | ||
| 2 | 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 | Der Vergleich existiert nicht auf der Datenbank | 20020417 | ||
| 2 | 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 | 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 | COMPARISON | Value transfer | Object reference (TYPE REF TO) | CL_GENERIC_COMPARISON | Vergleichsinstanz | 20020417 | |||
| 2 | EDIT_MODE | Value transfer | Type reference (TYPE) | CTM_E_MODE | Bearbeitungsmodus | 20020417 | |||
| 3 | ID | Value transfer | Type reference (TYPE) | CMP_CO_ID | ID eines Vergleichs 32 stellig | 20020417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Der Vergleich existiert nicht | 20020417 | ||
| 2 | Der Vergleich ist unvollständig | 20020417 | ||
| 3 | Unzulässiger Bearbeitungsmodus | 20020417 | ||
| 4 | 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 | ID | Value transfer | Type reference (TYPE) | CMP_CO_ID | ID eines Vergleichs 32 stellig | 20020416 | |||
| 2 | OBJ1_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_COMP_DAT_TAB | Vergleichsdaten, Generisches Vergleichstool | 20020416 | |||
| 3 | OBJ1_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020416 | |||
| 4 | OBJ2_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_COMP_DAT_TAB | Vergleichsdaten, Generisches Vergleichstool | 20020416 | |||
| 5 | OBJ2_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Daten gefunden | 20020416 |
Method REFRESH Signature
Method REFRESH on class CL_GENERIC_COMPARISON has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Der Vergleich existiert nicht auf der Datenbank | 20020416 | ||
| 2 | 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 | Fehler beim Einfügen in die Datenbank | 20020417 | ||
| 2 | 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 | OBJ1_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_COMP_DAT_TAB | Vergleichsdaten, Generisches Vergleichstool | 20020417 | |||
| 2 | OBJ1_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020417 | |||
| 3 | OBJ2_COMP_DATA | Call by reference | Type reference (TYPE) | CMP_COMP_DAT_TAB | Vergleichsdaten, Generisches Vergleichstool | 20020417 | |||
| 4 | OBJ2_ID | Value transfer | Type reference (TYPE) | CMP_OBJ_ID | ID eines Vergleichsobjektes | 20020417 | |||
| 5 | TYPE | Value transfer | Type reference (TYPE) | COMP_TYPE | Vergleichstyp | 20020417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Objekt ist nicht im Bearbeitungsmodus | 20020417 |
History
| Last changed by/on | SAP | 20020416 |
| SAP Release Created in | 630 |