Skip to Content
0
Former Member
Nov 13, 2007 at 10:21 PM

Validating only digits

26 Views

Hi All

I want to validate a field with digits only ( 0 to 9) . If it contains other than 0 to 9 digits like special characters then it should fail.

for e.g. : 384746 should be true

384-746 should be false.

If I use CA operand then it throws true even for 384-746 value

Can anybody let us know how to achieve it ? is there any FM available .

I got it with some extra logic to find it out whether it is a numeric or not BUT I need a direct method , one step validation

Responses are highly appreciated .

Satya