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
⤷
⤷
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 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'E' | Message Type 'E' | 20100906 | ||
| 2 | Constant | Private | Type reference (TYPE) | SYMSGID | 'WZRE_PRX_MAPPING' | Message Class | 20100906 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | compares values on header and item level | 20100906 | |
| 2 | Static method | Public | Method | SAP format -> ExchangeRate | 20100906 | |
| 3 | Static method | Private | Method | provide the foreign currency | 20100906 | |
| 4 | Static method | Private | Method | provide the currency rate | 20100906 | |
| 5 | Static method | Private | Method | provide the currency rate (price_component) | 20100906 | |
| 6 | Static method | Public | Method | ExchangeRate -> SAP format (item level) | 20100906 | |
| 7 | Static method | Public | Method | ExchangeRate -> SAP format (price_component) | 20100906 | |
| 8 | Static method | Public | Method | ExchangeRate -> SAP format | 20100906 | |
| 9 | 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 | I_CURR_DATE_HD | Call by reference | Type reference (TYPE) | WWERT_D | Translation date (header) | 20100906 | |||
| 2 | I_CURR_DATE_IT | Call by reference | Type reference (TYPE) | WWERT_D | Translation date (item) | 20100906 | |||
| 3 | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | |||
| 4 | I_CURR_IT | Call by reference | Type reference (TYPE) | WAERL | Currency Item | 20100906 | |||
| 5 | I_INVC_ITEM_ID | Call by reference | Type reference (TYPE) | SAPPLCO_BUS_TRANS_ITEM_ID | BusinessTransactionDocumentItemID | 20100906 | |||
| 6 | I_RATE_HD | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate Header | 20100906 | |||
| 7 | I_RATE_IT | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate Item | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | |||
| 2 | I_CURR | Call by reference | Type reference (TYPE) | WAERL | Currency of Agency Document | 20100906 | |||
| 3 | I_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | |||
| 4 | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | |||
| 5 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 | |||
| 6 | I_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20100906 |
Method GET_FOREIGN_CURRENCY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | |||
| 2 | I_QUOTED_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | |||
| 3 | I_UNIT_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | |||
| 4 | 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 | I_EXT_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE_RATE | Proxy Data Element (generated) | 20100906 | |||
| 2 | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | |||
| 3 | I_QUOTED_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | |||
| 4 | I_UNIT_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | |||
| 5 | RE_RATE | Value transfer | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20100906 |
Method GET_RATE_PRCOMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | |||
| 2 | E_KBFLAG | Call by reference | Type reference (TYPE) | KBFLAG | Bit encrypted flags in Pricing | 20100906 | |||
| 3 | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 | |||
| 4 | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | |||
| 5 | I_EXT_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE_RATE | Proxy Data Element (generated) | 20100906 | |||
| 6 | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | |||
| 7 | I_QUOTED_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 | |||
| 8 | I_UNIT_CURR | Call by reference | Type reference (TYPE) | WAERS_CURC | Currency Key | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_CURR | Call by reference | Type reference (TYPE) | WAERL | Currency of Agency Document | 20100906 | |||
| 2 | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | |||
| 3 | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 | |||
| 4 | I_CURR_DATE_HD | Call by reference | Type reference (TYPE) | WWERT_D | Translation date (header) | 20100906 | |||
| 5 | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | |||
| 6 | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | |||
| 7 | I_INVC_ITEM_ID | Call by reference | Type reference (TYPE) | SAPPLCO_BUS_TRANS_ITEM_ID | BusinessTransactionDocumentItemID | 20100906 | |||
| 8 | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | |||
| 9 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 | |||
| 10 | I_RATE_HD | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate Header | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_CURR | Call by reference | Type reference (TYPE) | WAERL | Currency of Agency Document | 20100906 | |||
| 2 | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | |||
| 3 | E_KBFLAG | Call by reference | Type reference (TYPE) | KBFLAG | Bit encrypted flags in Pricing | 20100906 | |||
| 4 | E_RATE | Call by reference | Type reference (TYPE) | KKURS | Condition exchange rate for conversion to local currency | 20100906 | |||
| 5 | I_CURR_HD | Call by reference | Type reference (TYPE) | WAERL | Currency Header | 20100906 | |||
| 6 | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | |||
| 7 | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | |||
| 8 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_CURR | Call by reference | Type reference (TYPE) | WAERL | Currency of Agency Document | 20100906 | |||
| 2 | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20100906 | |||
| 3 | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20100906 | |||
| 4 | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20100906 | |||
| 5 | I_LOCAL_CURR | Call by reference | Type reference (TYPE) | HWAER | Local Currency | 20100906 | |||
| 6 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | E_CURR | Call by reference | Type reference (TYPE) | WAERL | Currency of Agency Document | 20101005 | |||
| 2 | E_CURR_DATE | Call by reference | Type reference (TYPE) | WWERT_D | Translation date | 20101005 | |||
| 3 | E_RATE | Call by reference | Type reference (TYPE) | WKURS | Exchange Rate | 20101005 | |||
| 4 | I_EXCHANGE_RATE | Call by reference | Type reference (TYPE) | SAPPLCO_EXCHANGE_RATE | GDT: ExchangeRate | 20101005 | |||
| 5 | I_PREFETCH | Call by reference | Type reference (TYPE) | SMT_BOOLEAN | Boolean value | 20101005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsuccessful Transformation | 20101005 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 606 |