Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

remove commas

Former Member
0 Likes
954

i am getting output as 200,000. i want to remove commas.how can i do this by coding.

7 REPLIES 7
Read only

Former Member
0 Likes
926

Hi,

REPLACE ALL OCCURRENCES OF ',' IN yourVar WITH ''.

regs

Read only

Former Member
0 Likes
926

hi suganya

create a variable

take this output another variable

remove the commas

disply the new variable

Read only

Former Member
0 Likes
926

hi suganya

create a variable

take this output into new variable

remove the commas

disply the new variable

Read only

Former Member
0 Likes
926

Hi,

Usethe following statement:

v_var =200,000.

REPLACE ALL OCCURRENCES OF ',' IN v_var WITH ''.

Ashvender

Read only

Former Member
0 Likes
926

Hi

Check Help for this Sentences: REPLACE

Regards

Gregory

Read only

Former Member
0 Likes
926

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

Read only

messier31
Active Contributor
0 Likes
926

Hi,

<b>Use NO-GROUPING while writing.

For example :-

write amount_field NO-GROUPING.</b>

Enjoy SAP.

Pankaj Singh.