cancel
Showing results for 
Search instead for 
Did you mean: 

Negative Values for amount and quantity fields

Former Member
0 Kudos

Currently on the Web dynpro system allows to enter negative values without any specific change in the layout as compared to standard dynpro. Is there any standard method to stop entry of negative values.

Regards

Rohit Chowdhary

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Problem was with the Domain, SIGN box was activated for the quantity fields. For currency / Numeric fields Dynpro displays message as invalid Sign.

Regards

Rohit Chowdhary

Former Member
0 Kudos

Hi Rohit,

There is no method or property to stop the Entry of Negetive values for the field. But if you want to achieve this just do the conding in the even handler method of OnEnter event of Input field. In the same way most of the UI elements has such type of methds, there you need to validate it and raise the message. This is an alternative way only.

Warm Regards,

Vijay