SAP ABAP Function Module CALCULATE_EXCHANGE_RATE (Find Rate Based on Amounts, Currency Keys and Date)
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 CALCULATE_EXCHANGE_RATE Find Rate Based on Amounts, Currency Keys and Date  
Function Group SCUN   Translation of Currency Amounts: new  
Program Name SAPLSCUN    
INCLUDE Name LSCUNU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting EXCHANGE_RATE TYPE Exchange Rate
Exporting FOREIGN_FACTOR TYPE TCURR-FFACT Factor for the Foreign Currency Units
Exporting LOCAL_FACTOR TYPE TCURR-TFACT Factor for the Local Currency Units
Exporting DERIVED_RATE_TYPE TYPE TCURR-KURST Alternative Exchange Rate, Where Used
Exporting FIXED_RATE TYPE Fixed Exchange Rate 4,5, if Present
Importing CLIENT TYPE SYST-MANDT SY-MANDT
Importing DATE TYPE SYST-DATUM Conversion Date
Importing FOREIGN_AMOUNT TYPE Amount in Foreign Currency
Importing FOREIGN_CURRENCY TYPE Currency Cey for Foreign Currency
Importing LOCAL_AMOUNT TYPE Amount in Local Currency
Importing LOCAL_CURRENCY TYPE Currency Key for Local Currency
Importing TYPE_OF_RATE TYPE 'M' Exchange Rate Type
Exception NO_RATE_COMPUTABLE TYPE Translation not Possible
Exception NO_RATE_FOUND TYPE Entry not Found in Table TCURR
Exception RATE_TOO_BIG TYPE The Exchange Rate Determined Exceeds Acceptable Limits
Exception NO_FACTORS_FOUND TYPE No Entry Found in Table TCURF
Exception NO_SPREAD_FOUND TYPE Spread not Entered in Table TCURS
Exception DERIVED_2_TIMES TYPE
Exception OVERFLOW TYPE Arithmetical Overflow
               
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