2006 Dec 04 6:20 PM
Hi,
Can you tell me if there is any function module that can convert the currency format '110,32' (for example) to USA format for example '110.32' ?
Please help with this at the earliest possible as this is urgent requirement.
Thanks a lot,
Krishen
2006 Dec 05 6:56 AM
use ' CONVERT_TO_LOCAL_CURRENCY'. If exchange rate is not coming then u can use 'READ_EXCHANGE_RATE'. to obtain exchange rate first and put that value in former fm.
mandeep
Hi,
Can you tell me if there is any function module that can convert the currency format '110,32' (for example) to USA format for example '110.32' ?
Please help with this at the earliest possible as this is urgent requirement.
Thanks a lot,
Krishen
2006 Dec 04 6:25 PM
Hi
The format currency depends on the user parameters.
U can use the WRITE statament, and the system automatically will write the currency in according to the user parameters.
U can try to use the statament SET COUNTRY <COUNTRY>, set all formats (date, currency) used in a country. In this way your program should be independent from user parameters.
Max
2022 Aug 23 12:34 PM
2006 Dec 05 6:56 AM
use ' CONVERT_TO_LOCAL_CURRENCY'. If exchange rate is not coming then u can use 'READ_EXCHANGE_RATE'. to obtain exchange rate first and put that value in former fm.
mandeep
2006 Dec 05 7:11 AM
Hi,
Try this and reward points if it helps.
CALL FUNCTION 'CONVERT_AMOUNT_TO_CURRENCY' EXPORTING
date = sy-datum
foreign_currency = 'USD'
foreign_amount = '2000.00'
local_currency = 'EUR'
IMPORTING
local_amount = amount.
2006 Dec 05 7:14 AM
Hi,
Please use the following FM.
<b>CONVERT_AMOUNT_TO_CURRENCY</b>
Please use the following FM's to convert currency from internal format to external and vice versa(This for dialog programming and Netweaver webdynpros purpose only).
<b>BAPI_CURRENCY_CONV_TO_EXTERNAL
BAPI_CURRENCY_CONV_TO_INTERNAL</b>
Regards
Bhupal Reddy
2006 Dec 05 8:50 AM
Hi,
Use the FMs:
<b>CONVERT_TO_FOREIGN_CURRENCY</b>
Convert local currency to foreign currency.
<b>CONVERT_TO_LOCAL_CURRENCY</b>
Convert from foreign currency to local currency
<b>CURRENCY_AMOUNT_SAP_TO_DISPLAY </b> Convert currency value from value stored in SAP to displayed currency
<b>CURRENCY_AMOUNT_DISPLAY_TO_SAP </b> Convert currency value from displayed currency value to value stored in SAP
Hope it helps.
Reward if helpful.
Regards,
Sipra
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |