SAP ABAP Class CL_KE_HDB_CHECK (Consistency Checks Between ERP and HANA)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM (Application Component) Customer Relationship Management
⤷
CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷
KE (Package) Profitability Analysis
⤷
⤷
⤷
Properties
| Class | CL_KE_HDB_CHECK | |
| Short Description | Consistency Checks Between ERP and HANA | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | KE | Profitability Analysis |
| Created | 20110621 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_KE_HDB_CHECK has no interface implemented.
Friends
Class CL_KE_HDB_CHECK 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) | TKEHACC | CO-PA Accelerator: Customizing | 20110621 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | TKEHDBLCR | Integration of HANA and CO-PA | 20110707 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | TT_INTERVAL_DIFF | Number of Variances per Time Interval | 20110621 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | RKE_T_HDB_CE1_KEYS | Table of Type (MV_CE2_NAME) | 20110630 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | RKE_T_HDB_CE1_KEYS | Table of Type (MV_CE2_NAME) | 20110630 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TT_INTERVAL_DIFF | List Number of Differences per Interval for CE2XXXX | 20110621 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | RKE_T_HDB_CE2_KEYS | Table Type Key for CE2 | 20110630 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | RKE_T_HDB_CE2_KEYS | Table of Type (MV_CE1_NAME) | 20110630 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | TABNAME | Table Name for CE | 20110621 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | TABNAME | Table name | 20110621 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | TABNAME | Table name | 20110621 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | KE_HDB_PACKSIZE_READ | Package Size When Reading from ERP Database | 20110728 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check for Differences in Tables in HANA and ERP | 20110621 | |
| 2 | Instance method | Public | Constructor | Constructor | 20110621 | |
| 3 | Instance method | Private | Method | Comparisons of Number of Table Entries in ERP and HANA | 20110622 | |
| 4 | Instance method | Public | Method | Return Table of Missing CEXXXX Keys | 20110628 | |
| 5 | Instance method | Private | Method | Find Missing/Incorrect Table Entries | 20110622 | |
| 6 | Instance method | Private | Method | Find Missing Table Entries | 20110622 |
Events
Class CL_KE_HDB_CHECK has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_INTERVAL_DIFF | Public | See coding | 20110621 | BEGIN OF ts_interval_diff,
from_timestmp TYPE rke_hzstmp, " Begin of interval
to_timestmp TYPE rke_hzstmp, " End of interval
no_entries_erp TYPE i, " Number of table entries in ERP
no_entries_hana TYPE i, " number of table entries in HANA
END OF ts_interval_diff
|
||
| 2 | TT_CEST1 | Public | See coding | 20110621 | tt_cest1 TYPE STANDARD TABLE OF cest1
|
||
| 3 | TT_CEST2 | Public | See coding | 20110621 | tt_cest2 TYPE STANDARD TABLE OF cest2
|
||
| 4 | TT_INTERVAL_DIFF | Public | See coding | 20110621 | tt_interval_diff TYPE STANDARD TABLE OF ts_interval_diff
|
Method Signatures
Method CHECK_DIFFERENCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CE1_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indikator: Tabellen CE1 sind gleich in ERP und HANA | 20110621 | |||
| 2 | EV_CE2_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indikator: Tabellen CE2 sind gleich in ERP und HANA | 20110621 | |||
| 3 | IV_CE1 | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indikator: prüfe Tabelle CE1XXXX | 20110621 | |||
| 4 | IV_CE2 | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indikator: prüfe Tabelle CE2XXXX | 20110621 | |||
| 5 | IV_GET_DIFF_DETAIL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Indikator: Prüfe Detail zu den Abweichungen | 20110628 | ||
| 6 | IV_TIMESTMP_FROM | Call by reference | Type reference (TYPE) | RKE_HZSTMP | Hinzufügezeitpunkt in Greenwich Meantime | 20110621 | |||
| 7 | IV_TIMESTMP_TO | Call by reference | Type reference (TYPE) | RKE_HZSTMP | Hinzufügezeitpunkt in Greenwich Meantime | 20110621 | |||
| 8 | IV_WHERE | Call by reference | Type reference (TYPE) | STRING | Zusätzliche Einschränkungen in Where-Clause | 20110707 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HANA Exceptions | 20110701 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ERKRS | Call by reference | Type reference (TYPE) | ERKRS | Operating concern | 20110621 | |||
| 2 | IV_PACKAGESIZE | Call by reference | Type reference (TYPE) | KE_HDB_PACKSIZE | Paketgröße zur Datenselektion | 20110621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HANA Exceptions | 20110630 |
Method COUNT_TABLE_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_INTERVAL_DIFF | Call by reference | Type reference (TYPE) | TT_INTERVAL_DIFF | 20110622 | ||||
| 2 | IV_DBCON | Call by reference | Type reference (TYPE) | DBCON_NAME | Logischer Name einer Datenbankverbindung | 20110622 | |||
| 3 | IV_FROM_TIMESTMP | Call by reference | Type reference (TYPE) | RKE_HZSTMP | Hinzufügezeitpunkt in Greenwich Meantime | 20110622 | |||
| 4 | IV_GET_DIFF_DETAIL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Indikator: Prüfe Detail zu den Abweichungen | 20110628 | ||
| 5 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20110622 | |||
| 6 | IV_TO_TIMESTMP | Call by reference | Type reference (TYPE) | RKE_HZSTMP | Hinzufügezeitpunkt in Greenwich Meantime | 20110622 | |||
| 7 | IV_WHERE | Call by reference | Type reference (TYPE) | STRING | 20110707 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | HANA Exceptions | 20110805 |
Method GET_CEXXXX_MISSING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CE1_MISSING_ERP | Call by reference | Type reference (TYPE) | RKE_T_HDB_CE1_KEYS | Tabellentyp Schlüssel für CE1 | 20110630 | |||
| 2 | ET_CE1_MISSING_HANA | Call by reference | Type reference (TYPE) | RKE_T_HDB_CE1_KEYS | Tabellentyp Schlüssel für CE1 | 20110630 | |||
| 3 | ET_CE2_MISSING_ERP | Call by reference | Type reference (TYPE) | RKE_T_HDB_CE2_KEYS | Tabellentyp Schlüssel für CE2 | 20110630 | |||
| 4 | ET_CE2_MISSING_HANA | Call by reference | Type reference (TYPE) | RKE_T_HDB_CE2_KEYS | Tabellentyp Schlüssel für CE2 | 20110630 | |||
| 5 | IV_CE1 | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110628 | ||||
| 6 | IV_CE2 | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110628 |
Method GET_CEXXXX_MISSING on class CL_KE_HDB_CHECK has no exception.
Method IDENTIFY_DIFFERENCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CE1 | Call by reference | Type reference (TYPE) | ABAP_BOOL | Finde fehlende Tabelleneinträge für CE1XXXX | 20110622 | |||
| 2 | IV_CE2 | Call by reference | Type reference (TYPE) | ABAP_BOOL | Finde fehlende Tabelleneinträge für CE2XXXX | 20110622 |
Method IDENTIFY_DIFFERENCES on class CL_KE_HDB_CHECK has no exception.
Method IDENTIFY_MISSING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MISSING_ERP | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20110630 | ||||
| 2 | ET_MISSING_HANA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20110630 | ||||
| 3 | IT_INTERVAL_DIFF | Call by reference | Type reference (TYPE) | TT_INTERVAL_DIFF | 20110622 | ||||
| 4 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20110622 |
Method IDENTIFY_MISSING on class CL_KE_HDB_CHECK has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 605 |