Showing results for 
Search instead for 
Did you mean: 

Creating Simple Type

Former Member
0 Kudos


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.



Accepted Solutions (0)

Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

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 and [original link is broken]

Regards, Bertram