<?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: Sort internal table on name (case sensitive sort) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547139#M1266513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added a new field to the internal table where I put the name in upper case and sorted on this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 14:47:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-16T14:47:20Z</dc:date>
    <item>
      <title>Sort internal table on name (case sensitive sort)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547136#M1266510</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 want to sort my internal table by a certain field, but without it taken in account lower- or upper-case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have the following list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Abe&lt;/P&gt;&lt;P&gt;- celine&lt;/P&gt;&lt;P&gt;- bart&lt;/P&gt;&lt;P&gt;- Zorro&lt;/P&gt;&lt;P&gt;- Bambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do this in my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SORT it_names BY name&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result:&lt;/P&gt;&lt;P&gt;- Abe&lt;/P&gt;&lt;P&gt;- Bambi&lt;/P&gt;&lt;P&gt;- Zorro&lt;/P&gt;&lt;P&gt;- bart&lt;/P&gt;&lt;P&gt;- celine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get the following result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Abe&lt;/P&gt;&lt;P&gt;- Bambi&lt;/P&gt;&lt;P&gt;- bart&lt;/P&gt;&lt;P&gt;- celine&lt;/P&gt;&lt;P&gt;- Zorro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 14:21:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547136#M1266510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T14:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sort internal table on name (case sensitive sort)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547137#M1266511</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;try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at it_names into wa_name.
translate wa_name-name to lowercase..
append wa_name to it_names_final.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then try to sort it_names_final by names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now table it_names_final  will sort out correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 14:26:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547137#M1266511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T14:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sort internal table on name (case sensitive sort)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547138#M1266512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But then I don't get the original name (?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 14:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547138#M1266512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sort internal table on name (case sensitive sort)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547139#M1266513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added a new field to the internal table where I put the name in upper case and sorted on this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 14:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-internal-table-on-name-case-sensitive-sort/m-p/5547139#M1266513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-16T14:47:20Z</dc:date>
    </item>
  </channel>
</rss>

