SAP ABAP Class CL_RSCNV_SWITCH_HCARD (Operation: Switch high cardinality)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-DBA (Application Component) Data Basis
⤷
RSCNV (Package) Package for Metadata Remodeling
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_RSCNV_OPERATION | Operation: Main class | 20130416 |
Properties
| Class | CL_RSCNV_SWITCH_HCARD | |
| Short Description | Operation: Switch high cardinality | |
| Super Class | CL_RSCNV_OPERATION | Operation: Main class |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSCNV | Package for Metadata Remodeling |
| Created | 20130416 | 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) |
Interfaces
Class CL_RSCNV_SWITCH_HCARD has no interface implemented.
Friends
Class CL_RSCNV_SWITCH_HCARD has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | RSDHIGH_CARD_CHA | Boolean | 20130416 | |||
| 2 | Constant | Protected | Type reference (TYPE) | RSDRS_ALIAS | 'T1' | Table Alias for SX_QUERY | 20130711 | ||
| 3 | Instance attribute | Protected | Type reference (TYPE) | RSD_S_VIOBJ | View of all properties of an InfoObject | 20130711 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | RSD_T_ATR | Master data attributes | 20130711 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | RSD_T_ATR_NAV | View on Navigation Attributes and Texts (Table) | 20130711 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | RSDO_T_ATR | Master data attrib. | 20130717 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | RSD_T_IOBJ_CMP | Compounding of InfoObjects | 20130711 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | RSDO_T_CMP | Compounding of InfoObjects in RSDO Format | 20130717 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | DD03TTYP | Table Type for Structure DD03P | 20130717 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of X Table | 20130711 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of backup Table | 20130717 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of temporary X table | 20130711 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of Y Table | 20130711 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of backup Table | 20130717 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of temporary Y table | 20130711 | |||
| 16 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSCNV_SWITCH_HCARD | Operation: Switch high cardinality | 20130627 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Start building SIDless X/Y Tables | 20130711 | |
| 2 | Instance method | Public | Method | Clean up Tasks | 20130723 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20130416 | |
| 4 | Instance method | Protected | Method | Build SX Query | 20130711 | |
| 5 | Instance method | Protected | Method | Fill new X/Y Tables under temporary name | 20130711 | |
| 6 | Instance method | Protected | Method | Build temporary name for new X/Y Tables | 20130711 | |
| 7 | Instance method | Protected | Method | Create temporary table on database | 20130711 | |
| 8 | Instance method | Protected | Method | Drop original table and rename tmp table to new X/Y Table | 20130716 | |
| 9 | Instance method | Protected | Method | Execute single INSERT statement | 20130711 | |
| 10 | Instance method | Protected | Method | Insert data to new tmp X/Y Table | 20130715 | |
| 11 | Instance method | Protected | Method | Setting attributes | 20130716 | |
| 12 | Instance method | Protected | Method | Split SX_QUERY into several stmts with disjoint selections | 20130711 |
Events
Class CL_RSCNV_SWITCH_HCARD has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_T_SX_QUERY | Public | See coding | 20130711 | TN_T_SX_QUERY TYPE STANDARD TABLE OF rsdrs_sx_query WITH NON-UNIQUE DEFAULT KEY
|
||
| 2 | TO_RECS | Protected | See coding | 20130805 | TO_RECS type p LENGTH 16 DECIMALS 0
|
Method Signatures
Method CHANGE_XY_TABLES_TO_SIDLESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | I_S_VIOBJ | Call by reference | Type reference (TYPE) | RSD_S_VIOBJ | View of all properties of an InfoObject | 20130716 | |||
| 4 | I_T_ATR | Call by reference | Type reference (TYPE) | RSD_T_ATR | Master data attributes | 20130716 | |||
| 5 | I_T_ATR_NAV | Call by reference | Type reference (TYPE) | RSD_T_ATR_NAV | View on Navigation Attributes and Texts (Table) | 20130716 | |||
| 6 | I_T_CMP | Call by reference | Type reference (TYPE) | RSD_T_IOBJ_CMP | Compounding of InfoObjects | 20130716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method CLEAN_UP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 |
Method CLEAN_UP on class CL_RSCNV_SWITCH_HCARD has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_RRNM | Call by reference | Type reference (TYPE) | RSMRT_RRNM | Remodeling rule name | 20130416 | |||
| 2 | I_R_IPRO | Call by reference | Object reference (TYPE REF TO) | CL_RSCNV_IPRO | Object: InfoProvider | 20130416 | |||
| 3 | I_T_PARAMETER | Call by reference | Type reference (TYPE) | RSMRT_T_PARVAL | Table type of RSMRT_S_PARVAL | 20130416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130416 |
Method _BUILD_SX_QUERY_SIDLESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | E_SX_QUERY | Value transfer | Type reference (TYPE) | RSDRS_SX_QUERY | 20130805 | ||||
| 4 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator of time-dep. (Y) or time-indep. table | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method _BUILD_TMP_TAB_SIDLESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator as to whether the attribute is time-dependent | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method _BUILD_XY_TMP_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | E_TABLNM_TMP | Value transfer | Type reference (TYPE) | TABNAME | Temporary table | 20130805 | |||
| 4 | I_TABLNM | Call by reference | Type reference (TYPE) | TABNAME | Table | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method _CREATE_TMP_TAB_ON_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator of time-dep. (Y) or time-indep. table | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method _DROP_AND_RENAME_XY_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator as to whether the attribute is time-dependent | 20130716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method _EXECUTE_STMT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_RECS | Call by reference | Type reference (TYPE) | I | 20130805 | ||||
| 3 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 4 | I_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20130711 |
Method _EXECUTE_STMT on class CL_RSCNV_SWITCH_HCARD has no exception.
Method _FILL_XY_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator as to whether the attribute is time-dependent | 20130716 | |||
| 4 | I_T_SX_QUERY | Call by reference | Type reference (TYPE) | TN_T_SX_QUERY | 20130715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method _INIT_XY_TABLE_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | I_S_VIOBJ | Call by reference | Type reference (TYPE) | RSD_S_VIOBJ | View of all properties of an InfoObject | 20130716 | |||
| 4 | I_T_ATR | Call by reference | Type reference (TYPE) | RSD_T_ATR | Master data attributes | 20130716 | |||
| 5 | I_T_ATR_NAV | Call by reference | Type reference (TYPE) | RSD_T_ATR_NAV | View on Navigation Attributes and Texts (Table) | 20130716 | |||
| 6 | I_T_CMP | Call by reference | Type reference (TYPE) | RSD_T_IOBJ_CMP | Compounding of InfoObjects | 20130716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
Method _SPLIT_SX_QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | |||
| 2 | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | |||
| 3 | E_T_SX_QUERY | Value transfer | Type reference (TYPE) | TN_T_SX_QUERY | 20130805 | ||||
| 4 | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator of time-dep. (Y) or time-indep. table | 20130711 | |||
| 5 | I_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20130711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130805 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |