SAP ABAP Class CL_RSCNV_TEST (Remodeling tool testing)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DBA (Application Component) Data Basis
     RSCNV (Package) Package for Metadata Remodeling
Properties
Class CL_RSCNV_TEST  
Short Description Remodeling tool testing    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status T  Test Program 
Category 0   
Package RSCNV   Package for Metadata Remodeling 
Created 20130730   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RSCNV Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSCNV_TEST has no interface implemented.
Friends
Class CL_RSCNV_TEST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_CNVREQNO Instance attribute Private Type reference (TYPE) RSCNV_REQ_CNVREQNO Request number 20130730
2 P_EFACTNM Instance attribute Private Type reference (TYPE) TABNAME E fact table 20130730
3 P_FFACTNM Instance attribute Private Type reference (TYPE) TABNAME F fact table 20130730
4 P_S_TEST Instance attribute Private Type reference (TYPE) RSCNV_S_TEST Test details 20130730
5 P_TLOGO Instance attribute Private Type reference (TYPE) RSCNV_TLOGO TLOGO type of InfoProv 20130730
6 P_T_TESTDATA Instance attribute Private Type reference (TYPE) RSCNV_T_TESTDATA Test data (tablenames only) 20130730
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_NEW_VS_REF Instance method Public Method Checks new InfoProv with respect to Ref. InfoProv 20130730
2 CLEAR_TEST_SCENARIO Instance method Public Method Clears all objects (InfoProv, CGrp etc) 20130730
3 CONSTRUCTOR Instance method Public Constructor 20130730
4 CREATE_TEST Static method Public Method Saves test details and copies InfoProv data to test tables 20130730
5 DELETE_TEST Static method Public Method Deletes the test from the test tables 20130730
6 FACTORY Static method Public Method 20130730
7 RESTORE_TEST_SCENARIO Instance method Public Method Restores test scenario 20130730
8 RUN_TEST_SCENARIO Instance method Public Method Runs a conversion 20130730
9 _CHECK_CUBE Static method Private Method Checks new cube vs. Ref. cube 20130730
10 _CHECK_TEST_EXISTS Static method Public Method Checks if a test exists 20130730
11 _COMPARE_TABLES Static method Private Method Compares two tables record by record 20130730
12 _COPY_CG Static method Private Method 20130801
13 _CREATE_CUBE_EMPTY Instance method Private Method Creates an empty test cube using the reference cube 20130730
14 _CREATE_CUBE_WITH_FILL Instance method Private Method Creates a test cube and fills data from the test tables 20130730
15 _DBTAB_TO_XML Static method Private Method Converts entire contents of a DB table to XML 20130730
16 _DELETE_CUBE Instance method Private Method Deletes the test infocube 20130730
17 _FILL_CUBE Instance method Private Method Fills test cube from test tables 20130730
18 _GET_TABLES_FOR_CUBES Static method Private Method Gets all possible tables for new and Ref. cubes 20130730
19 _ITAB_TO_XML Static method Private Method Converts internal table to XML format 20130730
20 _PARTITION_CUBE_FACTTAB Instance method Private Method Creates partitions in cube fact tables, deletes old ones 20130730
21 _PARTITION_CUBE_FFACT Instance method Private Method Partitions F - fact table 20130730
22 _SAVE_CG_TO_TESTTAB Static method Private Method Saves a Conv. Grp. to test tables 20130730
23 _SAVE_CUBE_TO_TESTTAB Static method Private Method Saves reference InfoCube data to test scenario 20130730
24 _XML_TO_DB_TAB Instance method Private Method Saves given XML to given table 20130730
Events
Class CL_RSCNV_TEST has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 NT_S_SRC_TGT_TABL Public See coding 20130730 BEGIN OF nt_s_src_tgt_tabl, src TYPE tabname, tgt TYPE tabname, objtp type rscnv_s_testdata-objtp, END OF nt_s_src_tgt_tabl
2 NT_T_SRC_TGT_TABL Public See coding 20130730 nt_t_src_tgt_tabl TYPE STANDARD TABLE OF nt_s_src_tgt_tabl
Method Signatures

Method CHECK_NEW_VS_REF Signature

Method CHECK_NEW_VS_REF on class CL_RSCNV_TEST has no parameter.
Method CHECK_NEW_VS_REF on class CL_RSCNV_TEST has no exception.

Method CLEAR_TEST_SCENARIO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DELETE_LOGS Call by reference Type reference (TYPE) RS_BOOL 'X' Wenn TRUE, auch Protokolle löschen 20130730

Method CLEAR_TEST_SCENARIO on class CL_RSCNV_TEST has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CGNM Call by reference Type reference (TYPE) RSMRT_CGNM Konv.-Gruppenname 20130730
2 Importing I_IPRONM Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
3 Importing I_TESTID Call by reference Type reference (TYPE) CHAR10 Test-ID - Eindeutig 20130730
# Exception Resumable Description Created on
1 CX_RSCNV_EXCEPTION Ausnahmeklasse für Remodellierung 20130730

Method CREATE_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CGNM Call by reference Type reference (TYPE) RSMRT_CGNM 20130730
2 Importing I_IPRONM Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
3 Importing I_IPRO_REF Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
4 Importing I_TESTID Call by reference Type reference (TYPE) CHAR10 Länge des Zeichenfeldes = 10 20130730
# Exception Resumable Description Created on
1 CX_RSCNV_EXCEPTION Ausnahmeklasse für Remodellierung 20130730

Method DELETE_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CGNM Call by reference Type reference (TYPE) RSMRT_CGNM Konv.-Gruppenname 20130730
2 Importing I_IPRONM Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
3 Importing I_TESTID Call by reference Type reference (TYPE) CHAR10 Test-ID 20130730

Method DELETE_TEST on class CL_RSCNV_TEST has no exception.

Method FACTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CGNM Call by reference Type reference (TYPE) RSCNV_S_TEST-CGNM Name der Konvertierungsgruppe 20130730
2 Importing I_IPRONM Call by reference Type reference (TYPE) RSCNV_S_TEST-IPRONM InfoProvider - für Test 20130730
3 Importing I_TESTID Call by reference Type reference (TYPE) RSCNV_S_TEST-TESTID Test-ID - identifiziert einen Test eindeutig 20130730
4 Returning R_R_RSCNV_TEST Value transfer Object reference (TYPE REF TO) CL_RSCNV_TEST Klasse zum Automatisieren von Remodellierungsaufgaben 20130730
# Exception Resumable Description Created on
1 CX_RSCNV_EXCEPTION Ausnahmeklasse für Remodellierung 20130730

Method RESTORE_TEST_SCENARIO Signature

Method RESTORE_TEST_SCENARIO on class CL_RSCNV_TEST has no parameter.
Method RESTORE_TEST_SCENARIO on class CL_RSCNV_TEST has no exception.

Method RUN_TEST_SCENARIO Signature

Method RUN_TEST_SCENARIO on class CL_RSCNV_TEST has no parameter.
# Exception Resumable Description Created on
1 CX_RSCNV_EXCEPTION Ausnahmeklasse für Remodellierung 20130730

Method _CHECK_CUBE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DISPLAY_AS_POPUP Call by reference Type reference (TYPE) RS_BOOL SPACE Boolesch 20130730
2 Importing I_EXT_NUMBER Call by reference Type reference (TYPE) RSCNV_EXT_NUMBER Protokollobjekt, in das Ergebnisse geschrieben werden 20130730
3 Importing I_IPRO_NEW Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
4 Importing I_IPRO_REF Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
5 Importing I_OBJECT Call by reference Type reference (TYPE) RSCNV_OBJECT 'RSCNV' 20130730
6 Importing I_SUBOBJECT Call by reference Type reference (TYPE) RSCNV_SUBOBJECT 'RSCNV' 20130730

Method _CHECK_CUBE on class CL_RSCNV_TEST has no exception.

Method _CHECK_TEST_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EXISTS Call by reference Type reference (TYPE) RS_BOOL Boolesch 20130730
2 Importing I_CGNM Call by reference Type reference (TYPE) RSCNV_S_TEST-CGNM Name der Konvertierungsgruppe 20130730
3 Importing I_IPRONM Call by reference Type reference (TYPE) RSCNV_S_TEST-IPRONM InfoProvider - für Test 20130730
4 Importing I_TESTID Call by reference Type reference (TYPE) RSCNV_S_TEST-TESTID Test-ID - identifiziert einen Test eindeutig 20130730

Method _CHECK_TEST_EXISTS on class CL_RSCNV_TEST has no exception.

Method _COMPARE_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SUBRC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert von ABAP-Anweisungen 20130730
2 Exporting E_T_MSG Call by reference Type reference (TYPE) RSCNV_T_MSG 20130730
3 Importing I_TABL1 Call by reference Type reference (TYPE) TABNAME Tab.-Name 20130730
4 Importing I_TABL2 Call by reference Type reference (TYPE) TABNAME Tab.-Name 20130730

Method _COMPARE_TABLES on class CL_RSCNV_TEST has no exception.

Method _COPY_CG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TXTLG Call by reference Type reference (TYPE) RSTXTLG Long description 20130801
2 Exporting E_T_CG_NEW Call by reference Type reference (TYPE) STRING 20130801
3 Importing I_CG_NEW Call by reference Type reference (TYPE) RSMRT_CGNM 20130801
4 Importing I_CG_REF Call by reference Type reference (TYPE) RSMRT_CGNM 20130801
5 Importing I_IPRO_NEW Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130801
6 Importing I_IPRO_REF Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130801
7 Importing I_T_CG_REF Call by reference Type reference (TYPE) STRING 20130801

Method _COPY_CG on class CL_RSCNV_TEST has no exception.

Method _CREATE_CUBE_EMPTY Signature

Method _CREATE_CUBE_EMPTY on class CL_RSCNV_TEST has no parameter.
Method _CREATE_CUBE_EMPTY on class CL_RSCNV_TEST has no exception.

Method _CREATE_CUBE_WITH_FILL Signature

Method _CREATE_CUBE_WITH_FILL on class CL_RSCNV_TEST has no parameter.
Method _CREATE_CUBE_WITH_FILL on class CL_RSCNV_TEST has no exception.

Method _DBTAB_TO_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_XML Call by reference Type reference (TYPE) STRING 20130730
2 Importing I_TABLNM Call by reference Type reference (TYPE) TABNAME Tab.-Name 20130730

Method _DBTAB_TO_XML on class CL_RSCNV_TEST has no exception.

Method _DELETE_CUBE Signature

Method _DELETE_CUBE on class CL_RSCNV_TEST has no parameter.
Method _DELETE_CUBE on class CL_RSCNV_TEST has no exception.

Method _FILL_CUBE Signature

Method _FILL_CUBE on class CL_RSCNV_TEST has no parameter.
Method _FILL_CUBE on class CL_RSCNV_TEST has no exception.

Method _GET_TABLES_FOR_CUBES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_SRC_TGT_TABL Call by reference Type reference (TYPE) NT_T_SRC_TGT_TABL Referenz-InfoCube-Tabelle im Vgl. zu neuer InfoCube-Tabelle 20130730
2 Importing I_IPRONM Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
3 Importing I_IPRO_REF Call by reference Type reference (TYPE) RSINFOPROV InfoProvider 20130730
# Exception Resumable Description Created on
1 CX_RSCNV_EXCEPTION Ausnahmeklasse für Remodellierung 20130730

Method _ITAB_TO_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_XML Call by reference Type reference (TYPE) STRING 20130730
2 Importing I_T_ITAB Call by reference Type reference (TYPE) STANDARD TABLE 20130730

Method _ITAB_TO_XML on class CL_RSCNV_TEST has no exception.

Method _PARTITION_CUBE_FACTTAB Signature

Method _PARTITION_CUBE_FACTTAB on class CL_RSCNV_TEST has no parameter.
Method _PARTITION_CUBE_FACTTAB on class CL_RSCNV_TEST has no exception.

Method _PARTITION_CUBE_FFACT Signature

Method _PARTITION_CUBE_FFACT on class CL_RSCNV_TEST has no parameter.
Method _PARTITION_CUBE_FFACT on class CL_RSCNV_TEST has no exception.

Method _SAVE_CG_TO_TESTTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CGNM Call by reference Type reference (TYPE) STRING Name der Konv.-Gruppe 20130730
2 Importing I_IPRONM Call by reference Type reference (TYPE) STRING Name des InfoProviders 20130730
3 Importing I_IPRO_REF Call by reference Type reference (TYPE) STRING Name des Referenz-InfoProviders 20130730
# Exception Resumable Description Created on
1 CX_RSCNV_EXCEPTION Ausnahmeklasse für Remodellierung 20130730

Method _SAVE_CUBE_TO_TESTTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IPRONM Call by reference Type reference (TYPE) RSINFOPROV Ziel-InfoCube 20130730
2 Importing I_IPRO_REF Call by reference Type reference (TYPE) RSINFOPROV InfoCube, aus dem Daten kopiert werden 20130730
# Exception Resumable Description Created on
1 CX_RSCNV_EXCEPTION Ausnahmeklasse für Remodellierung 20130730

Method _XML_TO_DB_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DB_CNT Value transfer Type reference (TYPE) I 20130730
2 Importing I_TABLNM Call by reference Type reference (TYPE) RSD_TABLNM 20130730
3 Importing I_TRUNCATE Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE Boolesch 20130730
4 Importing I_XML Call by reference Type reference (TYPE) STRING 20130730

Method _XML_TO_DB_TAB on class CL_RSCNV_TEST has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740