Hierarchy
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | 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 | Instance attribute | Private | Type reference (TYPE) | RSCNV_REQ_CNVREQNO | Request number | 20130730 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | TABNAME | E fact table | 20130730 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | TABNAME | F fact table | 20130730 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | RSCNV_S_TEST | Test details | 20130730 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | RSCNV_TLOGO | TLOGO type of InfoProv | 20130730 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | RSCNV_T_TESTDATA | Test data (tablenames only) | 20130730 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Checks new InfoProv with respect to Ref. InfoProv | 20130730 | |
| 2 | Instance method | Public | Method | Clears all objects (InfoProv, CGrp etc) | 20130730 | |
| 3 | Instance method | Public | Constructor | 20130730 | ||
| 4 | Static method | Public | Method | Saves test details and copies InfoProv data to test tables | 20130730 | |
| 5 | Static method | Public | Method | Deletes the test from the test tables | 20130730 | |
| 6 | Static method | Public | Method | 20130730 | ||
| 7 | Instance method | Public | Method | Restores test scenario | 20130730 | |
| 8 | Instance method | Public | Method | Runs a conversion | 20130730 | |
| 9 | Static method | Private | Method | Checks new cube vs. Ref. cube | 20130730 | |
| 10 | Static method | Public | Method | Checks if a test exists | 20130730 | |
| 11 | Static method | Private | Method | Compares two tables record by record | 20130730 | |
| 12 | Static method | Private | Method | 20130801 | ||
| 13 | Instance method | Private | Method | Creates an empty test cube using the reference cube | 20130730 | |
| 14 | Instance method | Private | Method | Creates a test cube and fills data from the test tables | 20130730 | |
| 15 | Static method | Private | Method | Converts entire contents of a DB table to XML | 20130730 | |
| 16 | Instance method | Private | Method | Deletes the test infocube | 20130730 | |
| 17 | Instance method | Private | Method | Fills test cube from test tables | 20130730 | |
| 18 | Static method | Private | Method | Gets all possible tables for new and Ref. cubes | 20130730 | |
| 19 | Static method | Private | Method | Converts internal table to XML format | 20130730 | |
| 20 | Instance method | Private | Method | Creates partitions in cube fact tables, deletes old ones | 20130730 | |
| 21 | Instance method | Private | Method | Partitions F - fact table | 20130730 | |
| 22 | Static method | Private | Method | Saves a Conv. Grp. to test tables | 20130730 | |
| 23 | Static method | Private | Method | Saves reference InfoCube data to test scenario | 20130730 | |
| 24 | 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 | 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 | I_CGNM | Call by reference | Type reference (TYPE) | RSMRT_CGNM | Konv.-Gruppenname | 20130730 | |||
| 2 | I_IPRONM | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 | |||
| 3 | I_TESTID | Call by reference | Type reference (TYPE) | CHAR10 | Test-ID - Eindeutig | 20130730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmeklasse für Remodellierung | 20130730 |
Method CREATE_TEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CGNM | Call by reference | Type reference (TYPE) | RSMRT_CGNM | 20130730 | ||||
| 2 | I_IPRONM | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 | |||
| 3 | I_IPRO_REF | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 | |||
| 4 | I_TESTID | Call by reference | Type reference (TYPE) | CHAR10 | Länge des Zeichenfeldes = 10 | 20130730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmeklasse für Remodellierung | 20130730 |
Method DELETE_TEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CGNM | Call by reference | Type reference (TYPE) | RSMRT_CGNM | Konv.-Gruppenname | 20130730 | |||
| 2 | I_IPRONM | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 | |||
| 3 | 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 | I_CGNM | Call by reference | Type reference (TYPE) | RSCNV_S_TEST-CGNM | Name der Konvertierungsgruppe | 20130730 | |||
| 2 | I_IPRONM | Call by reference | Type reference (TYPE) | RSCNV_S_TEST-IPRONM | InfoProvider - für Test | 20130730 | |||
| 3 | I_TESTID | Call by reference | Type reference (TYPE) | RSCNV_S_TEST-TESTID | Test-ID - identifiziert einen Test eindeutig | 20130730 | |||
| 4 | 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 | 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 | Ausnahmeklasse für Remodellierung | 20130730 |
Method _CHECK_CUBE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DISPLAY_AS_POPUP | Call by reference | Type reference (TYPE) | RS_BOOL | SPACE | Boolesch | 20130730 | ||
| 2 | I_EXT_NUMBER | Call by reference | Type reference (TYPE) | RSCNV_EXT_NUMBER | Protokollobjekt, in das Ergebnisse geschrieben werden | 20130730 | |||
| 3 | I_IPRO_NEW | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 | |||
| 4 | I_IPRO_REF | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 | |||
| 5 | I_OBJECT | Call by reference | Type reference (TYPE) | RSCNV_OBJECT | 'RSCNV' | 20130730 | |||
| 6 | 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 | E_EXISTS | Call by reference | Type reference (TYPE) | RS_BOOL | Boolesch | 20130730 | |||
| 2 | I_CGNM | Call by reference | Type reference (TYPE) | RSCNV_S_TEST-CGNM | Name der Konvertierungsgruppe | 20130730 | |||
| 3 | I_IPRONM | Call by reference | Type reference (TYPE) | RSCNV_S_TEST-IPRONM | InfoProvider - für Test | 20130730 | |||
| 4 | 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 | E_SUBRC | Value transfer | Type reference (TYPE) | SYSUBRC | Rückgabewert von ABAP-Anweisungen | 20130730 | |||
| 2 | E_T_MSG | Call by reference | Type reference (TYPE) | RSCNV_T_MSG | 20130730 | ||||
| 3 | I_TABL1 | Call by reference | Type reference (TYPE) | TABNAME | Tab.-Name | 20130730 | |||
| 4 | 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 | E_TXTLG | Call by reference | Type reference (TYPE) | RSTXTLG | Long description | 20130801 | |||
| 2 | E_T_CG_NEW | Call by reference | Type reference (TYPE) | STRING | 20130801 | ||||
| 3 | I_CG_NEW | Call by reference | Type reference (TYPE) | RSMRT_CGNM | 20130801 | ||||
| 4 | I_CG_REF | Call by reference | Type reference (TYPE) | RSMRT_CGNM | 20130801 | ||||
| 5 | I_IPRO_NEW | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130801 | |||
| 6 | I_IPRO_REF | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130801 | |||
| 7 | 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 | E_XML | Call by reference | Type reference (TYPE) | STRING | 20130730 | ||||
| 2 | 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 | 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 | I_IPRONM | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 | |||
| 3 | I_IPRO_REF | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoProvider | 20130730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_XML | Call by reference | Type reference (TYPE) | STRING | 20130730 | ||||
| 2 | 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 | I_CGNM | Call by reference | Type reference (TYPE) | STRING | Name der Konv.-Gruppe | 20130730 | |||
| 2 | I_IPRONM | Call by reference | Type reference (TYPE) | STRING | Name des InfoProviders | 20130730 | |||
| 3 | I_IPRO_REF | Call by reference | Type reference (TYPE) | STRING | Name des Referenz-InfoProviders | 20130730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | I_IPRONM | Call by reference | Type reference (TYPE) | RSINFOPROV | Ziel-InfoCube | 20130730 | |||
| 2 | I_IPRO_REF | Call by reference | Type reference (TYPE) | RSINFOPROV | InfoCube, aus dem Daten kopiert werden | 20130730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | DB_CNT | Value transfer | Type reference (TYPE) | I | 20130730 | ||||
| 2 | I_TABLNM | Call by reference | Type reference (TYPE) | RSD_TABLNM | 20130730 | ||||
| 3 | I_TRUNCATE | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolesch | 20130730 | ||
| 4 | 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 |