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

Changing the format of the currency

Hi Experts,

I have a variable gv_value which is printing my value as

10,30 ,but the requirement is to get it printed as 10.30,

Please advice

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 11:30 AM

    go to su01.

    give your user name...

    change...

    goto defaults tab...

    change the decimal notation...and save...

    or

    goto menu system->user profile-> own data->defaults tab-> change decimal notation

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 11:32 AM

    Hi,

    Try this :

    DATA int TYPE i VALUE 12345678.

    WRITE int NO-GROUPING CURRENCY 'EUR'.

    Thanks,

    Sriram Ponna.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 11:33 AM

    Hi,

    Do like this

    TRANSLATE gv_value with '. '.

    OR

    Replace all occurrences of ',' in gv_value with '.' .

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 11:33 AM

    hi,

    CONVERT_TO_LOCAL_CURRENCY - Conversion of currency

    Hope this helps, Do reward.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 11:33 AM

    Hi,

    The default format of currency in your profile is to be changed.

    Follow this menu path :

    System->User Profile->Own Data->Defaults (Tab).

    Here you can change your currency format.

    Hope that helps.

    Cheers,

    Ravish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 11:37 AM

    Hi ,

    are dispalying the value in alv or i the classical report using WRITE statement.

    if u are using write statement then

    WRITE: num1 CURRENCY 'USD'.

    here num1 is the value and USD is the type of currency...like USD , INR, GBP etc

    if u are using a list display or grid dispaly add one more field in the internal table to capture currency format and link this field to value field..

    Rewards points if useful.

    Regards,

    Kiran

    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.