SAP ABAP Class CL_RSDRV_SRVS_CURR_CONV (Data Manager: Currency Conversion)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSDRV (Package) Data Manager Virtual InfoProvider

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_RSDRV_SRVS_DTA | Data-Manager: Abstract service class | 20040920 |
Properties
Class | CL_RSDRV_SRVS_CURR_CONV | |
Short Description | Data Manager: Currency Conversion | |
Super Class | CL_RSDRV_SRVS_DTA | Data-Manager: Abstract service class |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | P | SAP Standard Production Program |
Category | 0 | |
Package | RSDRV | Data Manager Virtual InfoProvider |
Created | 20040813 | 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) |
Interfaces
Class CL_RSDRV_SRVS_CURR_CONV has no interface implemented.
Friends
Class CL_RSDRV_SRVS_CURR_CONV has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TP_TH_CURRENCY | Currency Table containing decimals info | 20040813 | ||
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TP_T_TCURX | Buffered tcurx table | 20040813 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Currency conversion for all kyfs | 20061218 | ||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Is conversion prepared? | 20040813 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | RS_BOOL | A fixed currency key figure exists | 20081103 | ||
6 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TP_TX_CURRKYF | Table with currency conversion metadata | 20040813 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TP_TX_SQL_CURRKYF | Metadata to build new sx_query | 20081029 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TP_T_FIXEDCURR | Table with fixed currency keyfigure metadata | 20040813 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Build surrounding sx_queries cha | 20081029 |
2 | ![]() |
Instance method | Private | Method | Prepare the metadata needed for currency conversion | 20081029 |
3 | ![]() |
Instance method | Private | Method | Build surrounding sx_queries cha | 20081029 |
4 | ![]() |
Instance method | Private | Method | Prepare sx_query-t_kyf for fixed and no currency conversion | 20081029 |
5 | ![]() |
Instance method | Public | Method | Execute the SID determination | 20040813 |
6 | ![]() |
Instance method | Private | Method | retrieve number of decimals for currency | 20040813 |
7 | ![]() |
Instance method | Public | Method | Prepare the metadata needed for currency conversion | 20040813 |
8 | ![]() |
Instance method | Private | Method | Prepare the metadata needed for the SID determination | 20040813 |
9 | ![]() |
Instance method | Protected | Method | Prepare the metadata needed for currency conversion | 20081029 |
10 | ![]() |
Instance method | Public | Method | Prepare the metadata needed for currency conversion | 20081028 |
Events
Class CL_RSDRV_SRVS_CURR_CONV has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TP_SX_CURRKYF | Private | See coding | Metadata for one currency entry | 20040813 | begin of tp_sx_currkyf,
curr_comp TYPE i, "position of CURR-CHA in structure
is_sid TYPE rs_bool, "a SID column in structure?
t_kyf_comp TYPE tp_t_int, "positions of affected key figures
end of tp_sx_currkyf
|
|
2 | TP_SX_SQL_CURRKYF | Private | See coding | 20081028 | begin of tp_sx_sql_currkyf,
retalias TYPE rsdrs_alias, "retalias of currency cha
chanm TYPE rsd_chanm, "chanm of currency cha
is_sid TYPE rs_bool, "sid ? (then add join needed...)
t_kyf TYPE tp_t_sql_kyf, "retalias of affected key figures
end of tp_sx_sql_currkyf
|
||
3 | TP_S_CURRENCY | Private | See coding | 20040813 | begin of tp_s_currency,
currkey TYPE sycurr,
currsid TYPE rssid,
currdec TYPE currdec,
end of tp_s_currency
|
||
4 | TP_S_FIXEDCURR | Private | See coding | Metadata for single kyf with fixed currency | 20040813 | begin of tp_s_fixedcurr,
kyf_comp TYPE i,
fixcuky TYPE rsfixcuky, "fixed currency key
end of tp_s_fixedcurr
|
|
5 | TP_S_SQL_KYF | Private | See coding | 20081029 | begin of tp_s_sql_kyf,
alias type rsdrs_alias,
kyfnm type rsdiobjnm,
end of tp_s_sql_kyf
|
||
6 | TP_TH_CURRENCY | Private | See coding | 20040813 | tp_th_currency TYPE HASHED TABLE OF tp_s_currency
WITH unique KEY currkey currsid INITIAL SIZE 0
|
||
7 | TP_TX_CURRKYF | Private | See coding | Table with currency entries | 20040813 | tp_tx_currkyf TYPE STANDARD TABLE OF tp_sx_currkyf
WITH KEY curr_comp INITIAL SIZE 0
|
|
8 | TP_TX_SQL_CURRKYF | Private | See coding | 20081028 | tp_tx_sql_currkyf type standard table of tp_sx_sql_currkyf with key retalias initial size 0
|
||
9 | TP_T_FIXEDCURR | Private | See coding | Table with fixed currency keyfigure entries | 20040813 | tp_t_fixedcurr TYPE STANDARD TABLE OF tp_s_fixedcurr
WITH DEFAULT KEY INITIAL SIZE 0
|
|
10 | TP_T_INT | Private | See coding | 20040813 | TP_T_INT TYPE standard table of i with default key initial size 0
|
||
11 | TP_T_SQL_KYF | Private | See coding | 20081028 | tp_t_sql_kyf type standard table of tp_s_sql_kyf with key table_line initial size 0
|
||
12 | TP_T_TCURX | Private | See coding | 20040813 | tp_t_tcurx TYPE STANDARD TABLE OF tcurx
WITH DEFAULT KEY INITIAL SIZE 0
|
Method Signatures
Method BUILD_CHA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_T_CHA | Call by reference | Type reference (TYPE) | RSDRS_T_CHA | 20081029 | |||
2 | ![]() |
R_T_CHA | Value transfer | Type reference (TYPE) | RSDRS_T_CHA | 20081029 |
Method BUILD_CHA on class CL_RSDRV_SRVS_CURR_CONV has no exception.
Method BUILD_CONVERSIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | sx_query for currency conversion | 20081029 | ||
2 | ![]() |
I_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | sx_query for unconverted data... | 20081029 |
Method BUILD_CONVERSIONS on class CL_RSDRV_SRVS_CURR_CONV has no exception.
Method BUILD_ORDERBY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_T_CHA | Call by reference | Type reference (TYPE) | RSDRS_T_CHA | 20081029 | |||
2 | ![]() |
I_T_ORDERBY | Value transfer | Type reference (TYPE) | RSDRS_T_ORDERBY | 20081029 | |||
3 | ![]() |
R_T_ORDERBY | Value transfer | Type reference (TYPE) | RSDRS_T_ORDERBY | 20081029 |
Method BUILD_ORDERBY on class CL_RSDRV_SRVS_CURR_CONV has no exception.
Method BUILD_REST_KYF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_KYF | Call by reference | Type reference (TYPE) | RSDRS_T_KYF | t_kyf of final query | 20081029 | ||
2 | ![]() |
E_FIXCUKY_FOUND | Call by reference | Type reference (TYPE) | RS_BOOL | Kyf with fix conversion found | 20090810 | ||
3 | ![]() |
I_T_KYF | Call by reference | Type reference (TYPE) | RSDRS_T_KYF | t_kyf of original query | 20081029 |
Method BUILD_REST_KYF on class CL_RSDRV_SRVS_CURR_CONV has no exception.
Method EXECUTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to change | 20040813 | ||
2 | ![]() |
I_INT_TO_EXT | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_TRUE | Internal to external format ? | 20040813 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
BW Exception mit generischer Nachricht (keine spez. Attrib.) | 20050509 | |
2 | ![]() |
Exception mit T100 Fehlermeldung | 20040813 |
Method GET_DECIMALS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CURRENCY | Call by reference | Type reference (TYPE) | ANY | currency | 20040813 | ||
2 | ![]() |
I_IS_SID | Call by reference | Type reference (TYPE) | RS_BOOL | is the currency an SID ? | 20040813 | ||
3 | ![]() |
R_DECIMALS | Value transfer | Type reference (TYPE) | I | number of decimals of this currency | 20040813 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
BW Exception mit generischer Nachricht (keine spez. Attrib.) | 20050506 |
Method PREPARE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_EX_IN_CONVERT | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20130812 | ||
2 | ![]() |
I_S_DATA | Call by reference | Type reference (TYPE) | ANY | Data to convert currency for | 20040813 | ||
3 | ![]() |
I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Requested characteristics | 20040813 | ||
4 | ![]() |
I_TH_SFK | Call by reference | Type reference (TYPE) | RSDD_TH_SFK | Tabelle der benötigten Basiskennzahlen | 20040813 |
Method PREPARE on class CL_RSDRV_SRVS_CURR_CONV has no exception.
Method PREPARE_FIXED_CURRENCIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_TH_SFK | Call by reference | Type reference (TYPE) | RSDD_TH_SFK | Tabelle der benötigten Basiskennzahlen | 20040813 | ||
2 | ![]() |
I_T_COMPONENTS | Call by reference | Type reference (TYPE) | TO_T_COMPONENTS | s_data components | 20040813 |
Method PREPARE_FIXED_CURRENCIES on class CL_RSDRV_SRVS_CURR_CONV has no exception.
Method PREPARE_QUERY_META Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | sx_query for unconverted data... | 20081029 | ||
2 | ![]() |
I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Requested characteristics | 20081029 | ||
3 | ![]() |
I_TH_SFK | Call by reference | Type reference (TYPE) | RSDD_TH_SFK | Tabelle der benötigten Basiskennzahlen | 20081029 |
Method PREPARE_QUERY_META on class CL_RSDRV_SRVS_CURR_CONV has no exception.
Method PREPARE_SX_QUERY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_DB_CONVERSION | Call by reference | Type reference (TYPE) | RS_BOOL | Conversion done on Database ? | 20081107 | ||
2 | ![]() |
E_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | sx_query for currency conversion | 20081028 | ||
3 | ![]() |
I_SX_QUERY | Call by reference | Type reference (TYPE) | RSDRS_SX_QUERY | sx_query for unconverted data... | 20081028 | ||
4 | ![]() |
I_TH_SFC | Call by reference | Type reference (TYPE) | RSDD_TH_SFC | Requested characteristics | 20081028 | ||
5 | ![]() |
I_TH_SFK | Call by reference | Type reference (TYPE) | RSDD_TH_SFK | Tabelle der benötigten Basiskennzahlen | 20081028 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Generated Stmt is too long ... | 20081029 | |
2 | ![]() |
SQL Fehler | 20081029 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 700 |