Skip to Content

Abap Webdynpro decimal field allowing alpha values

Nov 06, 2017 at 05:59 PM


avatar image


I have web dynpro input field which is linked to data element of Decimal (length 4 decimal place 0). I am doing validation in BEFOREACTION method.

Issue is, if user is entering some alpha values in that field, in method, this values is not accepted and previous valid value is coming field.( If previous value is 7, and user enters 'ABC' then value in method is coming as 7).

I need to stop user from entering the wrong value.

Please suggest is there any method or setting for same in ABAP web dynpro.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Naresh Raj Dec 18, 2017 at 01:01 PM


If you have created an attribute with NUMERIC data type . it will not accept any other data including special characters. I guess you are setting the previous value to the input element.please check you code.please refer the screen shot for your reference.

capture.png (18.9 kB)
10 |10000 characters needed characters left characters exceeded