02-25-2005 10:54 AM
Hi ,
I am uploading data from a file to an internal table , i want to check whether the value uploaded in a perticular field is numeric or not.
Is there any FM to do it.
Regards
Arun
02-25-2005 10:55 AM
Hi,
Why don't you play with ca co ? (contain any, contain only)
Frédéric
02-25-2005 10:58 AM
Hi Arun,
may be you can just use
CHECK field CO '0123456789.,'.
regards
Siggi
02-25-2005 11:02 AM
Hi Arun,
Check the value with system variable SY-ABCDE to find out whether any alphabets are there or not. The system variable Sy-ABCDE contains all alphabets.
Also check FM NUMERIC_CHECK.
Thanks
Lakshman
Message was edited by: Lakshman Tandra
02-25-2005 11:31 AM