08-02-2006 7:23 AM
Hi abappers
Can any of tell me the function module, which gives the (,)seperator for the currency values for example:-
the given value is 10000 then the output value should be
10,000.
Regards
Naren
08-02-2006 7:25 AM
Hello,
IF you use Type P it will automatically pritn with commas.
data: l_1 type p decimals 2 value '13344.56'.
write: l_1.
Regards,
Naimesh
08-02-2006 7:25 AM
Hello,
IF you use Type P it will automatically pritn with commas.
data: l_1 type p decimals 2 value '13344.56'.
write: l_1.
Regards,
Naimesh
08-02-2006 7:33 AM
Hi,
By assigning value of variable to a packed type decimal will definitely work for you.
e.g.
DATA: var1 type i ,
var2 type p decimals 2.
.
.
.
var2 = var1.
This will automatically take care of commas.
Hope this helps,
Pragya