SAP ABAP Class CL_RSR_RRK0_LAYER_CURR (Dynamic Currencies in OLAP Layer)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX-OT (Application Component) OLAP Technology
     RSROA_RT (Package) OLAP: Kernel Runtime
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_RSR_RRK0_SERVICE_BASE Basis for RRK0 Service Classes 20110218
Properties
Class CL_RSR_RRK0_LAYER_CURR  
Short Description Dynamic Currencies in OLAP Layer    
Super Class CL_RSR_RRK0_SERVICE_BASE Basis for RRK0 Service Classes 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSROA_RT   OLAP: Kernel Runtime 
Created 20110218   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RRKG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSR_RRK0_LAYER_CURR has no interface implemented.
Friends
Class CL_RSR_RRK0_LAYER_CURR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_C_IDX_COLNM Constant Public See coding Column names of index 20110218
2 N_DATA_INDEX_ID Instance attribute Public Type reference (TYPE) TREXD_INDEX_ID Index of character values possibly needed for curr conv 20110330
3 N_TS_CHANMID Instance attribute Public Type reference (TYPE) RRSI_TS_EQSID CHANMIDs of chars possibly needed for curr conv 20110330
4 N_TS_CTTNM_INDEX_ID Instance attribute Public Type reference (TYPE) TN_TS_CTTNM_INDEX_ID 20110218
5 P_CTTNM_EXT Instance attribute Private Type reference (TYPE) RRNUMBR StrMember: Name of Currency Conversion Type 20110221
6 P_REL_DATA_BUILT Instance attribute Private Type reference (TYPE) RS_BOOL Has table with relevant data been built? 20110325
7 P_RTS_DATA Instance attribute Private Object reference (TYPE REF TO) DATA Sorted table with ctt relevant chars 20110329
8 P_TCUR_SID_EXT Instance attribute Private Type reference (TYPE) RSSID Master Data ID 20110221
9 P_TS_CURR Instance attribute Private Type reference (TYPE) RRKG_TS_CURR Exchange rates 20110218
Methods
# Method Level Visibility Method type Description Created on
1 GET_CURR_INDEXES Instance method Public Method Get data indexes for currency conversion 20110218
2 _ADD_DATA Instance method Private Method add data to p_rts_data 20110218
3 _CREATE_CUR_CONV_INDEX Instance method Private Method create conversion index based on unit for CTTNM 20110218
4 _CREATE_CUR_TIME_CONV_INDEX Instance method Private Method create conversion inde based on unit and date for CTTNM 20110218
5 _CREATE_INDEX_FOR_TAB Instance method Private Method create conversion index based for table 20110330
6 _CREATE_SORTED_TABLE Instance method Private Method Create Sorted Table for ctt relevant Chars 20110218
7 _GET_CTT_REL_DATA Instance method Private Method get data relevant for currency conversions 20110325
8 _GET_CUR_CONV_TAB Instance method Private Method get conversion table based on unit for CTTNM 20110218
9 _GET_CUR_TIME_CONV_TAB Instance method Private Method get conversion table based on unit and date for CTTNM 20110218
10 _GET_FACTOR_AND_TCUR Instance method Private Method get factor and target currency 20110218
11 _GET_SFC Instance method Private Method get sfc with entries needed for currency lookups 20110218
12 _GET_SID_FOR_FIX_CURRENCY Instance method Private Method 20110218
13 _RESET_INDEXES Instance method Private Method 20110218
Events
Class CL_RSR_RRK0_LAYER_CURR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PT_S_CTTNM_CUIDS Private See coding 20110218 BEGIN OF pt_s_cttnm_cuids, cttnm TYPE rrnumbr, ts_cuid TYPE pt_ts_cuid, END OF pt_s_cttnm_cuids
2 PT_TS_CTTNM_CUIDS Private See coding 20110218 pt_ts_cttnm_cuids TYPE SORTED TABLE OF pt_s_cttnm_cuids WITH UNIQUE KEY cttnm
3 PT_TS_CUID Private See coding 20110218 pt_ts_cuid TYPE SORTED TABLE OF rrcuid WITH UNIQUE KEY table_line
4 TN_S_CTTNM_INDEX_ID Public See coding 20110223 BEGIN OF tn_s_cttnm_index_id, cttnm TYPE rrnumbr, index_id TYPE trexd_index_id, END OF tn_s_cttnm_index_id
5 TN_TS_CTTNM_INDEX_ID Public See coding 20110223 tn_ts_cttnm_index_id TYPE SORTED TABLE OF tn_s_cttnm_index_id WITH UNIQUE KEY cttnm WITH NON-UNIQUE SORTED KEY index_id COMPONENTS index_id
6 TP_S_CUR_CONV Private See coding 20110218 BEGIN OF tp_s_cur_conv, scur_sid TYPE rssid, tcur_sid TYPE rssid, factor TYPE rsroa_df, END OF tp_s_cur_conv
7 TP_S_CUR_TIME_CONV Private See coding 20110218 BEGIN OF tp_s_cur_time_conv, scur_sid TYPE rssid, time_sid TYPE rssid, tcur_sid TYPE rssid, factor TYPE rsroa_df, END OF tp_s_cur_time_conv
8 TP_TS_CUR_CONV Private See coding 20110218 tp_ts_cur_conv TYPE SORTED TABLE OF tp_s_cur_conv WITH UNIQUE KEY scur_sid
9 TP_TS_CUR_TIME_CONV Private See coding 20110218 tp_ts_cur_time_conv TYPE SORTED TABLE OF tp_s_cur_time_conv WITH UNIQUE KEY scur_sid time_sid
Method Signatures

Method GET_CURR_INDEXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CMESS Call by reference Type reference (TYPE) RRKG_CMESS 20110218
2 Importing I_MQID Call by reference Type reference (TYPE) RRMQID Id für eine Warnungsgruppe 20110218
3 Importing I_R_PARTITION Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_PARTITION data carrying partitions 20110303
4 Importing I_R_QCUBE_DATA_PACKAGE Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_QCUBE_DATA_PACKAGE query cube data package 20121119

Method GET_CURR_INDEXES on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _ADD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TS_DATA Call by reference Type reference (TYPE) SORTED TABLE 20110330
2 Importing I_T_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110218

Method _ADD_DATA on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _CREATE_CUR_CONV_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CMESS Call by reference Type reference (TYPE) RRKG_CMESS 20110218
2 Exporting E_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20110218
3 Importing I_MQID Call by reference Type reference (TYPE) RRMQID Id für eine Warnungsgruppe 20110218
4 Importing I_R_PARTITION Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_PARTITION data carrying partitions 20110303
5 Importing I_S_CTTNM Call by reference Type reference (TYPE) RRO01_S_CTTNM Währungsumrechnungsarten 20110218
6 Importing I_TS_CUID Call by reference Type reference (TYPE) PT_TS_CUID 20110218

Method _CREATE_CUR_CONV_INDEX on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _CREATE_CUR_TIME_CONV_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CMESS Call by reference Type reference (TYPE) RRKG_CMESS 20110218
2 Exporting E_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20110218
3 Importing I_MQID Call by reference Type reference (TYPE) RRMQID Id für eine Warnungsgruppe 20110218
4 Importing I_R_PARTITION Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_PARTITION data carrying partitions 20110303
5 Importing I_S_CTTNM Call by reference Type reference (TYPE) RRO01_S_CTTNM Währungsumrechnungsarten 20110218
6 Importing I_TS_CUID Call by reference Type reference (TYPE) PT_TS_CUID 20110218

Method _CREATE_CUR_TIME_CONV_INDEX on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _CREATE_INDEX_FOR_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_INDEX_ID Call by reference Type reference (TYPE) TREXD_INDEX_ID Index-ID 20110330
2 Importing I_TA_DATA Call by reference Type reference (TYPE) ANY TABLE 20110330

Method _CREATE_INDEX_FOR_TAB on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _CREATE_SORTED_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_CHANMID Call by reference Type reference (TYPE) RRSI_TS_EQSID CHANMIDs of chars possibly needed for curr conv 20110329
2 Exporting E_XFEMS Call by reference Type reference (TYPE) RRXFEMS Bitleiste der betrofenen FEMS 20110325

Method _CREATE_SORTED_TABLE on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _GET_CTT_REL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_PARTITION Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_PARTITION data carrying partitions 20130711

Method _GET_CTT_REL_DATA on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _GET_CUR_CONV_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CMESS Call by reference Type reference (TYPE) RRKG_CMESS 20110218
2 Exporting E_TS_CUR_CONV Call by reference Type reference (TYPE) TP_TS_CUR_CONV 20110218
3 Importing I_MQID Call by reference Type reference (TYPE) RRMQID Id für eine Warnungsgruppe 20110218
4 Importing I_R_PARTITION Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_PARTITION data carrying partitions 20110303
5 Importing I_S_CTTNM Call by reference Type reference (TYPE) RRO01_S_CTTNM Währungsumrechnungsarten 20110218
6 Importing I_TS_CUID Call by reference Type reference (TYPE) PT_TS_CUID 20110218

Method _GET_CUR_CONV_TAB on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _GET_CUR_TIME_CONV_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CMESS Call by reference Type reference (TYPE) RRKG_CMESS 20110218
2 Exporting E_TS_CUR_TIME_CONV Call by reference Type reference (TYPE) TP_TS_CUR_TIME_CONV 20110218
3 Importing I_MQID Call by reference Type reference (TYPE) RRMQID Id für eine Warnungsgruppe 20110218
4 Importing I_R_PARTITION Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_PARTITION data carrying partitions 20110303
5 Importing I_S_CTTNM Call by reference Type reference (TYPE) RRO01_S_CTTNM Währungsumrechnungsarten 20110218
6 Importing I_TS_CUID Call by reference Type reference (TYPE) PT_TS_CUID 20110218

Method _GET_CUR_TIME_CONV_TAB on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _GET_FACTOR_AND_TCUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_TA_CUR_CONV Call by reference Type reference (TYPE) ANY TABLE 20110218
2 Exporting E_CMESS Call by reference Type reference (TYPE) RRKG_CMESS 20110218
3 Importing I_MQID Call by reference Type reference (TYPE) RRMQID Id für eine Warnungsgruppe 20110218
4 Importing I_R_PARTITION Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_PARTITION data carrying partitions 20110303
5 Importing I_S_CTTNM Call by reference Type reference (TYPE) RRO01_S_CTTNM Währungsumrechnungsarten 20110218

Method _GET_FACTOR_AND_TCUR on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _GET_SFC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TS_CHANMID Call by reference Type reference (TYPE) RRSI_TS_EQSID CHANMIDs of chars possibly needed for curr conv 20110329
2 Importing I_TS_PROVRQ Call by reference Type reference (TYPE) RSDR0_TS_PROVRQ Tabelle der PROV_RQDR 20110218
3 Returning R_TH_SFC Value transfer Type reference (TYPE) RSDD_TH_SFC Tabelle der benötigten Merkmale usw. 20110218

Method _GET_SFC on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _GET_SID_FOR_FIX_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20110218
2 Importing I_FIXCUKY Call by reference Type reference (TYPE) RSFIXCUKY Feste Währung 20110218

Method _GET_SID_FOR_FIX_CURRENCY on class CL_RSR_RRK0_LAYER_CURR has no exception.

Method _RESET_INDEXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RESET_DATA_INDEX Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20110330

Method _RESET_INDEXES on class CL_RSR_RRK0_LAYER_CURR has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740