Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

  • Mar 25, 2004 at 10:17 AM

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

    Regards,

    Add comment
    10|10000 characters needed characters exceeded