SAP ABAP Class CL_CNV_DEMO_CONS_CHK (Consistency checks for conversion of the flight data model)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNV_DEMO (Package) Dev. class for customer demo transformation packages
⤷
⤷
Properties
| Class | CL_CNV_DEMO_CONS_CHK | |
| Short Description | Consistency checks for conversion of the flight data model | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | CNV_DEMO | |
| Program status | T | Test Program |
| Category | 0 | |
| Package | CNV_DEMO | Dev. class for customer demo transformation packages |
| Created | 20110927 | SAP |
| Last change | 20141030 | |
| 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_CNV_DEMO_CONS_CHK has no interface implemented.
Friends
Class CL_CNV_DEMO_CONS_CHK 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) | TSFTEXT | Foreign key check results | 20111028 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | TSFTEXT | Partsums check results | 20111028 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | TSFTEXT | Sum check results | 20111028 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | CNV_PACK | CWB package number | 20111028 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT | Variant of the demo data: before/after conversion | 20111025 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT | 'BEFORE_CONVERSION' | Variant of the demo data: before conversion | 20111027 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT | 'AFTER_CONVERSION' | Variant of the demo data: after conversion | 20111027 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Compare sums of two flight model states | 20110928 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20111025 | |
| 3 | Instance method | Public | Method | Copy flight model tables SCARR, SPFLI, SFLIGHT, SBOOK to clu | 20110927 | |
| 4 | Static method | Private | Method | Get empty target table | 20111024 | |
| 5 | Instance method | Public | Method | Load check results from cluster | 20111028 | |
| 6 | Instance method | Private | Method | Load target table from cluster | 20110928 | |
| 7 | Instance method | Public | Method | Test output via screen | 20111006 | |
| 8 | Instance method | Private | Method | Save target table to cluster | 20110928 | |
| 9 | Instance method | Public | Method | Set actual variant | 20111027 | |
| 10 | Instance method | Public | Method | Make consistency checks as background process | 20111027 | |
| 11 | Instance method | Public | Method | Check for correct foreign key relation | 20110930 | |
| 12 | Instance method | Public | Method | Checks all foreign key relations in demo data | 20110930 | |
| 13 | Instance method | Public | Method | Checks all sum field relations in demo data | 20110930 | |
| 14 | Instance method | Public | Method | Compute sum of target field | 20110927 | |
| 15 | Instance method | Public | Method | Writes sums of six fields from flight model to cluster | 20110928 | |
| 16 | Static method | Public | Method | Unit test of the consistency checks | 20110930 |
Events
Class CL_CNV_DEMO_CONS_CHK has no event.
Types
Class CL_CNV_DEMO_CONS_CHK has no local type.
Method Signatures
Method COMPARE_SUMS Signature
Method COMPARE_SUMS on class CL_CNV_DEMO_CONS_CHK has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unknown RELID structure variant exception | 20111024 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PACKID | Call by reference | Type reference (TYPE) | DMC_PACKID | CWB package number | 20111028 | |||
| 2 | IV_VARI_1 | Call by reference | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT | Variant of the demo data before conversion | 20111027 | |||
| 3 | IV_VARI_2 | Call by reference | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT | Variant of the demo data after conversion | 20111027 |
Method CONSTRUCTOR on class CL_CNV_DEMO_CONS_CHK has no exception.
Method COPY_FM_TO_CLUSTER Signature
Method COPY_FM_TO_CLUSTER on class CL_CNV_DEMO_CONS_CHK has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Variant out of range | 20111027 | ||
| 2 | Error writing INDX data | 20111025 |
Method GET_EMPTY_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Name of flight data model table to be loaded | 20111025 | |||
| 2 | RR_ITAB | Value transfer | Object reference (TYPE REF TO) | DATA | Ref to output table | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Table not found in cluster | 20111024 |
Method GET_OUTPUT_TABLES Signature
Method GET_OUTPUT_TABLES on class CL_CNV_DEMO_CONS_CHK has no parameter.
Method GET_OUTPUT_TABLES on class CL_CNV_DEMO_CONS_CHK has no exception.
Method GET_TAB_FROM_CLUSTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | 'SCARR' | Name of flight data model table to be loaded | 20111025 | ||
| 2 | RR_ITAB | Value transfer | Object reference (TYPE REF TO) | DATA | Ref to output table | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Table not found in cluster | 20111024 |
Method OUTPUT Signature
Method OUTPUT on class CL_CNV_DEMO_CONS_CHK has no parameter.
Method OUTPUT on class CL_CNV_DEMO_CONS_CHK has no exception.
Method PUT_TAB_TO_CLUSTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ITAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table data to save | 20111025 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Name of table to save | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database error (store) | 20111024 |
Method SET_VARI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTVARI | Call by reference | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT_NO | Number of actual variant (1 / 2) | 20111027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Variant out of range | 20111027 |
Method TEST_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTVARI | Call by reference | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT_NO | Number of actual variant of demo data in consistency check | 20111028 |
Method TEST_ALL on class CL_CNV_DEMO_CONS_CHK has no exception.
Method TEST_FKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FOREIGNKEYTABNAME | Call by reference | Type reference (TYPE) | TABNAME | 'SPFLI' | Name of foreign key table | 20111025 | ||
| 2 | XT_OUT_TXT | Call by reference | Type reference (TYPE) | TSFTEXT | Results of foreign key check | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Table not found | 20111025 |
Method TEST_FKEYS Signature
Method TEST_FKEYS on class CL_CNV_DEMO_CONS_CHK has no parameter.
Method TEST_FKEYS on class CL_CNV_DEMO_CONS_CHK has no exception.
Method TEST_PARTIALSUMS Signature
Method TEST_PARTIALSUMS on class CL_CNV_DEMO_CONS_CHK has no parameter.
Method TEST_PARTIALSUMS on class CL_CNV_DEMO_CONS_CHK has no exception.
Method TEST_SUM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | FIELDNAME | Name of field to compute sum | 20111025 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | 'SPFLI' | Table Name | 20111025 | ||
| 3 | RV_SUM | Value transfer | Type reference (TYPE) | CNV_DEMO_SUM | Sum of field values | 20111025 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Field not found. | 20111024 | ||
| 2 | Table not found. | 20111024 | ||
| 3 | Field is not numerical. | 20111024 |
Method TEST_SUMS Signature
Method TEST_SUMS on class CL_CNV_DEMO_CONS_CHK has no parameter.
Method TEST_SUMS on class CL_CNV_DEMO_CONS_CHK has no exception.
Method UNITTEST Signature
Method UNITTEST on class CL_CNV_DEMO_CONS_CHK has no parameter.
Method UNITTEST on class CL_CNV_DEMO_CONS_CHK has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2010_1_620 |