SAP ABAP Class CL_RSDHAR_MAPPING (Runtime: Mapping)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-DST-HAP (Application Component) HANA Analysis Process
⤷
RSDHA (Package) SAP HANA Analysis in BW
⤷
⤷
Properties
| Class | CL_RSDHAR_MAPPING | |
| Short Description | Runtime: Mapping | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | RSDHA | |
| Program status | ||
| Category | 0 | |
| Package | RSDHA | SAP HANA Analysis in BW |
| Created | 20120717 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 6 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSDHAR_MAPPING has no interface implemented.
Friends
Class CL_RSDHAR_MAPPING 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) | IF_RSDHA_TYPES=>TN_T_FIELD_MAPPING | Field mapping (table) | 20120717 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Source Fields | 20120717 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Target Fields | 20120717 | |||
| 4 | Constant | Private | Type reference (TYPE) | ABAP_CHAR1 | '§' | Delimiter | 20120720 | ||
| 5 | Instance attribute | Private | Type reference (TYPE) | C | Dummy character for message text | 20130725 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TN_INHERIT_DATATYPE | Inherit data type for source fields (no typing in view) | 20121009 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TN_INITIALIZE_NULL_VALUES | Initialize Null Values of Key Figures | 20130503 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCSCENARIO | CalculationScenario | 20120717 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | View for source data | 20120717 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | TN_SPLIT_CONC_MODE | Split/concatenate mode | 20130424 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TH_MAP_SRC | Mapping table for source field view | 20120720 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_TH_MAP_TGT | Mapping table for target field view | 20120720 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD | Source fields (hashed table) | 20120717 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD | Target fields (hashed table) | 20120717 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | STRING | Prefix for view names | 20120717 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20120717 | |
| 2 | Instance method | Public | Method | Create CalcViews | 20120718 | |
| 3 | Static method | Public | Method | Are two fields compatible? | 20120725 | |
| 4 | Instance method | Private | Method | Create attribute | 20121009 | |
| 5 | Instance method | Private | Method | Create view für type conversion | 20120720 | |
| 6 | Instance method | Private | Method | Create view für projection | 20120718 | |
| 7 | Instance method | Private | Method | Get formula of alpha conversion | 20130704 | |
| 8 | Instance method | Private | Method | Get formula of conversion exit | 20130703 | |
| 9 | Instance method | Private | Method | Get formula of conversion exit GJAHR | 20130704 | |
| 10 | Instance method | Private | Method | Get formula of conversion exit NUMCV | 20130704 | |
| 11 | Instance method | Private | Method | Get formula of conversion exit PERI6 | 20130704 | |
| 12 | Instance method | Private | Method | Get formula of conversion exit PERI7 | 20130704 |
Events
Class CL_RSDHAR_MAPPING has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TN_INHERIT_DATATYPE | Public | Type reference (TYPE) | RS_BOOL | Inherit data type for source fields (no typing in view) | 20121009 | |
| 2 | TN_INITIALIZE_NULL_VALUES | Public | Type reference (TYPE) | RS_BOOL | Initialize Null Values of Key Figures | 20130503 | |
| 3 | TN_SPLIT_CONC_MODE | Public | Type reference (TYPE) | RS_BOOL | Split/concatenate mode | 20130424 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INHERIT_DATATYPE | Call by reference | Type reference (TYPE) | TN_INHERIT_DATATYPE | RS_C_TRUE | Inherit data type for source fields (no typing in view) | 20121009 | ||
| 2 | I_INITIALIZE_NULL_VALUES | Call by reference | Type reference (TYPE) | TN_INITIALIZE_NULL_VALUES | RS_C_FALSE | Initialize Null Values of Key Figures | 20130503 | ||
| 3 | I_SPLIT_CONC_MODE | Call by reference | Type reference (TYPE) | TN_SPLIT_CONC_MODE | RS_C_TRUE | Split/concatenate mode | 20130424 | ||
| 4 | I_T_MAPPING | Call by reference | Type reference (TYPE) | IF_RSDHA_TYPES=>TN_T_FIELD_MAPPING | Field mapping (table) | 20120717 | |||
| 5 | I_T_SRC_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Source Fields | 20120717 | |||
| 6 | I_T_TGT_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD | Target Fields | 20120717 |
Method CONSTRUCTOR on class CL_RSDHAR_MAPPING has no exception.
Method CREATE_CALCVIEWS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_OUTPUT_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | Output View | 20120720 | |||
| 2 | E_TH_FIELDNM_SPLITTED | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME | Names of splitted fields | 20130312 | |||
| 3 | I_ALPHA_CONVERSION | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | X: Alpha Conversion | 20130312 | ||
| 4 | I_R_CALCSCENARIO | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCSCENARIO | Calculation Scenario | 20120718 | |||
| 5 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | View for source data | 20120718 | |||
| 6 | I_TH_FIELDNM_SPLITTED | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME | Names of splitted fields | 20130312 | |||
| 7 | I_VIEW_PREFIX | Call by reference | Type reference (TYPE) | STRING | Prefix for view names | 20120718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130725 |
Method FIELDS_COMPATIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_FIELD_DESCR1 | Call by reference | Object reference (TYPE REF TO) | IF_RSDHAM_FIELD_DESCR | Field 1 | 20120725 | |||
| 2 | I_R_FIELD_DESCR2 | Call by reference | Object reference (TYPE REF TO) | IF_RSDHAM_FIELD_DESCR | Field 2 | 20120725 | |||
| 3 | R_COMPATIBLE | Value transfer | Type reference (TYPE) | RS_BOOL | Fields are compatible | 20120725 |
Method FIELDS_COMPATIBLE on class CL_RSDHAR_MAPPING has no exception.
Method P_CREATE_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INHERIT_DATATYPE | Call by reference | Type reference (TYPE) | TN_INHERIT_DATATYPE | RS_C_TRUE | Inherit data type for source fields (no typing in view) | 20121009 | ||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Feldname (logischer Name) | 20121009 | |||
| 3 | I_R_FIELD_DESCR | Call by reference | Object reference (TYPE REF TO) | IF_RSDHAM_FIELD_DESCR | Data Field (Properties) | 20121009 | |||
| 4 | R_R_ATTRIBUTE | Value transfer | Object reference (TYPE REF TO) | CL_RSDD_CS_ATTRIBUTE | Implementation of a CalcScenario Attribute | 20130312 |
Method P_CREATE_ATTRIBUTE on class CL_RSDHAR_MAPPING has no exception.
Method P_CREATE_CONV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ALPHA_CONVERSION | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | X: Alpha Conversion | 20130312 | ||
| 2 | I_R_CALCSCENARIO | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCSCENARIO | Calculation Scenario | 20130312 | |||
| 3 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | CalcView of source (input) | 20120720 | |||
| 4 | I_TH_FIELDNM_SPLITTED | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME | Names of splitted fields | 20130312 | |||
| 5 | R_R_VIEW | Value transfer | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | CalcView of type conversion | 20130312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130725 |
Method P_CREATE_PROJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_R_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | CalcView of projection | 20130312 | |||
| 2 | E_TH_FIELDNM_SPLITTED | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME | Names of splitted fields | 20130312 | |||
| 3 | I_R_CALCSCENARIO | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCSCENARIO | Calculation Scenario | 20130419 | |||
| 4 | I_R_SOURCE_VIEW | Call by reference | Object reference (TYPE REF TO) | CL_RSDD_CS_CALCVIEW | CalcView of source (input) | 20120718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception with generic message | 20130725 |
Method P_GET_ALPHA_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DIGITS | Call by reference | Type reference (TYPE) | I | Number of digits | 20130704 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Field name (logical name) | 20130704 | |||
| 3 | R_FORMULA | Value transfer | Type reference (TYPE) | STRING | Formula | 20130704 |
Method P_GET_ALPHA_FORMULA on class CL_RSDHAR_MAPPING has no exception.
Method P_GET_CONVEXIT_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_S_FIELD | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_S_FIELD | Structure for field list | 20130703 | |||
| 2 | R_FORMULA | Value transfer | Type reference (TYPE) | STRING | Formula | 20130703 |
Method P_GET_CONVEXIT_FORMULA on class CL_RSDHAR_MAPPING has no exception.
Method P_GET_GJAHR_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DIGITS | Call by reference | Type reference (TYPE) | I | Number of digits | 20130704 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Field name (logical name) | 20130704 | |||
| 3 | R_FORMULA | Value transfer | Type reference (TYPE) | STRING | Formula | 20130704 |
Method P_GET_GJAHR_FORMULA on class CL_RSDHAR_MAPPING has no exception.
Method P_GET_NUMCV_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DIGITS | Call by reference | Type reference (TYPE) | I | Number of digits | 20130704 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Field name (logical name) | 20130704 | |||
| 3 | R_FORMULA | Value transfer | Type reference (TYPE) | STRING | Formula | 20130704 |
Method P_GET_NUMCV_FORMULA on class CL_RSDHAR_MAPPING has no exception.
Method P_GET_PERI6_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DIGITS | Call by reference | Type reference (TYPE) | I | Number of digits | 20130704 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Field name (logical name) | 20130704 | |||
| 3 | R_FORMULA | Value transfer | Type reference (TYPE) | STRING | Formula | 20130704 |
Method P_GET_PERI6_FORMULA on class CL_RSDHAR_MAPPING has no exception.
Method P_GET_PERI7_FORMULA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DIGITS | Call by reference | Type reference (TYPE) | I | Number of digits | 20130704 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | IF_RSDHAM_FIELD_DESCR=>TN_NAME | Field name (logical name) | 20130704 | |||
| 3 | R_FORMULA | Value transfer | Type reference (TYPE) | STRING | Formula | 20130704 |
Method P_GET_PERI7_FORMULA on class CL_RSDHAR_MAPPING has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 731 |