SAP ABAP Function Module CONVERT_TO_FOREIGN_CURRENCY (Translate local currency amount into foreign 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
⤷
⤷
Basic Data
| Function Module | CONVERT_TO_FOREIGN_CURRENCY | Translate local currency amount into foreign currency |
| Function Group | SCUN | Translation of Currency Amounts: new |
| Program Name | SAPLSCUN | |
| INCLUDE Name | LSCUNU02 |
Parameters
| Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
|---|---|---|---|---|---|---|---|
| |
EXCHANGE_RATE | TYPE | Exchange rate 4.5 | ||||
| |
FOREIGN_AMOUNT | TYPE | Amount in foreign currency | ||||
| |
FOREIGN_FACTOR | TYPE | Factor for the foreign currency units | ||||
| |
LOCAL_FACTOR | TYPE | Factor for the local currency units | ||||
| |
EXCHANGE_RATEX | TYPE | Exchange rate 4.11 | ||||
| |
DERIVED_RATE_TYPE | TYPE | TCURR-KURST | Alternative exchange rate, where used | |||
| |
FIXED_RATE | TYPE | Fixed exchange rate 4.5, if existent | ||||
| |
CLIENT | TYPE | SYST-MANDT | SY-MANDT | |||
| |
DATE | TYPE | SYST-DATUM | Currency translation date | |||
| |
FOREIGN_CURRENCY | TYPE | Currency key for foreign currency | ||||
| |
LOCAL_AMOUNT | TYPE | Amount in local currency | ||||
| |
LOCAL_CURRENCY | TYPE | Currency key for local currency | ||||
| |
RATE | TYPE | 0 | Predefined exchange rate | |||
| |
TYPE_OF_RATE | TYPE | 'M' | Type of rate M=Average rate G=Bank buying rate B=bank selling rate | |||
| |
READ_TCURR | TYPE | 'X' | Read exchange rate from table TCURR | |||
| |
NO_RATE_FOUND | TYPE | No exch.rate entered in table TCURR | ||||
| |
OVERFLOW | TYPE | Field FOREIGN_AMOUNT is too small | ||||
| |
NO_FACTORS_FOUND | TYPE | No conversion factors in TCURF | ||||
| |
NO_SPREAD_FOUND | TYPE | No spread entered in table TCURS | ||||
| |
DERIVED_2_TIMES | TYPE | Exchange rate type derived more than once | ||||
Processing Type
| Normal Function 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 |