|
How to convert from one currency to another foreign
currency?
We can Use the Following Function Module to convert from one Currency value to others. In following function module we need to pass Foreign currency, Local Currency type_rate: Type of rate: M=Average rate
We Get Exchange rate for that day, foreign factor, Local factor. And Foreign currency can be calculated as below mentioned
in IF ENDIF
Coding: DATA: l_er TYPE tcurr-ukurs,
CALL FUNCTION 'READ_EXCHANGE_RATE'
IF sy-subrc = 0.
|
|
See Also
Get help for your ABAP problems
ABAP Books
More ABAP Tips
SAP Basis, ABAP Programming and Other IMG Stuff All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|