<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TEXT field / numeric field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-field-numeric-field/m-p/1660761#M292883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; You can even use &amp;lt;b&amp;gt;CATS_NUMERIC_INPUT_CHECK&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Check for Numeric Value

call function 'CATS_NUMERIC_INPUT_CHECK'
 exporting
   input = t_return-fieldval
 exceptions
   no_numeric = 1
   others = 2.

if sy-subrc = 0.
read table t_f4_table index t_return-fieldval.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Nov 2006 12:08:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-04T12:08:57Z</dc:date>
    <item>
      <title>TEXT field / numeric field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-field-numeric-field/m-p/1660759#M292881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abappers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to check whether the content of a text field is numeric type or of character type? please any body can tell me how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2006 08:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-field-numeric-field/m-p/1660759#M292881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-04T08:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT field / numeric field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-field-numeric-field/m-p/1660760#M292882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATS_NUMERIC_INPUT_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the Function Module:&lt;/P&gt;&lt;P&gt;numeric_check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage:&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'NUMERIC_CHECK'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;STRING_IN = X&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;STRING_OUT = X&lt;/P&gt;&lt;P&gt;HTYPE = H_TYPE.&lt;/P&gt;&lt;P&gt;if h_type = 'CHAR'.&lt;/P&gt;&lt;P&gt;WRITE:/ 'NOt Numeric'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write:/ 'Numeric'.&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;without FM&lt;/STRONG&gt;*********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field CO '1234567890'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Then its number.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;else.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;then character.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlped pls mark points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;hi narendran did it work&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2006 09:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-field-numeric-field/m-p/1660760#M292882</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-04T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: TEXT field / numeric field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-field-numeric-field/m-p/1660761#M292883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; You can even use &amp;lt;b&amp;gt;CATS_NUMERIC_INPUT_CHECK&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Check for Numeric Value

call function 'CATS_NUMERIC_INPUT_CHECK'
 exporting
   input = t_return-fieldval
 exceptions
   no_numeric = 1
   others = 2.

if sy-subrc = 0.
read table t_f4_table index t_return-fieldval.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2006 12:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-field-numeric-field/m-p/1660761#M292883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-04T12:08:57Z</dc:date>
    </item>
  </channel>
</rss>

