SAP ABAP Function Module CONVERT_TO_LOCAL_CURRENCY (Translate foreign currency amount to local currency)
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 | CONVERT_TO_LOCAL_CURRENCY | Translate foreign currency amount to local currency |
Function Group | SCUN | Translation of Currency Amounts: new |
Program Name | SAPLSCUN | |
INCLUDE Name | LSCUNU03 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Exporting | EXCHANGE_RATE | TYPE | Exchange rate 4.5 | ||||
Exporting | FOREIGN_FACTOR | TYPE | Factor for the foreign currency units | ||||
Exporting | LOCAL_AMOUNT | TYPE | Amount in local currency | ||||
Exporting | LOCAL_FACTOR | TYPE | Factor for the local currency units | ||||
Exporting | EXCHANGE_RATEX | TYPE | Exchange rate 4.11 | ||||
Exporting | FIXED_RATE | TYPE | Fixed exchange rate 4,5, if present | ||||
Exporting | DERIVED_RATE_TYPE | TYPE | TCURR-KURST | Alternative exchange rate type, where used | |||
Importing | CLIENT | TYPE | SYST-MANDT | SY-MANDT | |||
Importing | DATE | TYPE | SYST-DATUM | Currency translation date | |||
Importing | FOREIGN_AMOUNT | TYPE | Amount in foreign currency | ||||
Importing | FOREIGN_CURRENCY | TYPE | Currency key for foreign currency | ||||
Importing | LOCAL_CURRENCY | TYPE | Currency key for local currency | ||||
Importing | RATE | TYPE | 0 | Predefined exchange rate | |||
Importing | TYPE_OF_RATE | TYPE | 'M' | Type of rate M=Average rate G=Bank buying rate B=bank selling rate | |||
Importing | READ_TCURR | TYPE | 'X' | Read exchange rate from table TCURR | |||
Exception | NO_RATE_FOUND | TYPE | No exch.rate entered in table TCURR | ||||
Exception | OVERFLOW | TYPE | LOCAL_AMOUNT field is too small | ||||
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 | Exchange rate type derived more than once | ||||
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 |