SAP ABAP Class CL_RSDRD_SDEL_TC (Random test case for selective deletion)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSDRD (Package) Delete Data Manager Data
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRC_DS_BASE_TC | Base Class for RANDOM Data Manager Tests | 20080225 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRD_SDEL_TC_BY_CMPL | Verify by calc. the compl. for the deleted tuples | 20080225 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRD_SDEL_TC_BY_CNT | Verify by counting expected number of deleted tuples | 20080225 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRD_SDEL_TC_BY_IPCMP | Verify by execute delete on another infoprovider | 20080225 |
Properties
| Class | CL_RSDRD_SDEL_TC | |
| Short Description | Random test case for selective deletion | |
| Super Class | CL_RSDRC_DS_BASE_TC | Base Class for RANDOM Data Manager Tests |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSDRD | Delete Data Manager Data |
| Created | 20080225 | SAP |
| Last change | 20130531 | 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) |
Interfaces
Class CL_RSDRD_SDEL_TC has no interface implemented.
Friends
Class CL_RSDRD_SDEL_TC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20080227 | |||||
| 2 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_RSDRD_TC_IPROV_PROXY | Infoprovider used to execute selective deletion | 20080225 | |||
| 3 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_RSDRD_TC_IPROV_PROXY | Infoprovider used to load the test data | 20080225 | |||
| 4 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_RSDRD_TC_IPROV_PROXY | Infoprovider used to verify the test result | 20080225 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Flag which shows if OS_INFOPROV_VERIFY is already filled | 20080225 | ||
| 6 | Static Attribute | Protected | Type reference (TYPE) | I | 0 | Number of executed test runs | 20080225 | ||
| 7 | Static Attribute | Protected | Type reference (TYPE) | I | NC_REFDATA_PDIMSTATUS-OK | Shows status of ref data | 20080227 | ||
| 8 | Instance attribute | Protected | Type reference (TYPE) | I | Actual number of deleted tuples | 20080225 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | I | Rowcount of tuples that are expected to be deleted | 20080225 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Flag which shows if only includings are used in O_RANGE | 20080225 | ||
| 11 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_RSDRD_TC_RANGE_PROXY | Range for deletion | 20080225 | |||
| 12 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Table of data which is going to be deleted => for rollback | 20080225 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Flag which shows if SIDS shall be used for sel. deletion | 20080225 | ||
| 14 | Instance attribute | Protected | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Flag which shows if partitions shall be truncated | 20080225 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Verify test results: Compare exp. number to act. number | 20080225 | |
| 2 | Instance method | Protected | Method | Calculate the expected number of deleted tuples | 20080225 | |
| 3 | Instance method | Protected | Method | Delete data in infoproviders | 20080225 | |
| 4 | Instance method | Protected | Method | Rollback of infoproviders | 20080225 | |
| 5 | Instance method | Protected | Method | Verification method is request save => Requ IDs can be used | 20080225 | |
| 6 | Instance method | Private | Method | Write range to spool | 20080225 | |
| 7 | Instance method | Protected | Method | Write reference data back to InfoProviders | 20080225 | |
| 8 | Static method | Public | Method | Write runtime results | 20080228 | |
| 9 | Instance method | Private | Method | Write test results to spool | 20080225 |
Events
Class CL_RSDRD_SDEL_TC has no event.
Types
Class CL_RSDRD_SDEL_TC has no local type.
Method Signatures
Method AFTER_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_CORRECT | Value transfer | Type reference (TYPE) | RS_BOOL | R_CORRECT | 20080225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_STATIC_CHECK | 20080225 |
Method BEFORE_DELETE Signature
Method BEFORE_DELETE on class CL_RSDRD_SDEL_TC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_STATIC_CHECK | 20080225 |
Method DELETE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CNT | Value transfer | Type reference (TYPE) | I | E_CNT | 20080225 | |||
| 2 | I_INFOPROV | Call by reference | Object reference (TYPE REF TO) | CL_RSDRD_TC_IPROV_PROXY | I_INFOPROV | 20080225 | |||
| 3 | I_RANGE | Call by reference | Object reference (TYPE REF TO) | CL_RSDRD_TC_RANGE_PROXY | I_RANGE | 20080225 | |||
| 4 | I_USING_SIDS | Call by reference | Type reference (TYPE) | RS_BOOL | I_USING_SIDS | 20080225 | |||
| 5 | I_WORK_ON_PARTITIONS | Call by reference | Type reference (TYPE) | RS_BOOL | I_WORK_ON_PARTITIONS | 20080225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_RS_DATA_ERROR | 20080225 |
Method ROLLBACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COMPRESS | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | I_COMPRESS | 20080317 | ||
| 2 | I_CORRECT | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | I_CORRECT | 20080225 | ||
| 3 | I_INFOPROV | Call by reference | Object reference (TYPE REF TO) | CL_RSDRD_TC_IPROV_PROXY | I_INFOPROV | 20080225 | |||
| 4 | I_NR_DELETED | Call by reference | Type reference (TYPE) | I | 1 | I_NR_DELETED | 20080227 | ||
| 5 | I_R_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | I_R_DATA | 20080225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_RS_DATA_ERROR | 20080225 |
Method VERIFY_IS_REQSAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_SAVE | Value transfer | Type reference (TYPE) | RS_BOOL | R_SAVE | 20080225 |
Method VERIFY_IS_REQSAVE on class CL_RSDRD_SDEL_TC has no exception.
Method WRITE_RANGE Signature
Method WRITE_RANGE on class CL_RSDRD_SDEL_TC has no parameter.
Method WRITE_RANGE on class CL_RSDRD_SDEL_TC has no exception.
Method WRITE_REF_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COMPRESS | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20080314 | ||
| 2 | I_INFOPROV | Call by reference | Object reference (TYPE REF TO) | CL_RSDRD_TC_IPROV_PROXY | I_INFOPROV | 20080225 | |||
| 3 | I_ROLLUP | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Boolean | 20080319 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_RS_DATA_ERROR | 20080225 |
Method WRITE_RUNTIME Signature
Method WRITE_RUNTIME on class CL_RSDRD_SDEL_TC has no parameter.
Method WRITE_RUNTIME on class CL_RSDRD_SDEL_TC has no exception.
Method WRITE_TESTRESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CORRECT | Call by reference | Type reference (TYPE) | RS_BOOL | I_CORRECT | 20080225 |
Method WRITE_TESTRESULTS on class CL_RSDRD_SDEL_TC has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 711 |