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

Value Zero in dynpro fields

Hi,

I have a question concerning the handling of Dynpro fields of type CURR.

It is not possible to enter the value 0 in those fields. When I do so, it displays an empty field after hitting return.

Also the value 0,00 is considered as the initial value of fields of this type. Every expression like "if .. is initial" considers a field with contents 0,00 as an initial field.

How can I solve the problem so that I am able to enter 0 as a valid number as well as the value 0 is not considered as the initial value?

Thanks for your comments,

Steffen

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2004 at 01:24 PM

    I think you must change this Dynpro field for another one.

    Try with Dynpro field type char, the initial value of a char is SPACE, so you can insert 0 or 0.0 or AAA. the problem is that you must control the correct values for this field, only numerical characters, and pay attention with '.' or ','.

    There are standard FM that converts a numerical char into a field type float, and so on.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 25, 2004 at 10:17 AM

    Try removing conversion routine assigned to this field. This may help.

    Regards,

    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.