<?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: Lower case / upper case in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945555#M64074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the &amp;lt;b&amp;gt;TRANSLATE&amp;lt;/b&amp;gt; stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data myfield(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myfield = 'AB*' .&lt;/P&gt;&lt;P&gt;translate myfield+1(19) to lower case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write myfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output Ab*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2005 07:56:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-13T07:56:17Z</dc:date>
    <item>
      <title>Lower case / upper case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945553#M64072</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;In a standard SAP table I have an entry field1 'Abcdef'.  (domain has lower case checkbox checked).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a new RFC the user must have the possibility to fill in 'AB&lt;STRONG&gt;' or 'ab&lt;/STRONG&gt;' (so case insensitive), and the rfc must return the record with field 'Abcdef'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to make the select statement case insensitive on that field? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;hans.senden@philips.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2005 07:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945553#M64072</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2005-09-13T07:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lower case / upper case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945554#M64073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand this will have to be done in ABAP (select all records from the table and loop through, translating and matching each record).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, if the RFC is sending only a few characters (say two first chars only, like AB*), you can create a select like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;where field1 like 'AB&amp;amp;' or field1 like 'Ab&amp;amp;' or field1 like 'ab&amp;amp;' or field1 like 'aB&amp;amp;' ...&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2005 07:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945554#M64073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-13T07:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Lower case / upper case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945555#M64074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the &amp;lt;b&amp;gt;TRANSLATE&amp;lt;/b&amp;gt; stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data myfield(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myfield = 'AB*' .&lt;/P&gt;&lt;P&gt;translate myfield+1(19) to lower case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write myfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output Ab*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2005 07:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945555#M64074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-13T07:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lower case / upper case</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945556#M64075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately i don't know what search string the rfc is sending. I can be 2 long (4 possibilities) but it can also be 16 position (a lot of possibilities).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've solved it in another way :&lt;/P&gt;&lt;P&gt;I have to search for the vendor's name (LFA1-NAME1). So i cannot write all vendor names first to upper case. In some case the user want to print the vendor's name in both upper/lower case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have found a field LFA1-MCOD1 (Search term for matchcode search) which contains the first 25 characters of LFA1-NAME1 (35 charachers) in upper case. With restrictions to the length i can use this field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the other text field for which the problems exists, country's name (T005T-LANDX), i can first read all countries into an internal table, translate them to upper case and do the search. There only 237 countries in our system, so this must not be such a performance problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2005 07:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lower-case-upper-case/m-p/945556#M64075</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2005-09-13T07:58:23Z</dc:date>
    </item>
  </channel>
</rss>

