‎2007 Mar 02 4:29 AM
Hi,
I want to display comma for numeric values.I know we can use strlen and concatenate, but any one can give me an example.
Ex: 1,234 and 12,234 , 1,22,500 ( iam expecting)
Thanks,
Veeru
‎2007 Mar 02 4:32 AM
This will automatically get displayed if u have done with the user settings.
Refer to the CURR field.
‎2007 Mar 02 4:33 AM
hey iam using taiwan currency , so for recording i have to change that.
so now iam getting
1245
12245
122450.
i want commas for that.
Thanks,
veeru
‎2007 Mar 02 4:34 AM
‎2007 Mar 02 4:38 AM
loop at itab.
write itab-amount to itab-amount currency 'EUR'.
endloop.
‎2007 Mar 02 4:33 AM
it depends on ur data...
if it is currency then u can use
WRITE.... CURRENCY...
if it is qty then u can use
WRITE....UNIT....
or u simply pass it to a packed field and it will take the default decimal settings of the user profile...
Reward points if helpful