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)
⤷ 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 | CNV | 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 | NC_UNITTEST_PACKID | Constant | Public | Type reference (TYPE) | CNV_PACK | 'UTEST' | Conversion: Conversion package number | 20130214 | |
2 | NV_ID | Instance attribute | Public | Type reference (TYPE) | CHAR32 | Generated ID | 20130218 | ||
3 | NV_PACKID | Instance attribute | Public | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20130214 | ||
4 | OC_ALPHABET | Constant | Protected | Type reference (TYPE) | CHAR255 | 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890' | Char255 | 20130218 | |
5 | OC_RELID | Constant | Protected | Type reference (TYPE) | INDX_RELID | 'TD' | Area in IMPORT/EXPORT data table | 20130218 | |
6 | OC_SPECIAL_ALPHABET | Constant | Protected | Type reference (TYPE) | CHAR255 | '!@#$%^&*()_+}{"|[]''/.,?><' | Char255 | 20130218 | |
7 | OT_CONTENT | 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 | CHECK_GEN_PACKID | Instance method | Protected | Method | Check whether the package number is a generated one | 20130218 |
2 | COLLECT_CONTENT | Instance method | Public | Method | Collects the content from the DB tables | 20130218 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | Creates store object | 20130214 |
4 | DELETE_CONTENT | Instance method | Public | Method | Deletes generated content from the DB tables | 20130218 |
5 | GET_RANDOM_PACKID | Static method | Protected | Method | Returns random generated package number | 20130215 |
6 | GET_TABLES | Instance method | Protected | Method | Retrieves control tables belonging to the package | 20130214 |
7 | GET_TABLE_CONTENTS | Instance method | Protected | Method | Retrieves contents from the DB table | 20130214 |
8 | LOAD_CONTENT | Instance method | Public | Method | Loades the content from the store and saves it into DB table | 20130215 |
9 | SAVE_CONTENT | Instance method | Public | Method | Saves the collected content into the store | 20130214 |
10 | SAVE_IN_REQUEST | Instance method | Public | Method | Saves the collected content in transport request | 20130218 |
11 | SELECT_TABLES | 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 | CX_CNV_MBT_UNITTEST_MOD_ERR | 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 | Importing | 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 | Importing | IV_ID | Call by reference | Type reference (TYPE) | CNV_MBT_UT_STORE-ID | 128 character | 20130218 | ||
2 | Importing | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_CNV_MBT_UNITTEST_MOD_ERR | Modification error | 20130218 |
Method GET_RANDOM_PACKID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | Returning | 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 | Importing | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130214 | ||
2 | Returning | 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 | Importing | IV_ID | Call by reference | Type reference (TYPE) | CNV_MBT_UT_STORE-ID | 128 character | 20130215 | ||
2 | Importing | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20130215 | ||
3 | Importing | IV_WRITEDB | Call by reference | Type reference (TYPE) | FLAG | SPACE | General Flag | 20130215 | |
4 | Returning | RR_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | 20130215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_CNV_MBT_UNITTEST_MOD_ERR | 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 | CX_CNV_MBT_UNITTEST_SAVE_ERR | 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 | Returning | RV_TRKORR | Value transfer | Type reference (TYPE) | E070-TRKORR | Request/Task | 20130218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_CNV_MBT_UNITTEST_SAVE_ERR | 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 | Returning | 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 |