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
⤷ 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 | RSD | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | RSDRS | 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 | N_SWITCH_HCARD_TO | Instance attribute | Public | Type reference (TYPE) | RSDHIGH_CARD_CHA | Boolean | 20130416 | ||
2 | O_C_TAB_ALIAS | Constant | Protected | Type reference (TYPE) | RSDRS_ALIAS | 'T1' | Table Alias for SX_QUERY | 20130711 | |
3 | O_S_VIOBJ | Instance attribute | Protected | Type reference (TYPE) | RSD_S_VIOBJ | View of all properties of an InfoObject | 20130711 | ||
4 | O_T_ATR | Instance attribute | Protected | Type reference (TYPE) | RSD_T_ATR | Master data attributes | 20130711 | ||
5 | O_T_ATR_NAV | Instance attribute | Protected | Type reference (TYPE) | RSD_T_ATR_NAV | View on Navigation Attributes and Texts (Table) | 20130711 | ||
6 | O_T_ATR_RSDO | Instance attribute | Protected | Type reference (TYPE) | RSDO_T_ATR | Master data attrib. | 20130717 | ||
7 | O_T_CMP | Instance attribute | Protected | Type reference (TYPE) | RSD_T_IOBJ_CMP | Compounding of InfoObjects | 20130711 | ||
8 | O_T_CMP_RSDO | Instance attribute | Protected | Type reference (TYPE) | RSDO_T_CMP | Compounding of InfoObjects in RSDO Format | 20130717 | ||
9 | O_T_DD03P | Instance attribute | Protected | Type reference (TYPE) | DD03TTYP | Table Type for Structure DD03P | 20130717 | ||
10 | O_XTABNM | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of X Table | 20130711 | ||
11 | O_XTABNM_BACKUP | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of backup Table | 20130717 | ||
12 | O_XTABNM_TMP | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of temporary X table | 20130711 | ||
13 | O_YTABNM | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of Y Table | 20130711 | ||
14 | O_YTABNM_BACKUP | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of backup Table | 20130717 | ||
15 | O_YTABNM_TMP | Instance attribute | Protected | Type reference (TYPE) | RSD_TABLNM | Name of temporary Y table | 20130711 | ||
16 | P_R_INVERTED | 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 | CHANGE_XY_TABLES_TO_SIDLESS | Instance method | Public | Method | Start building SIDless X/Y Tables | 20130711 |
2 | CLEAN_UP | Instance method | Public | Method | Clean up Tasks | 20130723 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20130416 |
4 | _BUILD_SX_QUERY_SIDLESS | Instance method | Protected | Method | Build SX Query | 20130711 |
5 | _BUILD_TMP_TAB_SIDLESS | Instance method | Protected | Method | Fill new X/Y Tables under temporary name | 20130711 |
6 | _BUILD_XY_TMP_NAME | Instance method | Protected | Method | Build temporary name for new X/Y Tables | 20130711 |
7 | _CREATE_TMP_TAB_ON_DB | Instance method | Protected | Method | Create temporary table on database | 20130711 |
8 | _DROP_AND_RENAME_XY_TABLE | Instance method | Protected | Method | Drop original table and rename tmp table to new X/Y Table | 20130716 |
9 | _EXECUTE_STMT | Instance method | Protected | Method | Execute single INSERT statement | 20130711 |
10 | _FILL_XY_TABLES | Instance method | Protected | Method | Insert data to new tmp X/Y Table | 20130715 |
11 | _INIT_XY_TABLE_CHANGE | Instance method | Protected | Method | Setting attributes | 20130716 |
12 | _SPLIT_SX_QUERY | 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 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Importing | I_S_VIOBJ | Call by reference | Type reference (TYPE) | RSD_S_VIOBJ | View of all properties of an InfoObject | 20130716 | ||
4 | Importing | I_T_ATR | Call by reference | Type reference (TYPE) | RSD_T_ATR | Master data attributes | 20130716 | ||
5 | Importing | I_T_ATR_NAV | Call by reference | Type reference (TYPE) | RSD_T_ATR_NAV | View on Navigation Attributes and Texts (Table) | 20130716 | ||
6 | Importing | I_T_CMP | Call by reference | Type reference (TYPE) | RSD_T_IOBJ_CMP | Compounding of InfoObjects | 20130716 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | STEP_FAILED | 20130805 |
Method CLEAN_UP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | 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 | Importing | I_RRNM | Call by reference | Type reference (TYPE) | RSMRT_RRNM | Remodeling rule name | 20130416 | ||
2 | Importing | I_R_IPRO | Call by reference | Object reference (TYPE REF TO) | CL_RSCNV_IPRO | Object: InfoProvider | 20130416 | ||
3 | Importing | 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 | WRONG_PARAMETER | 20130416 |
Method _BUILD_SX_QUERY_SIDLESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Exporting | E_SX_QUERY | Value transfer | Type reference (TYPE) | RSDRS_SX_QUERY | 20130805 | |||
4 | Importing | 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 | STEP_FAILED | 20130805 |
Method _BUILD_TMP_TAB_SIDLESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Importing | 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 | STEP_FAILED | 20130805 |
Method _BUILD_XY_TMP_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Exporting | E_TABLNM_TMP | Value transfer | Type reference (TYPE) | TABNAME | Temporary table | 20130805 | ||
4 | Importing | I_TABLNM | Call by reference | Type reference (TYPE) | TABNAME | Table | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | STEP_FAILED | 20130805 |
Method _CREATE_TMP_TAB_ON_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Importing | 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 | STEP_FAILED | 20130805 |
Method _DROP_AND_RENAME_XY_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Importing | 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 | STEP_FAILED | 20130805 |
Method _EXECUTE_STMT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_RECS | Call by reference | Type reference (TYPE) | I | 20130805 | |||
3 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
4 | Importing | 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 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Importing | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator as to whether the attribute is time-dependent | 20130716 | ||
4 | Importing | I_T_SX_QUERY | Call by reference | Type reference (TYPE) | TN_T_SX_QUERY | 20130715 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | STEP_FAILED | 20130805 |
Method _INIT_XY_TABLE_CHANGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Importing | I_S_VIOBJ | Call by reference | Type reference (TYPE) | RSD_S_VIOBJ | View of all properties of an InfoObject | 20130716 | ||
4 | Importing | I_T_ATR | Call by reference | Type reference (TYPE) | RSD_T_ATR | Master data attributes | 20130716 | ||
5 | Importing | I_T_ATR_NAV | Call by reference | Type reference (TYPE) | RSD_T_ATR_NAV | View on Navigation Attributes and Texts (Table) | 20130716 | ||
6 | Importing | I_T_CMP | Call by reference | Type reference (TYPE) | RSD_T_IOBJ_CMP | Compounding of InfoObjects | 20130716 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | STEP_FAILED | 20130805 |
Method _SPLIT_SX_QUERY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | C_T_MSG | Call by reference | Type reference (TYPE) | RS_T_MSG | BW: Table with Messages (Application Log) | 20130815 | ||
2 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SY-SUBRC | ABAP System Field: Return Code of ABAP Statements | 20130805 | ||
3 | Exporting | E_T_SX_QUERY | Value transfer | Type reference (TYPE) | TN_T_SX_QUERY | 20130805 | |||
4 | Importing | I_ATRTIMFL | Call by reference | Type reference (TYPE) | RSDATRTIMFL | Indicator of time-dep. (Y) or time-indep. table | 20130711 | ||
5 | Importing | I_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | 20130711 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | STEP_FAILED | 20130805 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |