Skip to Content

Problem with Currency Field?

Hello Friends,

I have a currency fields in a Screen, When it's value is null, It is showing me as SPACE. But My requirement is to display 0.00. How can I do this? Please do the favour needful.

Thanks & Regards

Sathish Kumar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2007 at 05:59 AM

    Hi Satish,

    You must have declared the field as CHAR locally...

    just declare it like ..

    DATA : var type <some Currency filed from dictionary>

    This will work,

    Reward points if helpful,

    Regards,

    Tejas

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Sathish Kumar Bachu

      Hi Satish,

      If you are writing a WRITE statement to Output, then you add Currency type along with amount field.

      Ex:

      WRITE tbl_bsid-wrbtr TO str_data-amount CURRENCY tbl_bsid-waers.

      Reward Points if it is working.

      Regards,

      Kumar

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.