<?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: string containig only 0-9 or '.' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-containig-only-0-9-or/m-p/3166191#M753179</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;pls follow the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;       l_values(11) type c value '0123456789.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      if  v_string co l_values.&lt;/P&gt;&lt;P&gt;          "Then your string variable V_STRING contains only 0-9 or dot'&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;          "Then the string variable V_STRIN contains at least one some other value"&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If the comparison is true, the system field SY-FDPOS contains the length of &amp;lt;f1&amp;gt;. If it is false, SY-FDPOS contains the offset of the first character of &amp;lt;f1&amp;gt; that does not occur in &amp;lt;f2&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2007 15:29:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-11T15:29:07Z</dc:date>
    <item>
      <title>string containig only 0-9 or '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-containig-only-0-9-or/m-p/3166189#M753177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    actually i want to check a string as it should contain only characters only [0-9] or a dor[.] .. so can anyone plz tell me how to do tat..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_string should contain only either 0 to 9 or a dot (.)&lt;/P&gt;&lt;P&gt; i hope the point is clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;supporting answers will be rewarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nikesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 15:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-containig-only-0-9-or/m-p/3166189#M753177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: string containig only 0-9 or '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-containig-only-0-9-or/m-p/3166190#M753178</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;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF string CO '0123456789.'.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 15:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-containig-only-0-9-or/m-p/3166190#M753178</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-12-11T15:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: string containig only 0-9 or '.'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-containig-only-0-9-or/m-p/3166191#M753179</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;pls follow the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;       l_values(11) type c value '0123456789.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      if  v_string co l_values.&lt;/P&gt;&lt;P&gt;          "Then your string variable V_STRING contains only 0-9 or dot'&lt;/P&gt;&lt;P&gt;      else.&lt;/P&gt;&lt;P&gt;          "Then the string variable V_STRIN contains at least one some other value"&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If the comparison is true, the system field SY-FDPOS contains the length of &amp;lt;f1&amp;gt;. If it is false, SY-FDPOS contains the offset of the first character of &amp;lt;f1&amp;gt; that does not occur in &amp;lt;f2&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2007 15:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-containig-only-0-9-or/m-p/3166191#M753179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-11T15:29:07Z</dc:date>
    </item>
  </channel>
</rss>

