<?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: How to check whether a string includes only numeric characters. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661322#M1096648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you can check FM: &lt;STRONG&gt;NUMERIC_CHECK&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 02:20:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T02:20:06Z</dc:date>
    <item>
      <title>How to check whether a string includes only numeric characters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661319#M1096645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to write a function module which judges whether a string includes only numeric characters.&lt;/P&gt;&lt;P&gt;Import: a string&lt;/P&gt;&lt;P&gt;Export:  &lt;/P&gt;&lt;P&gt;     - True: If this is a numeric string&lt;/P&gt;&lt;P&gt;     - False: The string includes non-numeric characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Best REgards, Johnney.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 02:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661319#M1096645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T02:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether a string includes only numeric characters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661320#M1096646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;search before posting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its as simple as checking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xx co ( 1234567890 )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 02:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661320#M1096646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T02:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether a string includes only numeric characters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661321#M1096647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: text(10).
text = '0123456789'.

  IF string CA text.
write:/ 'numeric'.
else. 
write:/ non-numeric'.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 02:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661321#M1096647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T02:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether a string includes only numeric characters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661322#M1096648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you can check FM: &lt;STRONG&gt;NUMERIC_CHECK&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 02:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661322#M1096648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T02:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether a string includes only numeric characters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661323#M1096649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CA is incorrect, it needs ot be CO&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: text(10).
text = '0123456789'.
 
  IF string CA text.   &amp;lt;----------  should be CO instead of  CA
write:/ 'numeric'.
else. 
write:/ non-numeric'.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 02:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661323#M1096649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T02:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether a string includes only numeric characters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661324#M1096650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are correct my mistake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 02:28:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661324#M1096650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T02:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to check whether a string includes only numeric characters.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661325#M1096651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Try using this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data in_string type string.&lt;/P&gt;&lt;P&gt;data out_string type string.&lt;/P&gt;&lt;P&gt;data h_type type string.&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        = in&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   STRING_OUT       = out&lt;/P&gt;&lt;P&gt;   HTYPE            = h_type.&lt;/P&gt;&lt;P&gt;&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;Hope this will be useful for you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 04:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-check-whether-a-string-includes-only-numeric-characters/m-p/4661325#M1096651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T04:25:37Z</dc:date>
    </item>
  </channel>
</rss>

