Skip to Content
author's profile photo Former Member
Former Member

remove commas

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:04 PM

    Hi,

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

    regs

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:05 PM

    hi suganya

    create a variable

    take this output another variable

    remove the commas

    disply the new variable

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:06 PM

    hi suganya

    create a variable

    take this output into new variable

    remove the commas

    disply the new variable

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:07 PM

    Hi,

    Usethe following statement:

    v_var =200,000.

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

    Ashvender

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:07 PM

    Hi

    Check Help for this Sentences: REPLACE

    Regards

    Gregory

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 01:22 PM

    Hi,

    <b>Use NO-GROUPING while writing.

    For example :-

    write amount_field NO-GROUPING.</b>

    Enjoy SAP.

    Pankaj Singh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.