08-05-2005 11:17 AM
is there any function module to check whether a field is of numeric data type.
thanx in advance,
regards,
altaf.
08-05-2005 11:25 AM
Hi,
or try with command catch (F1)
CATCH SYSTEM-EXCEPTIONS conversion_errors = 1.
MOVE text TO amount.
ENDCATCH.
IF sy-subrc EQ 1.
*not numeric
...
Andreas
08-05-2005 11:18 AM
08-05-2005 11:24 AM
08-05-2005 11:25 AM
Hi,
or try with command catch (F1)
CATCH SYSTEM-EXCEPTIONS conversion_errors = 1.
MOVE text TO amount.
ENDCATCH.
IF sy-subrc EQ 1.
*not numeric
...
Andreas
08-05-2005 11:27 AM
Hello,
Check this:
http://help.sap.com/saphelp_erp2004/helpdata/en/fc/eb3145358411d1829f0000e829fbfe/content.htm
Regards, Murugesh AS
08-05-2005 11:28 AM
Hi, a simple way is
IF FIELD CN '0123456789'.
if go here, it include a no-digital char
ENDIF.
But this solition is too simple, maybe can't be useful for many case.
08-05-2005 11:30 AM
I would recommend using the Describe statement.
That seems more straight forward.
08-05-2005 4:05 PM
Did the answers posted here help you solve your problem? If so, please reward them and close the post. The incentive for the people answering these posts is your recognition of their time and effort put into answering these questions. If you don't respond back with a thank you or further questions(if it is not solved), then that incentive is lost and the forum will be dead.
Please reward the posts that helped and close the thread.
Srinivas
08-08-2005 7:23 AM
how do i give points, by checking the radio buttons, for the concerned person?
08-08-2005 9:28 AM
yes , give max point to person whose answer solved your problem, i.e. 10 and it can be given to only one person.
and very helpful and helpful accordingly .
just click the radio buttons
but not mine one.
regards.