cancel
Showing results for 
Search instead for 
Did you mean: 

Value Zero in dynpro fields

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Regards,

Former Member
0 Kudos

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.