SAP ABAP Function Module READ_EXCHANGE_RATE (Determine Exchange Rate from Table TCURR)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-SRV-BSF-CUR (Application Component) Currency Conversion/Expiring Currency
⤷ SFIB (Package) Financials: Components in Basis
⤷ BC-SRV-BSF-CUR (Application Component) Currency Conversion/Expiring Currency
⤷ SFIB (Package) Financials: Components in Basis
Basic Data
Function Module | READ_EXCHANGE_RATE | Determine Exchange Rate from Table TCURR |
Function Group | SCUN | Translation of Currency Amounts: new |
Program Name | SAPLSCUN | |
INCLUDE Name | LSCUNU04 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Exporting | EXCHANGE_RATE | TYPE | Exchange rate | ||||
Exporting | FOREIGN_FACTOR | TYPE | Factor for the foreign currency units | ||||
Exporting | LOCAL_FACTOR | TYPE | Factor for the local currency units | ||||
Exporting | VALID_FROM_DATE | TYPE | SYST-DATUM | Date of read entry in TCURR | |||
Exporting | DERIVED_RATE_TYPE | TYPE | TCURR-KURST | Alternative exchange rate type, where used | |||
Exporting | FIXED_RATE | TYPE | Fixed exchange rate 4,5, if present | ||||
Exporting | OLDEST_RATE_FROM | TYPE | SYST-DATUM | Date of Oldest Exchange Rate Calculation | |||
Importing | CLIENT | TYPE | SYST-MANDT | SY-MANDT | |||
Importing | DATE | TYPE | SYST-DATUM | Currency translation date | |||
Importing | FOREIGN_CURRENCY | TYPE | TCURR-FCURR | Currency key for foreign currency | |||
Importing | LOCAL_CURRENCY | TYPE | TCURR-TCURR | Currency key for local currency | |||
Importing | TYPE_OF_RATE | TYPE | TCURR-KURST | 'M' | Type of rate M=Average rate G=Bank buying rate B=bank selling rate | ||
Importing | EXACT_DATE | TYPE | XFELD | SPACE | Exchange Rate for Exact Day Required | ||
Exception | NO_RATE_FOUND | TYPE | No exch.rate entered in table TCURR | ||||
Exception | NO_FACTORS_FOUND | TYPE | No conversion factors in TCURF | ||||
Exception | NO_SPREAD_FOUND | TYPE | No spread entered in table TCURS | ||||
Exception | DERIVED_2_TIMES | TYPE | |||||
Exception | OVERFLOW | TYPE | |||||
Exception | ZERO_RATE | TYPE | Indicator: No Exchange Rate Exists | ||||
Processing Type
Normal Function Module | |
Remote-Enabled Module | BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 20010122 |
SAP Release Created in |