2009 Jan 12 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
Hi all,
Is there any function module to get the amount in Yen as there are no decimal places in yen.
Thanks
2009 Jan 12 5:54 AM
2009 Jan 12 6:03 AM
Hi,
U can try out with CURRENCY_CONVERT FM.
Hope it helps u
Thanks & Regards
2009 Jan 12 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
2009 Jan 12 8:50 AM
2009 Jan 12 9:13 AM
Hi,
You can use this FM 'CURRENCY_CONVERT'.
Regards,
Jyothi CH.
2009 Jan 12 11:10 AM
Hi Neha ,
Please try the FM SD_CONVERT_CURRENCY_FORMAT .
Regards ,
Nilesh Jain .
2009 Jan 12 11:24 AM
Hi,
You can try using READ_EXCHANGE_RATE function module.
Regards,
Deepthi.
2009 Mar 12 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
2009 Mar 12 11:21 AM
2009 Mar 12 11:44 AM
Hi,
We can use
WRITE <field1> to <field2> currency 'YEN'.
Regards,
surya kiran
2009 Mar 30 12:00 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |