2007 Oct 18 5:44 AM
HI EXPERTS,
I WANT 1234567890.12 THIS CURRENCY COULD BE DISPLAYED AS 1,23,45,67,890.12
IN O/P SCREEN.
THANKS,
KALYAN........
HI EXPERTS,
I WANT 1234567890.12 THIS CURRENCY COULD BE DISPLAYED AS 1,23,45,67,890.12
IN O/P SCREEN.
THANKS,
KALYAN........
2007 Oct 18 5:48 AM
Hi,
Try using the FM CONVERT_TO_LOCAL_CURRENCY.
Regards,
Himanshu
2007 Oct 18 5:49 AM
2007 Oct 18 5:53 AM
Hi,
Try using the below
write lv_currency USING EDIT MASK '__,___,___.__'.
Reward Points if helpful.
Thanks and regards,
Litta
2007 Oct 18 5:56 AM
Hi,
You can also use the below Function module.
BAPI_CURRENCY_CONV_TO_EXTERNAL
Thanks and Regards,
Litta.
2007 Oct 18 6:21 AM
If the Currency format is to be set according to a Country/client
Then u need to use the statement :-
SET COUNTRY f .
Where "f" is the country id specfied in table T005X.
E.g:-
DATA : amount TYPE p DECIMALS 2 value '123456789012'.
SET COUNTRY 'CN'. " (CN- China)
IF SY-SUBRC = 4.
WRITE: / COUNTRY, ' is unknown'.
ENDIF.
WRITE: / amount.
This would also be helpful.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |