<?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: Select statement that ignores case in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779851#M909488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;don't really want to get into creating another table to store countries, I think I will end up creating my own internal table and then changing values in there into uppercase, and my my values in uppercase and see if I can get a match. Can't think of a better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 15:38:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-22T15:38:10Z</dc:date>
    <item>
      <title>Select statement that ignores case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779848#M909485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to use the select open SQL statement that ignores case.&lt;/P&gt;&lt;P&gt;I am trying get values from T005F and unless I enter BEZEI in the same format it is stored in it does not return a value. Say BEZEI is 'Hertfordshire' , if I try it with hertfordshire or HERTFORDSHIRE it returns nothing.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 15:18:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779848#M909485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T15:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement that ignores case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779849#M909486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunetly no for that table.  Some tables have a search field that the case is all upper for this purpose (KNA1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only way I've done this is with something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT * into WK_REC from T005F
  WHERE &amp;lt;any other condtion&amp;gt;.
   WK_BEZEI = WK_REC-BEZEI.
   TRANSLATE WK_BEZEI to UPPER CASE.
   CHECK WK-BEZEI IN SCREEN_RANGE.
   APPEND WK_REC to YOUR_IT.
ENDSELECT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll also want to make sure the DOMAIN for your SCREEN_RANGE does not allow Lower Case, or you could loop thru the range and translate them all before you start the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Paul Chapman on Apr 22, 2008 5:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 15:25:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779849#M909486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T15:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement that ignores case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779850#M909487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've had problems with this in the past too.  SAP doesn't consider the texts of counties to be a searchable field so doesn't hold it in upper case anywhere.  You have a few options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a new table and a program to populate this table, copy all entries from T005F and add a new field to hold the text in uppercase.  You can then use this to search.  This obviously creates some maintenance issues but in theory counties shouldn't change too much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Try removing the first character of your county and use that to search with, i.e. %ertfordshire and use LIKE in the select statement instead of EQ to find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These aren't ideal solutions but I hope they help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 15:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779850#M909487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T15:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement that ignores case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779851#M909488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;don't really want to get into creating another table to store countries, I think I will end up creating my own internal table and then changing values in there into uppercase, and my my values in uppercase and see if I can get a match. Can't think of a better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 15:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-that-ignores-case/m-p/3779851#M909488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T15:38:10Z</dc:date>
    </item>
  </channel>
</rss>

