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 ICON 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 NT_OUT_FKEY Instance attribute Public Type reference (TYPE) TSFTEXT Foreign key check results 20111028
2 NT_OUT_PARTSUMS Instance attribute Public Type reference (TYPE) TSFTEXT Partsums check results 20111028
3 NT_OUT_SUMS Instance attribute Public Type reference (TYPE) TSFTEXT Sum check results 20111028
4 NV_PACKID Instance attribute Public Type reference (TYPE) CNV_PACK CWB package number 20111028
5 NV_VARI Instance attribute Public Type reference (TYPE) CNV_DEMO_DATA_VARIANT Variant of the demo data: before/after conversion 20111025
6 NV_VARI_1 Instance attribute Public Type reference (TYPE) CNV_DEMO_DATA_VARIANT 'BEFORE_CONVERSION' Variant of the demo data: before conversion 20111027
7 NV_VARI_2 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 COMPARE_SUMS Instance method Public Method Compare sums of two flight model states 20110928
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20111025
3 COPY_FM_TO_CLUSTER Instance method Public Method Copy flight model tables SCARR, SPFLI, SFLIGHT, SBOOK to clu 20110927
4 GET_EMPTY_TAB Static method Private Method Get empty target table 20111024
5 GET_OUTPUT_TABLES Instance method Public Method Load check results from cluster 20111028
6 GET_TAB_FROM_CLUSTER Instance method Private Method Load target table from cluster 20110928
7 OUTPUT Instance method Public Method Test output via screen 20111006
8 PUT_TAB_TO_CLUSTER Instance method Private Method Save target table to cluster 20110928
9 SET_VARI Instance method Public Method Set actual variant 20111027
10 TEST_ALL Instance method Public Method Make consistency checks as background process 20111027
11 TEST_FKEY Instance method Public Method Check for correct foreign key relation 20110930
12 TEST_FKEYS Instance method Public Method Checks all foreign key relations in demo data 20110930
13 TEST_PARTIALSUMS Instance method Public Method Checks all sum field relations in demo data 20110930
14 TEST_SUM Instance method Public Method Compute sum of target field 20110927
15 TEST_SUMS Instance method Public Method Writes sums of six fields from flight model to cluster 20110928
16 UNITTEST 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 CX_CNV_INDX_VARIANT_UNKNOWN Unknown RELID structure variant exception 20111024

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PACKID Call by reference Type reference (TYPE) DMC_PACKID CWB package number 20111028
2 Importing IV_VARI_1 Call by reference Type reference (TYPE) CNV_DEMO_DATA_VARIANT Variant of the demo data before conversion 20111027
3 Importing 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 CX_CNV_DEMO_SET_VARIANT_ERROR Variant out of range 20111027
2 CX_CNV_INDX_DATA_WRITE_FAILED 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 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Name of flight data model table to be loaded 20111025
2 Returning RR_ITAB Value transfer Object reference (TYPE REF TO) DATA Ref to output table 20111025
# Exception Resumable Description Created on
1 CX_SY_DATA_ACCESS_ERROR 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 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME 'SCARR' Name of flight data model table to be loaded 20111025
2 Returning RR_ITAB Value transfer Object reference (TYPE REF TO) DATA Ref to output table 20111025
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DATA_NOT_FOUND 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 Importing IT_ITAB Call by reference Type reference (TYPE) STANDARD TABLE Table data to save 20111025
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Name of table to save 20111025
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DB_ERROR Database error (store) 20111024

Method SET_VARI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 CX_CNV_DEMO_SET_VARIANT_ERROR Variant out of range 20111027

Method TEST_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing IV_FOREIGNKEYTABNAME Call by reference Type reference (TYPE) TABNAME 'SPFLI' Name of foreign key table 20111025
2 Changing XT_OUT_TXT Call by reference Type reference (TYPE) TSFTEXT Results of foreign key check 20111025
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TAB_NOT_FOUND 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 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Name of field to compute sum 20111025
2 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME 'SPFLI' Table Name 20111025
3 Returning RV_SUM Value transfer Type reference (TYPE) CNV_DEMO_SUM Sum of field values 20111025
# Exception Resumable Description Created on
1 CX_CNV_00001_API_FLD_NOT_FOUND Field not found. 20111024
2 CX_CNV_00001_API_TAB_NOT_FOUND Table not found. 20111024
3 CX_SY_CONVERSION_NO_NUMBER 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