on 07-30-2007 9:31 PM
Hello,
I created a simple type of decimal. But it doesnt show any errors when I enter string field, or minus values automatically. Do I need to create a action to validate this?. I just want to allow the user to enter +ve integers, otherwise it should become red. How do I achieve this?. As per the requirement I want to show only the red color around the input field.
Thanks,
Sunita.
Hallo Sunita,
look at the new version of the Web Dynpro Table tutorial I modified recently. To fix a security issue based on negative quantities for articles resulting in potentially negative price values I modified the application logic using a custom dictionary type with base type decimal and Minimum inclusive = 0. Combined with a validating action the Web Dynpro Runtime automatically displays a validation error message texts when the user enters a negative quantity.
See https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/5f699f90-0201... and https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c8780... [original link is broken]
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.