Hierarchy
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 5 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 6 | 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 | Constant | Public | Type reference (TYPE) | RRO01_S_CELL-KID | 0 | Perform currency translation on complete object | 20110330 | ||
| 2 | Instance attribute | Private | Type reference (TYPE) | RSTIMESTMP | Time Stamps of Currencies in Cache | 20110427 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | RRCTART | Which Currency Conversions are Active | 20110426 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | RRNUMBR | StrMember: Name of Currency Conversion Type | 20110426 | |||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | RRK_TKX_CUDIM | Reference to CUDIMs from SP | 20110331 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | RRK_SX_CUDIM | needed for method cudim_to_cudimid | 20110331 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TP_S_PREC | Currency Shift and Number of Decimal Places | 20050824 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TP_S_PREC | 20050824 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | TCURR_CURR | To-Currency | 20110426 | |||
| 10 | Static Attribute | Private | See coding | SID to Currency Key and Vice Versa | 20050824 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | TP_TS_PREC | Currency Shift and Number of Decimal Places | 20050824 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TP_TS_KID_CURR | Currency rates for a KID | 20110330 | |||
| 13 | Static Attribute | Private | See coding | Unit Key to SID | 20061009 | ||||
| 14 | Instance attribute | Private | Type reference (TYPE) | TP_TS_PREC | 20050824 | ||||
| 15 | Instance attribute | Private | See coding | 20110304 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Assigns a partition to a CURR_WGR object | 20110426 | |
| 2 | Instance method | Public | Method | check the validity of the buffers | 20110427 | |
| 3 | Instance method | Private | Method | 20110308 | ||
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20050822 | |
| 5 | Instance method | Public | Method | convert maybe complex cudim to maybe complex curr/units | 20110331 | |
| 6 | Static method | Public | Method | 20050822 | ||
| 7 | Static method | Public | Method | Currency Key to SID | 20050824 | |
| 8 | Instance method | Public | Method | Starts initialization | 20110426 | |
| 9 | Instance method | Private | Method | 20110324 | ||
| 10 | Instance method | Public | Method | Currency Translation in the Query for WGRs | 20110304 | |
| 11 | Instance method | Public | Method | Translation from Query Designer Active | 20110304 | |
| 12 | Instance method | Public | Method | Excel Translation; New Translation | 20110304 | |
| 13 | Static method | Public | Method | Currency Shift | 20050822 | |
| 14 | Instance method | Public | Method | 20110309 | ||
| 15 | Instance method | Public | Method | Set CUDIM Info from SP (complex unit expressions used in SP) | 20110331 | |
| 16 | Instance method | Public | Method | CHECK_TCUR | 20050908 | |
| 17 | Static method | Public | Method | SID to Currency Key | 20050824 | |
| 18 | Instance method | Public | Method | Currency Shift | 20060110 | |
| 19 | Instance method | Public | Method | Number of Decimal Places | 20050824 | |
| 20 | Instance method | Public | Method | 20050824 | ||
| 21 | Instance method | Public | Method | Starts initialization | 20110426 | |
| 22 | Instance method | Public | Method | Perform currency translation for a single KID | 20110330 | |
| 23 | Static method | Public | Method | Unit Key to SID | 20061009 | |
| 24 | Instance method | Private | Method | get curr translation rate for local translation | 20110330 | |
| 25 | 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 | I_R_PARTITION | Call by reference | Object reference (TYPE REF TO) | CL_RSR_RRK0_PARTITION | data carrying partitions | 20110426 | |||
| 2 | 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 | 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 | E_CURR | Call by reference | Type reference (TYPE) | RSSID | 20110331 | ||||
| 2 | E_CURRFL | Call by reference | Type reference (TYPE) | RS_BOOL | 20110331 | ||||
| 3 | E_UNIT | Call by reference | Type reference (TYPE) | RSSID | 20110331 | ||||
| 4 | E_UNITFL | Call by reference | Type reference (TYPE) | RS_BOOL | 20110331 | ||||
| 5 | 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 | E_CURR | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20050822 | |||
| 2 | E_UNIT | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20050822 | |||
| 3 | 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 | I_CUKY | Call by reference | Type reference (TYPE) | RSD_CUKY | 20050824 | ||||
| 2 | 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 | I_WGR | Call by reference | Type reference (TYPE) | RRWGR | Wertfeldgruppe der SP | 20110304 | |||
| 2 | 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 | 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 | 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 | I_CSID | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20050822 | |||
| 2 | I_DATATP | Call by reference | Type reference (TYPE) | DATATYPE_D | Datentyp im ABAP Dictionary | 20050822 | |||
| 3 | I_INTF | Call by reference | Type reference (TYPE) | RSCUBESVINTFORMAT | Internes Format (Kennzahlen) | 20050822 | |||
| 4 | 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 | 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 | E_CHANGE | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20050908 | |||
| 2 | E_READ_AGAIN | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20050908 | |||
| 3 | I_CTART | Call by reference | Type reference (TYPE) | RRCTART | 20050908 | ||||
| 4 | I_CTTNM | Call by reference | Type reference (TYPE) | RRNUMBR | 20050908 | ||||
| 5 | 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 | I_SID | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20050824 | |||
| 2 | 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 | I_SID | Call by reference | Type reference (TYPE) | RSSID | 20060110 | ||||
| 2 | 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 | I_SID | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20050824 | |||
| 2 | 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 | E_MAX | Call by reference | Type reference (TYPE) | RRPREC | Anzahl Dezimalstellen lokal im Prozessor | 20050824 | |||
| 2 | E_PREC | Call by reference | Type reference (TYPE) | RRPREC | Anzahl Dezimalstellen lokal im Prozessor | 20050824 | |||
| 3 | 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 | C_AMOUNT | Call by reference | Type reference (TYPE) | DECFLOAT | 20110330 | ||||
| 2 | C_CURR | Call by reference | Type reference (TYPE) | RSSID | Stammdaten ID | 20110330 | |||
| 3 | E_ERROR | Call by reference | Type reference (TYPE) | RS_BOOL | Error occured | 20110330 | |||
| 4 | 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 | I_UNIT | Call by reference | Type reference (TYPE) | RSD_UNIT | 20061009 | ||||
| 2 | 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 | I_KID | Call by reference | Type reference (TYPE) | RRO01_S_CELL-KID | 20110330 | ||||
| 2 | I_SCUR | Call by reference | Type reference (TYPE) | RSSID | Source Currency SID | 20110330 | |||
| 3 | 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 | 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 |