<?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: case sensitive statement in the select-statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905547#M377488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  In the selection-screen design itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection-screen : field type table-fieldname lower-case/upper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can get the required case data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2007 08:45:58 GMT</pubDate>
    <dc:creator>sreeramkumar_madisetty</dc:creator>
    <dc:date>2007-02-16T08:45:58Z</dc:date>
    <item>
      <title>case sensitive statement in the select-statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905544#M377485</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;i have a table in the abap-dictionary filled with names...when i try to select them with the select-statement with condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table-name_column like '&lt;STRONG&gt;some_name&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have encountered some problems...the inquiry is case-sensitive. What i want to do is to read the value from the abap-dictionary table uppercase or lowercase and compare it with the needed value also translated in uppercase or lowercase.&lt;/P&gt;&lt;P&gt;The only idea i have is to select all values of the dictionary table into an internal table and to translate the values there in uppercase or lowercase and then to loop trough it. But this approach would cost a lot of performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do someone has an other proposal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 08:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905544#M377485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T08:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: case sensitive statement in the select-statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905545#M377486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution is one; there is another one which SAP frequently uses when facing this problem. Define another field in the table of the same length as the one which is case-sensitive but this field will hold the value in uppercase. You can than use this field (perhaps even defining an index for performance reasons) for your selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 08:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905545#M377486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T08:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: case sensitive statement in the select-statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905546#M377487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check...&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3045671"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be difficult , because it is based on how data is stored in the data base , now consider the scenario of the system i am using , we can material description as 'test' or 'TEST' , 'Test' .&lt;/P&gt;&lt;P&gt;If in your system there are only stored in either caps or small the you can perform the select twice .&lt;/P&gt;&lt;P&gt;But i myself dont find it to be such a good solution , but you can give it a try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one more solution specific to material description ,and that is in the table MAKT there is a field MAKTG , which stored the description in uppercase , so for this you can first convert the description to uppercase and then perform select on this field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 08:42:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905546#M377487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T08:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: case sensitive statement in the select-statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905547#M377488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  In the selection-screen design itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection-screen : field type table-fieldname lower-case/upper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can get the required case data only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 08:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905547#M377488</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-02-16T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: case sensitive statement in the select-statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905548#M377489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the field will be selected against in many times multiple applications, then use the suggestion of creating an uppercase field and translate it everytime the case sensitive field changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if this is for a single application, consider native SQL. Something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest NO STANDARD PAGE HEADING.

TABLES lfa1.

DATA: name LIKE lfa1-name1 VALUE 'YOUR NAME HERE'.

EXEC SQL.
  SELECT *
  INTO :LFA1
  FROM  LFA1
  WHERE UPPER(NAME1)  =  :NAME
ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 14:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/case-sensitive-statement-in-the-select-statement/m-p/1905548#M377489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T14:41:04Z</dc:date>
    </item>
  </channel>
</rss>

