<?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>Question Re: Validation on extension field for numeric input -Regular expression in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/validation-on-extension-field-for-numeric-input-regular-expression/qaa-p/535914#M110118</link>
    <description>&lt;P&gt;Hi Pragati,&lt;/P&gt;
  &lt;P&gt;Did you complete your requirement ? &lt;/P&gt;
  &lt;P&gt;As i have the same requirement and need you help on how did you achieve this.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Srikanth Rathod&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 07:43:16 GMT</pubDate>
    <dc:creator>srikanthrathod</dc:creator>
    <dc:date>2018-02-05T07:43:16Z</dc:date>
    <item>
      <title>Validation on extension field for numeric input -Regular expression</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-on-extension-field-for-numeric-input-regular-expression/qaq-p/535913</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
  &lt;P&gt;We have the requirement where we need to check if input in a extension field of type LANGUAGEINDEPENDENT_EXTENDED_Text contains characters other than the numbers. These other characters can be special characters, digits Etc.&lt;/P&gt;
  &lt;P&gt;If yes then it should not let the screen to save. For this I know we will have to use regular expression. But I don't know how to do the same and design the regular expression of such kind. Please help!&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Pragati Verma&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 20:31:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-on-extension-field-for-numeric-input-regular-expression/qaq-p/535913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-08-23T20:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on extension field for numeric input -Regular expression</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-on-extension-field-for-numeric-input-regular-expression/qaa-p/535914#M110118</link>
      <description>&lt;P&gt;Hi Pragati,&lt;/P&gt;
  &lt;P&gt;Did you complete your requirement ? &lt;/P&gt;
  &lt;P&gt;As i have the same requirement and need you help on how did you achieve this.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Srikanth Rathod&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 07:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-on-extension-field-for-numeric-input-regular-expression/qaa-p/535914#M110118</guid>
      <dc:creator>srikanthrathod</dc:creator>
      <dc:date>2018-02-05T07:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Validation on extension field for numeric input -Regular expression</title>
      <link>https://community.sap.com/t5/technology-q-a/validation-on-extension-field-for-numeric-input-regular-expression/qaa-p/535915#M110119</link>
      <description>&lt;P&gt;Hi Pragati,&lt;/P&gt;
  &lt;P&gt;You may use the &lt;STRONG&gt;Validation: OnSave&lt;/STRONG&gt; event of your object to do this validation. There you can use this code:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;if(this.yourField.FindRegex("[^[:digit:]]") &amp;gt;= 0) {
     raise Message.Create("E", "You should use only numbers!");
     return false;
}&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;If your field was created by screen you may get it using the References to Customer-Specific Fields.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/110537-reference.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;
  &lt;P&gt;Marlos Damasceno&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 18:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/validation-on-extension-field-for-numeric-input-regular-expression/qaa-p/535915#M110119</guid>
      <dc:creator>marlosdamasceno</dc:creator>
      <dc:date>2018-02-05T18:14:23Z</dc:date>
    </item>
  </channel>
</rss>

