Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal Data type is not accepting 'ZERO' value in views

praveen_kumar132
Participant
0 Kudos
955

Hi ,

I have a requirement , need to update data thru view.-- requirement is to pass zero as value.

in this ,there is field with decimal data type. it is not accepting zero value. 

when passing zero as value it is blank out it is mandatory field . asking to fill data.

Please help on this.

Regards,

Praveen.

3 REPLIES 3

deepak_sharma_sap
Active Participant
0 Kudos
507

Hi,

If its a mandatory field that you would have to provide some value apart from 0.

If you want to enable '0' as input value then there is no point in keeping it as mandatory.

You can uncheck the "MANDATORY" checkbox from the view configuration.

Thanks

Deepak

0 Kudos
507

Thanks Deepak,

I have to pass 0 as value.. it is from field ..like - 0 to 20..(from and to field is there   -- from field need to accept  zero as value)

0 Kudos
507

Hi Praveen,

As mentioned it has decimal data type . Decimal fields treat 0 as an initial value and wont let you proceed until you provide value other than 0.

Even though you might have range specified as 0 -20 in domain range , till the time you keep it mandatory , zero wont be allowed.

Since you need to allow 0 as input so why to keep it as mandatory.

Thanks

Deepak