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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ABAP_CHAR_UTILITIES Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_RSDHAM_FIELD_DESCR Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 IF_RSDHAM_FIELD_DESCR Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_RSDHA_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 RS 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 N_T_MAPPING Instance attribute Public Type reference (TYPE) IF_RSDHA_TYPES=>TN_T_FIELD_MAPPING Field mapping (table) 20120717
2 N_T_SRC_FIELD Instance attribute Public Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD Source Fields 20120717
3 N_T_TGT_FIELD Instance attribute Public Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD Target Fields 20120717
4 P_C_DELIMITER Constant Private Type reference (TYPE) ABAP_CHAR1 '§' Delimiter 20120720
5 P_DUMMY_MSG Instance attribute Private Type reference (TYPE) C Dummy character for message text 20130725
6 P_INHERIT_DATATYPE Instance attribute Private Type reference (TYPE) TN_INHERIT_DATATYPE Inherit data type for source fields (no typing in view) 20121009
7 P_INITIALIZE_NULL_VALUES Instance attribute Private Type reference (TYPE) TN_INITIALIZE_NULL_VALUES Initialize Null Values of Key Figures 20130503
8 P_R_CALCSCENARIO Instance attribute Private Object reference (TYPE REF TO) CL_RSDD_CS_CALCSCENARIO CalculationScenario 20120717
9 P_R_SOURCE_VIEW Instance attribute Private Object reference (TYPE REF TO) CL_RSDD_CS_CALCVIEW View for source data 20120717
10 P_SPLIT_CONC_MODE Instance attribute Private Type reference (TYPE) TN_SPLIT_CONC_MODE Split/concatenate mode 20130424
11 P_TH_MAP_SRC Instance attribute Private Type reference (TYPE) IF_RSDHA_TYPES=>TN_TH_MAP_SRC Mapping table for source field view 20120720
12 P_TH_MAP_TGT Instance attribute Private Type reference (TYPE) IF_RSDHA_TYPES=>TN_TH_MAP_TGT Mapping table for target field view 20120720
13 P_TH_SRC_FIELD Instance attribute Private Type reference (TYPE) CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD Source fields (hashed table) 20120717
14 P_TH_TGT_FIELD Instance attribute Private Type reference (TYPE) CL_RSDHAM_FIELD_DESCR=>TN_TH_FIELD Target fields (hashed table) 20120717
15 P_VIEW_PREFIX Instance attribute Private Type reference (TYPE) STRING Prefix for view names 20120717
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20120717
2 CREATE_CALCVIEWS Instance method Public Method Create CalcViews 20120718
3 FIELDS_COMPATIBLE Static method Public Method Are two fields compatible? 20120725
4 P_CREATE_ATTRIBUTE Instance method Private Method Create attribute 20121009
5 P_CREATE_CONV Instance method Private Method Create view für type conversion 20120720
6 P_CREATE_PROJ Instance method Private Method Create view für projection 20120718
7 P_GET_ALPHA_FORMULA Instance method Private Method Get formula of alpha conversion 20130704
8 P_GET_CONVEXIT_FORMULA Instance method Private Method Get formula of conversion exit 20130703
9 P_GET_GJAHR_FORMULA Instance method Private Method Get formula of conversion exit GJAHR 20130704
10 P_GET_NUMCV_FORMULA Instance method Private Method Get formula of conversion exit NUMCV 20130704
11 P_GET_PERI6_FORMULA Instance method Private Method Get formula of conversion exit PERI6 20130704
12 P_GET_PERI7_FORMULA 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 Importing 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 Importing 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 Importing I_SPLIT_CONC_MODE Call by reference Type reference (TYPE) TN_SPLIT_CONC_MODE RS_C_TRUE Split/concatenate mode 20130424
4 Importing I_T_MAPPING Call by reference Type reference (TYPE) IF_RSDHA_TYPES=>TN_T_FIELD_MAPPING Field mapping (table) 20120717
5 Importing I_T_SRC_FIELD Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_T_FIELD Source Fields 20120717
6 Importing 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 Exporting E_R_OUTPUT_VIEW Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCVIEW Output View 20120720
2 Exporting E_TH_FIELDNM_SPLITTED Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME Names of splitted fields 20130312
3 Importing I_ALPHA_CONVERSION Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE X: Alpha Conversion 20130312
4 Importing I_R_CALCSCENARIO Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCSCENARIO Calculation Scenario 20120718
5 Importing I_R_SOURCE_VIEW Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCVIEW View for source data 20120718
6 Importing I_TH_FIELDNM_SPLITTED Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME Names of splitted fields 20130312
7 Importing I_VIEW_PREFIX Call by reference Type reference (TYPE) STRING Prefix for view names 20120718
# Exception Resumable Description Created on
1 CX_RSDHA_MSG Exception with generic message 20130725

Method FIELDS_COMPATIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_FIELD_DESCR1 Call by reference Object reference (TYPE REF TO) IF_RSDHAM_FIELD_DESCR Field 1 20120725
2 Importing I_R_FIELD_DESCR2 Call by reference Object reference (TYPE REF TO) IF_RSDHAM_FIELD_DESCR Field 2 20120725
3 Returning 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 Importing 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 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Feldname (logischer Name) 20121009
3 Importing I_R_FIELD_DESCR Call by reference Object reference (TYPE REF TO) IF_RSDHAM_FIELD_DESCR Data Field (Properties) 20121009
4 Returning 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 Importing I_ALPHA_CONVERSION Call by reference Type reference (TYPE) RS_BOOL RS_C_FALSE X: Alpha Conversion 20130312
2 Importing I_R_CALCSCENARIO Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCSCENARIO Calculation Scenario 20130312
3 Importing I_R_SOURCE_VIEW Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCVIEW CalcView of source (input) 20120720
4 Importing I_TH_FIELDNM_SPLITTED Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME Names of splitted fields 20130312
5 Returning 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 CX_RSDHA_MSG 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 Exporting E_R_VIEW Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCVIEW CalcView of projection 20130312
2 Exporting E_TH_FIELDNM_SPLITTED Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_TH_NAME Names of splitted fields 20130312
3 Importing I_R_CALCSCENARIO Call by reference Object reference (TYPE REF TO) CL_RSDD_CS_CALCSCENARIO Calculation Scenario 20130419
4 Importing 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 CX_RSDHA_MSG 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 Importing I_DIGITS Call by reference Type reference (TYPE) I Number of digits 20130704
2 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Field name (logical name) 20130704
3 Returning 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 Importing I_S_FIELD Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_S_FIELD Structure for field list 20130703
2 Returning 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 Importing I_DIGITS Call by reference Type reference (TYPE) I Number of digits 20130704
2 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Field name (logical name) 20130704
3 Returning 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 Importing I_DIGITS Call by reference Type reference (TYPE) I Number of digits 20130704
2 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Field name (logical name) 20130704
3 Returning 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 Importing I_DIGITS Call by reference Type reference (TYPE) I Number of digits 20130704
2 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Field name (logical name) 20130704
3 Returning 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 Importing I_DIGITS Call by reference Type reference (TYPE) I Number of digits 20130704
2 Importing I_NAME Call by reference Type reference (TYPE) IF_RSDHAM_FIELD_DESCR=>TN_NAME Field name (logical name) 20130704
3 Returning 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