01-12-2009 5:48 AM
Hi all,
Is there any function module to get the amount in Yen as there are no decimal places in yen.
Thanks
01-12-2009 5:54 AM
01-12-2009 6:03 AM
Hi,
U can try out with CURRENCY_CONVERT FM.
Hope it helps u
Thanks & Regards
01-12-2009 6:29 AM
Hello Neha,
Use like below:
CALL FUNCTION 'CURRENCY_CONVERT'
EXPORTING
I_VALUE =
I_AFABER =
I_T091C =
I_T093B = 'YEN'
I_ANLAV =
I_DATE = SY-DATUM
IMPORTING
E_VALUE =
Regards,
Sujeet
01-12-2009 8:50 AM
01-12-2009 9:13 AM
01-12-2009 11:10 AM
Hi Neha ,
Please try the FM SD_CONVERT_CURRENCY_FORMAT .
Regards ,
Nilesh Jain .
01-12-2009 11:24 AM
Hi,
You can try using READ_EXCHANGE_RATE function module.
Regards,
Deepthi.
03-12-2009 11:05 AM
Hi,
To which currency you want the exchange rate of YEN?
Assuming it to be in USD, check :
DATA wrk_exrate TYPE bapi1093_0.
DATA return TYPE bapireturn1.
DATA amount TYPE wrbtr value 500.
*--- Initialize
wrk_exrate-exch_rate = 1.
CALL FUNCTION 'BAPI_EXCHANGERATE_GETDETAIL'
EXPORTING
rate_type = 'M'
from_curr = 'JPY' "--- Yen
to_currncy = 'USD'
date = sy-datum
IMPORTING
exch_rate = wrk_exrate
return = return.
*--- Multiply wrk_exrate-exch_rate * amount = get amount in YEN
amount = floor( amount * wrk_exrate-exch_rate ).
This will the get the current exchange rate of YEN in USD without decimals.
Cheers,
Remi
03-12-2009 11:21 AM
03-12-2009 11:44 AM
Hi,
We can use
WRITE <field1> to <field2> currency 'YEN'.
Regards,
surya kiran
03-30-2009 12:00 PM