Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Check if the contents of a character string is numeric or not

Former Member
0 Kudos

Hi experts,

I need to check if the contents of a character string is numeric. ie if the character string contains anything other than numbers.

Points will be given to all helpful answers.

Thank you,

Nobin

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello Nobin

I think the most "generic" fm is NUMERIC_CHECK.

Regards

Uwe

4 REPLIES 4

Former Member
0 Kudos

Hi,

if <variable> co '0123456789'.

endif.

Cheers.

...Reward if useful

Former Member
0 Kudos

Hi,

Check Below FM

CATS_NUMERIC_INPUT_CHECK

It may be helpful for you.

Thanks

Praveen

uwe_schieferstein
Active Contributor
0 Kudos

Hello Nobin

I think the most "generic" fm is NUMERIC_CHECK.

Regards

Uwe

0 Kudos

Thanks Uwe!!