SAP ABAP Class CL_WLF_TRANSF_EXCHANGE_RATE (convert exchange rates of currencies)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷ LO-AB (Application Component) Agency Business (Global Trade)
⤷ WZRE_XI_PROXY (Package) Agency Business: SOA proxy implementations
⤷ LO-AB (Application Component) Agency Business (Global Trade)
⤷ WZRE_XI_PROXY (Package) Agency Business: SOA proxy implementations
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_WLF_TRANSFORMATION_ABSTR | General functions for transformations | 20100906 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMT_PREFETCH | Prefetch Methods | 20100906 |
3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SMT_TRANSFORMATION | Transformation Class | 20100906 |
Properties
Class | CL_WLF_TRANSF_EXCHANGE_RATE | |
Short Description | convert exchange rates of currencies | |
Super Class | CL_WLF_TRANSFORMATION_ABSTR | General functions for transformations |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | WZRE_XI_PROXY | Agency Business: SOA proxy implementations |
Created | 20100906 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_WLF_TRANSF_EXCHANGE_RATE has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_SMT_PREFETCH | Prefetch Methods | 20100906 | ||
2 | IF_SMT_TRANSFORMATION | Transformation Class | 20100906 |
Friends
Class CL_WLF_TRANSF_EXCHANGE_RATE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CO_MSGTY_E | Constant | Private | Type reference (TYPE) | SYMSGTY | 'E' | Message Type 'E' | 20100906 | |
2 | CO_MSG_CLASS | Constant | Private | Type reference (TYPE) | SYMSGID | 'WZRE_PRX_MAPPING' | Message Class | 20100906 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | COMPARE_VALUES | Static method | Private | Method | compares values on header and item level | 20100906 |
2 | GET_EXCH_RATE_FROM_VALUES | Static method | Public | Method | SAP format -> ExchangeRate | 20100906 |
3 | GET_FOREIGN_CURRENCY | Static method | Private | Method | provide the foreign currency | 20100906 |
4 | GET_RATE | Static method | Private | Method | provide the currency rate | 20100906 |
5 | GET_RATE_PRCOMP | Static method | Private | Method | provide the currency rate (price_component) | 20100906 |
6 | GET_VALS_FROM_EXCH_RATE_ITEM | Static method | Public | Method | ExchangeRate -> SAP format (item level) | 20100906 |
7 | GET_VALS_FROM_EXCH_RATE_PRCOMP | Static method | Public | Method | ExchangeRate -> SAP format (price_component) | 20100906 |
8 | GET_VALUES_FROM_EXCH_RATE | Static method | Public | Method | ExchangeRate -> SAP format | 20100906 |
9 | GET_VALUES_FROM_EXCH_RATE_2 | Static method | Public | Method | ExchangeRate -> SAP format | 20101005 |
Events
Class CL_WLF_TRANSF_EXCHANGE_RATE has no event.
Types
Class CL_WLF_TRANSF_EXCHANGE_RATE has no local type.
Method Signatures
Method COMPARE_VALUES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CURR_DATE_HD | Call by reference | Type reference (TYPE) | WWERT_D | Translation date (header) | 20100906 | ||
2 | Importing | I_CURR_DATE_IT | Call by reference | Type reference (TYPE) | WWERT_D | Translation date (item) | 20100906 | ||
3 | Importing | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | ||
4 | Importing | I_CURR_IT | Call by reference | Type reference (TYPE) | WAERL | Currency Item | 20100906 | ||
5 | Importing | I_INVC_ITEM_ID | Call by reference | Type reference (TYPE) | SAPPLCO_BUS_TRANS_ITEM_ID | BusinessTransactionDocumentItemID | 20100906 | ||
6 | Importing | I_RATE_HD | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate Header | 20100906 | ||
7 | Importing | I_RATE_IT | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate Item | 20100906 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100906 |
Method GET_EXCH_RATE_FROM_VALUES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | ||
2 | Importing | I_CURR | Call by reference | Type reference (TYPE) | WAERL | Currency of Agency Document | 20100906 | ||
3 | Importing | I_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | ||
4 | Importing | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | ||
5 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 | ||
6 | Importing | I_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100906 |
Method GET_FOREIGN_CURRENCY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | ||
2 | Importing | I_QUOTED_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | ||
3 | Importing | I_UNIT_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | ||
4 | Returning | RE_CURR | Value transfer | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 |
Method GET_FOREIGN_CURRENCY on class CL_WLF_TRANSF_EXCHANGE_RATE has no exception.
Method GET_RATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_EXT_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE_RATE | Proxy Data Element (generated) | 20100906 | ||
2 | Importing | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | ||
3 | Importing | I_QUOTED_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | ||
4 | Importing | I_UNIT_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | ||
5 | Returning | RE_RATE | Value transfer | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100906 |
Method GET_RATE_PRCOMP 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) | WAERS_CURC | Currency Key | 20100906 | ||
2 | Exporting | E_KBFLAG | Call by reference | Type reference (TYPE) | KBFLAG | Bit encrypted flags in Pricing | 20100906 | ||
3 | Exporting | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 | ||
4 | Importing | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | ||
5 | Importing | I_EXT_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE_RATE | Proxy Data Element (generated) | 20100906 | ||
6 | Importing | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | ||
7 | Importing | I_QUOTED_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | ||
8 | Importing | I_UNIT_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100906 |
Method GET_VALS_FROM_EXCH_RATE_ITEM 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) | WAERL | Currency of Agency Document | 20100906 | ||
2 | Exporting | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | ||
3 | Exporting | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 | ||
4 | Importing | I_CURR_DATE_HD | Call by reference | Type reference (TYPE) | WWERT_D | Translation date (header) | 20100906 | ||
5 | Importing | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | ||
6 | Importing | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | ||
7 | Importing | I_INVC_ITEM_ID | Call by reference | Type reference (TYPE) | SAPPLCO_BUS_TRANS_ITEM_ID | BusinessTransactionDocumentItemID | 20100906 | ||
8 | Importing | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | ||
9 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 | ||
10 | Importing | I_RATE_HD | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate Header | 20100906 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100906 |
Method GET_VALS_FROM_EXCH_RATE_PRCOMP 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) | WAERL | Currency of Agency Document | 20100906 | ||
2 | Exporting | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | ||
3 | Exporting | E_KBFLAG | Call by reference | Type reference (TYPE) | KBFLAG | Bit encrypted flags in Pricing | 20100906 | ||
4 | Exporting | E_RATE | Call by reference | Type reference (TYPE) | KKURS | Condition exchange rate for conversion to local currency | 20100906 | ||
5 | Importing | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | ||
6 | Importing | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | ||
7 | Importing | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | ||
8 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100906 |
Method GET_VALUES_FROM_EXCH_RATE 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) | WAERL | Currency of Agency Document | 20100906 | ||
2 | Exporting | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | ||
3 | Exporting | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 | ||
4 | Importing | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | ||
5 | Importing | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | ||
6 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20100906 |
Method GET_VALUES_FROM_EXCH_RATE_2 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) | WAERL | Currency of Agency Document | 20101005 | ||
2 | Exporting | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20101005 | ||
3 | Exporting | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20101005 | ||
4 | Importing | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20101005 | ||
5 | Importing | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20101005 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SMT_UNSUCCESSFUL_TRANS | Unsuccessful Transformation | 20101005 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 606 |