SAP ABAP Class CL_RSR_RRK0_CURR (Currency Translation in Query)
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 20050822
Properties
Class CL_RSR_RRK0_CURR  
Short Description Currency Translation in Query    
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 20050822   SAP 
Last change 20140121   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 RRO01 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 RSD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 RSW0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
6 RZI0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSR_RRK0_CURR has no interface implemented.
Friends
Class CL_RSR_RRK0_CURR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_C_KID_EX Constant Public Type reference (TYPE) RRO01_S_CELL-KID 0 Perform currency translation on complete object 20110330
2 P_CACHE_CURRENCY_TIMESTMP Instance attribute Private Type reference (TYPE) RSTIMESTMP Time Stamps of Currencies in Cache 20110427
3 P_CTART Instance attribute Private Type reference (TYPE) RRCTART Which Currency Conversions are Active 20110426
4 P_CTTNM Instance attribute Private Type reference (TYPE) RRNUMBR StrMember: Name of Currency Conversion Type 20110426
5 P_R_TKX_CUDIM Instance attribute Private Object reference (TYPE REF TO) RRK_TKX_CUDIM Reference to CUDIMs from SP 20110331
6 P_SX_CUDIM Instance attribute Private Type reference (TYPE) RRK_SX_CUDIM needed for method cudim_to_cudimid 20110331
7 P_S_CURR_PREC Instance attribute Private Type reference (TYPE) TP_S_PREC Currency Shift and Number of Decimal Places 20050824
8 P_S_UNIT_PREC Instance attribute Private Type reference (TYPE) TP_S_PREC 20050824
9 P_TCUR Instance attribute Private Type reference (TYPE) TCURR_CURR To-Currency 20110426
10 P_TS_CURR Static Attribute Private See coding SID to Currency Key and Vice Versa 20050824
11 P_TS_CURR_PREC Instance attribute Private Type reference (TYPE) TP_TS_PREC Currency Shift and Number of Decimal Places 20050824
12 P_TS_KID_CURR Instance attribute Private Type reference (TYPE) TP_TS_KID_CURR Currency rates for a KID 20110330
13 P_TS_UNIT Static Attribute Private See coding Unit Key to SID 20061009
14 P_TS_UNIT_PREC Instance attribute Private Type reference (TYPE) TP_TS_PREC 20050824
15 P_T_CURR_WGR Instance attribute Private See coding 20110304
Methods
# Method Level Visibility Method type Description Created on
1 ASSIGN_PARTITION_TO_CURR_WGR Instance method Public Method Assigns a partition to a CURR_WGR object 20110426
2 CHECK_BUFFER_VALIDITY Instance method Public Method check the validity of the buffers 20110427
3 CLEAR_QCF Instance method Private Method 20110308
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20050822
5 CUDIM_TO_CUDIMID Instance method Public Method convert maybe complex cudim to maybe complex curr/units 20110331
6 CUDIM_TO_CURRUNIT Static method Public Method 20050822
7 CURR_TO_SID Static method Public Method Currency Key to SID 20050824
8 FINISH_INITIALIZATION Instance method Public Method Starts initialization 20110426
9 FREE_CURR_WGR Instance method Private Method 20110324
10 GET_CURR_WGR Instance method Public Method Currency Translation in the Query for WGRs 20110304
11 GET_CUR_DEF Instance method Public Method Translation from Query Designer Active 20110304
12 GET_CUR_LOC Instance method Public Method Excel Translation; New Translation 20110304
13 GET_DECIMALS Static method Public Method Currency Shift 20050822
14 PREPARE_ACCESSES_QCF Instance method Public Method 20110309
15 SET_SP_CUDIM Instance method Public Method Set CUDIM Info from SP (complex unit expressions used in SP) 20110331
16 SET_TCUR Instance method Public Method CHECK_TCUR 20050908
17 SID_TO_CURR Static method Public Method SID to Currency Key 20050824
18 SID_TO_CURR_FACTOR Instance method Public Method Currency Shift 20060110
19 SID_TO_CURR_PREC Instance method Public Method Number of Decimal Places 20050824
20 SID_TO_UNIT_PREC Instance method Public Method 20050824
21 START_INITIALIZATION Instance method Public Method Starts initialization 20110426
22 TRANSLATE_KID Instance method Public Method Perform currency translation for a single KID 20110330
23 UNIT_TO_SID Static method Public Method Unit Key to SID 20061009
24 _KID_CTT_RATE_GET Instance method Private Method get curr translation rate for local translation 20110330
25 _SID_TO_CURR_PREC Instance method Private Method Currency Shift and Number of Decimal Places 20060110
Events
Class CL_RSR_RRK0_CURR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TN_FACTOR Public See coding 20060110 tn_factor(6) TYPE p DECIMALS 2
2 TP_S_CURR Private See coding 20110302 BEGIN OF tp_s_curr, sid TYPE rsd_sid, cuky TYPE rsd_cuky, END OF tp_s_curr
3 TP_S_KID_CURR Private See coding currency rate for KID 20110330 BEGIN OF tp_s_kid_curr, kid TYPE rro01_s_cell-kid, scur TYPE rssid, rate TYPE rsroa_df, tcur TYPE rssid, error TYPE rs_bool, END OF tp_s_kid_curr
4 TP_S_PREC Private See coding 20050824 BEGIN OF tp_s_prec, sid TYPE rssid, prec TYPE rrprec, max TYPE rrprec, factor TYPE tn_factor, END OF tp_s_prec
5 TP_S_UNIT Private See coding 20061009 BEGIN OF tp_s_unit, unit TYPE rsd_unit, sid TYPE rsd_sid, END OF tp_s_unit
6 TP_TS_KID_CURR Private See coding Currency rates for a KID 20110330 tp_ts_kid_curr TYPE SORTED TABLE OF tp_s_kid_curr WITH UNIQUE KEY kid scur INITIAL SIZE 0
7 TP_TS_PREC Private See coding 20050824 tp_ts_prec TYPE SORTED TABLE OF tp_s_prec WITH UNIQUE KEY sid INITIAL SIZE 4
Method Signatures

Method ASSIGN_PARTITION_TO_CURR_WGR 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 20110426
2 Returning R_R_CURR_WGR Value transfer Object reference (TYPE REF TO) CL_RSR_RRK0_CURR_WGR Währungsumrechnung in der Query für WGRs 20110426

Method ASSIGN_PARTITION_TO_CURR_WGR on class CL_RSR_RRK0_CURR has no exception.

Method CHECK_BUFFER_VALIDITY Signature

Method CHECK_BUFFER_VALIDITY on class CL_RSR_RRK0_CURR has no parameter.
Method CHECK_BUFFER_VALIDITY on class CL_RSR_RRK0_CURR has no exception.

Method CLEAR_QCF Signature

Method CLEAR_QCF on class CL_RSR_RRK0_CURR has no parameter.
Method CLEAR_QCF on class CL_RSR_RRK0_CURR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_QUERY_RUNTIME Call by reference Object reference (TYPE REF TO) CL_RSR_RRK0_QUERY_RUNTIME 20050822

Method CONSTRUCTOR on class CL_RSR_RRK0_CURR has no exception.

Method CUDIM_TO_CUDIMID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CURR Call by reference Type reference (TYPE) RSSID 20110331
2 Exporting E_CURRFL Call by reference Type reference (TYPE) RS_BOOL 20110331
3 Exporting E_UNIT Call by reference Type reference (TYPE) RSSID 20110331
4 Exporting E_UNITFL Call by reference Type reference (TYPE) RS_BOOL 20110331
5 Importing I_CUDIM Call by reference Type reference (TYPE) RSSID 20110331

Method CUDIM_TO_CUDIMID on class CL_RSR_RRK0_CURR has no exception.

Method CUDIM_TO_CURRUNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CURR Call by reference Type reference (TYPE) RSSID Stammdaten ID 20050822
2 Exporting E_UNIT Call by reference Type reference (TYPE) RSSID Stammdaten ID 20050822
3 Importing I_CUDIM Value transfer Type reference (TYPE) RSSID Stammdaten ID 20050822

Method CUDIM_TO_CURRUNIT on class CL_RSR_RRK0_CURR has no exception.

Method CURR_TO_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUKY Call by reference Type reference (TYPE) RSD_CUKY 20050824
2 Returning R_SID Value transfer Type reference (TYPE) RSSID Stammdaten ID 20050824

Method CURR_TO_SID on class CL_RSR_RRK0_CURR has no exception.

Method FINISH_INITIALIZATION Signature

Method FINISH_INITIALIZATION on class CL_RSR_RRK0_CURR has no parameter.
Method FINISH_INITIALIZATION on class CL_RSR_RRK0_CURR has no exception.

Method FREE_CURR_WGR Signature

Method FREE_CURR_WGR on class CL_RSR_RRK0_CURR has no parameter.
Method FREE_CURR_WGR on class CL_RSR_RRK0_CURR has no exception.

Method GET_CURR_WGR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WGR Call by reference Type reference (TYPE) RRWGR Wertfeldgruppe der SP 20110304
2 Returning R_R_CURR_WGR Value transfer Object reference (TYPE REF TO) CL_RSR_RRK0_CURR_WGR Währungsumrechnung in der Query für WGRs 20110304

Method GET_CURR_WGR on class CL_RSR_RRK0_CURR has no exception.

Method GET_CUR_DEF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_CUR_DEF Value transfer Type reference (TYPE) RS_BOOL Umrechnung aus Query Designer aktiv 20110304

Method GET_CUR_DEF on class CL_RSR_RRK0_CURR has no exception.

Method GET_CUR_LOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_CUR_LOC Value transfer Type reference (TYPE) RS_BOOL Excel-Umrechnung neue Umrechnung 20110304

Method GET_CUR_LOC on class CL_RSR_RRK0_CURR has no exception.

Method GET_DECIMALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CSID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20050822
2 Importing I_DATATP Call by reference Type reference (TYPE) DATATYPE_D Datentyp im ABAP Dictionary 20050822
3 Importing I_INTF Call by reference Type reference (TYPE) RSCUBESVINTFORMAT Internes Format (Kennzahlen) 20050822
4 Returning R_FACTOR Value transfer Type reference (TYPE) RSROA_DF DecFloat 20050822

Method GET_DECIMALS on class CL_RSR_RRK0_CURR has no exception.

Method PREPARE_ACCESSES_QCF Signature

Method PREPARE_ACCESSES_QCF on class CL_RSR_RRK0_CURR has no parameter.
Method PREPARE_ACCESSES_QCF on class CL_RSR_RRK0_CURR has no exception.

Method SET_SP_CUDIM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TKX_CUDIM Call by reference Type reference (TYPE) RRK_TKX_CUDIM CUDIMID Umschlüsselung für den Rechnen Vor der Aggr. 20110331

Method SET_SP_CUDIM on class CL_RSR_RRK0_CURR has no exception.

Method SET_TCUR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CHANGE Call by reference Type reference (TYPE) RS_BOOL Boolean 20050908
2 Exporting E_READ_AGAIN Call by reference Type reference (TYPE) RS_BOOL Boolean 20050908
3 Importing I_CTART Call by reference Type reference (TYPE) RRCTART 20050908
4 Importing I_CTTNM Call by reference Type reference (TYPE) RRNUMBR 20050908
5 Importing I_TCUR Call by reference Type reference (TYPE) TCURR_CURR 20050908

Method SET_TCUR on class CL_RSR_RRK0_CURR has no exception.

Method SID_TO_CURR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20050824
2 Returning R_CUKY Value transfer Type reference (TYPE) RSD_CUKY 20050824

Method SID_TO_CURR on class CL_RSR_RRK0_CURR has no exception.

Method SID_TO_CURR_FACTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SID Call by reference Type reference (TYPE) RSSID 20060110
2 Returning R_FACTOR Value transfer Type reference (TYPE) TN_FACTOR 20060110

Method SID_TO_CURR_FACTOR on class CL_RSR_RRK0_CURR has no exception.

Method SID_TO_CURR_PREC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20050824
2 Returning R_PREC Value transfer Type reference (TYPE) RRPREC Anzahl Dezimalstellen lokal im Prozessor 20050824

Method SID_TO_CURR_PREC on class CL_RSR_RRK0_CURR has no exception.

Method SID_TO_UNIT_PREC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_MAX Call by reference Type reference (TYPE) RRPREC Anzahl Dezimalstellen lokal im Prozessor 20050824
2 Exporting E_PREC Call by reference Type reference (TYPE) RRPREC Anzahl Dezimalstellen lokal im Prozessor 20050824
3 Importing I_SID Call by reference Type reference (TYPE) RSSID Stammdaten ID 20050824

Method SID_TO_UNIT_PREC on class CL_RSR_RRK0_CURR has no exception.

Method START_INITIALIZATION Signature

Method START_INITIALIZATION on class CL_RSR_RRK0_CURR has no parameter.
Method START_INITIALIZATION on class CL_RSR_RRK0_CURR has no exception.

Method TRANSLATE_KID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_AMOUNT Call by reference Type reference (TYPE) DECFLOAT 20110330
2 Changing C_CURR Call by reference Type reference (TYPE) RSSID Stammdaten ID 20110330
3 Exporting E_ERROR Call by reference Type reference (TYPE) RS_BOOL Error occured 20110330
4 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID N_C_KID_EX KID to use 20110330

Method TRANSLATE_KID on class CL_RSR_RRK0_CURR has no exception.

Method UNIT_TO_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_UNIT Call by reference Type reference (TYPE) RSD_UNIT 20061009
2 Returning R_SID Value transfer Type reference (TYPE) RSSID Stammdaten ID 20061009

Method UNIT_TO_SID on class CL_RSR_RRK0_CURR has no exception.

Method _KID_CTT_RATE_GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KID Call by reference Type reference (TYPE) RRO01_S_CELL-KID 20110330
2 Importing I_SCUR Call by reference Type reference (TYPE) RSSID Source Currency SID 20110330
3 Returning R_S_KID_CURR Value transfer Type reference (TYPE) TP_S_KID_CURR currency rate for KID 20110330

Method _KID_CTT_RATE_GET on class CL_RSR_RRK0_CURR has no exception.

Method _SID_TO_CURR_PREC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SID Call by reference Type reference (TYPE) RSSID 20060110

Method _SID_TO_CURR_PREC on class CL_RSR_RRK0_CURR has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740