SAP ABAP Class CL_CNV_MBT_UNITTEST_STORE (Unit test mock helper)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNV_MBT_UNITTEST (Package)
⤷
⤷
Properties
| Class | CL_CNV_MBT_UNITTEST_STORE | |
| Short Description | Unit test mock helper | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNV_MBT_UNITTEST | |
| Created | 20130214 | 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_MBT_UNITTEST_STORE has no interface implemented.
Friends
Class CL_CNV_MBT_UNITTEST_STORE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CNV_PACK | 'UTEST' | Conversion: Conversion package number | 20130214 | ||
| 2 | Instance attribute | Public | Type reference (TYPE) | CHAR32 | Generated ID | 20130218 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20130214 | |||
| 4 | Constant | Protected | Type reference (TYPE) | CHAR255 | 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' | Char255 | 20130218 | ||
| 5 | Constant | Protected | Type reference (TYPE) | INDX_RELID | 'TD' | Area in IMPORT/EXPORT data table | 20130218 | ||
| 6 | Constant | Protected | Type reference (TYPE) | CHAR255 | '!@#$%^&*()_+}{"|[]''/.,?><' | Char255 | 20130218 | ||
| 7 | Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_UNITTEST_T_CONTENT | Test content table | 20130218 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Check whether the package number is a generated one | 20130218 | |
| 2 | Instance method | Public | Method | Collects the content from the DB tables | 20130218 | |
| 3 | Instance method | Public | Constructor | Creates store object | 20130214 | |
| 4 | Instance method | Public | Method | Deletes generated content from the DB tables | 20130218 | |
| 5 | Static method | Protected | Method | Returns random generated package number | 20130215 | |
| 6 | Instance method | Protected | Method | Retrieves control tables belonging to the package | 20130214 | |
| 7 | Instance method | Protected | Method | Retrieves contents from the DB table | 20130214 | |
| 8 | Instance method | Public | Method | Loades the content from the store and saves it into DB table | 20130215 | |
| 9 | Instance method | Public | Method | Saves the collected content into the store | 20130214 | |
| 10 | Instance method | Public | Method | Saves the collected content in transport request | 20130218 | |
| 11 | Instance method | Public | Method | Selects tables from among package tables | 20130214 |
Events
Class CL_CNV_MBT_UNITTEST_STORE has no event.
Types
Class CL_CNV_MBT_UNITTEST_STORE has no local type.
Method Signatures
Method CHECK_GEN_PACKID Signature
Method CHECK_GEN_PACKID on class CL_CNV_MBT_UNITTEST_STORE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Modification error | 20130218 |
Method COLLECT_CONTENT Signature
Method COLLECT_CONTENT on class CL_CNV_MBT_UNITTEST_STORE has no parameter.
Method COLLECT_CONTENT on class CL_CNV_MBT_UNITTEST_STORE has no exception.
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) | CNV_PACK | Conversion: Conversion package number | 20130214 |
Method CONSTRUCTOR on class CL_CNV_MBT_UNITTEST_STORE has no exception.
Method DELETE_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | CNV_MBT_UT_STORE-ID | 128 character | 20130218 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Modification error | 20130218 |
Method GET_RANDOM_PACKID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_PACKID | Value transfer | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20130215 |
Method GET_RANDOM_PACKID on class CL_CNV_MBT_UNITTEST_STORE has no exception.
Method GET_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_TABNAME | Value transfer | Type reference (TYPE) | TTTABNAME | Number of Tables | 20130214 |
Method GET_TABLES on class CL_CNV_MBT_UNITTEST_STORE has no exception.
Method GET_TABLE_CONTENTS 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 | Table Name | 20130214 | |||
| 2 | RR_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | 20130214 |
Method GET_TABLE_CONTENTS on class CL_CNV_MBT_UNITTEST_STORE has no exception.
Method LOAD_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | CNV_MBT_UT_STORE-ID | 128 character | 20130215 | |||
| 2 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130215 | |||
| 3 | IV_WRITEDB | Call by reference | Type reference (TYPE) | FLAG | SPACE | General Flag | 20130215 | ||
| 4 | RR_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | 20130215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Modification error | 20130218 |
Method SAVE_CONTENT Signature
Method SAVE_CONTENT on class CL_CNV_MBT_UNITTEST_STORE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error saving to unit test storage | 20130214 |
Method SAVE_IN_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_TRKORR | Value transfer | Type reference (TYPE) | E070-TRKORR | Request/Task | 20130218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error saving to unit test storage | 20130218 |
Method SELECT_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_TABNAME | Value transfer | Type reference (TYPE) | TTTABNAME | Number of Tables | 20130214 |
Method SELECT_TABLES on class CL_CNV_MBT_UNITTEST_STORE has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2010_1_620 |