‎2007 Sep 12 2:02 PM
i am getting output as 200,000. i want to remove commas.how can i do this by coding.
‎2007 Sep 12 2:04 PM
‎2007 Sep 12 2:05 PM
hi suganya
create a variable
take this output another variable
remove the commas
disply the new variable
‎2007 Sep 12 2:06 PM
hi suganya
create a variable
take this output into new variable
remove the commas
disply the new variable
‎2007 Sep 12 2:07 PM
Hi,
Usethe following statement:
v_var =200,000.
REPLACE ALL OCCURRENCES OF ',' IN v_var WITH ''.
Ashvender
‎2007 Sep 12 2:07 PM
‎2007 Sep 12 2:20 PM
data : var1(40) type c. "length depends on your variable......
*--var contains ur output......
move var to var1.
translate var1 using ', '.
condense var1 no-gaps.
write 😕 var1.
Regards
vasu
‎2007 Sep 12 2:22 PM
Hi,
<b>Use NO-GROUPING while writing.
For example :-
write amount_field NO-GROUPING.</b>
Enjoy SAP.
Pankaj Singh.