‎2005 Aug 05 11:17 AM
is there any function module to check whether a field is of numeric data type.
thanx in advance,
regards,
altaf.
‎2005 Aug 05 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
‎2005 Aug 05 11:18 AM
‎2005 Aug 05 11:24 AM
Hi,
you can also use describe.
DESCRIBE FIELD l_filed type l_type.
‎2005 Aug 05 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
‎2005 Aug 05 11:27 AM
Hello,
Check this:
http://help.sap.com/saphelp_erp2004/helpdata/en/fc/eb3145358411d1829f0000e829fbfe/content.htm
Regards, Murugesh AS
‎2005 Aug 05 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.
‎2005 Aug 05 11:30 AM
I would recommend using the Describe statement.
That seems more straight forward.
‎2005 Aug 05 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
‎2005 Aug 08 7:23 AM
how do i give points, by checking the radio buttons, for the concerned person?
‎2005 Aug 08 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.