<?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: validation of alphanumeric fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-of-alphanumeric-fields/m-p/2298913#M502279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report  zrich_0001.

data: this_value type string.
data: check_str type string.

this_value = 'This is the VALUE that I want to check 12345'.


check_str = sy-abcde.
translate check_str to lower case.
concatenate check_str sy-abcde into check_str.
concatenate check_str ' 0123456789' into check_str.

if this_value co check_str.
  write:/ 'This is ok'.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2007 15:48:31 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-05-24T15:48:31Z</dc:date>
    <item>
      <title>validation of alphanumeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-of-alphanumeric-fields/m-p/2298911#M502277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i need to validate the data from the file which is uploaded from the desktop. I have the address field , zipcode and many alphanumeric fields . I tried to use the CO operator which includes numbers from 0-9 , char a-z and wildcard ,  but i am getting error as the address fields has space in between like 1234 wacker Dr and this is not picking up and also the address field may have capital letters , Please suggest me the good approach to validate the alpha numeric fields . I have about 30 char fields in the file which i need to validate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Latha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 15:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-of-alphanumeric-fields/m-p/2298911#M502277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T15:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: validation of alphanumeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-of-alphanumeric-fields/m-p/2298912#M502278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use - sy-abcde&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : l_val(10) type c value '0123456789'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : l_abcde type sy-abcde.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : l_final(80) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_val = sy-abcde.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate l_abcde l_val into l_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compare your value with i_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 15:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-of-alphanumeric-fields/m-p/2298912#M502278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T15:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: validation of alphanumeric fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-of-alphanumeric-fields/m-p/2298913#M502279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report  zrich_0001.

data: this_value type string.
data: check_str type string.

this_value = 'This is the VALUE that I want to check 12345'.


check_str = sy-abcde.
translate check_str to lower case.
concatenate check_str sy-abcde into check_str.
concatenate check_str ' 0123456789' into check_str.

if this_value co check_str.
  write:/ 'This is ok'.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 15:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-of-alphanumeric-fields/m-p/2298913#M502279</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-05-24T15:48:31Z</dc:date>
    </item>
  </channel>
</rss>

