<?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 difference between environment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056925#M1702352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Thomas,&lt;/P&gt;&lt;P&gt;You can find the différence after the yellow column.&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2012 11:59:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-18T11:59:10Z</dc:date>
    <item>
      <title>Sort difference between environment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056923#M1702350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;This question is for my comprehension.&lt;/P&gt;&lt;P&gt;In different environnement I have different reaction on the sort function you can see in the attached file the information needed.&lt;/P&gt;&lt;P&gt;The sort is not the same between the environment can you explain to me why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort declaration :&lt;/P&gt;&lt;P&gt;Sort i_plopo by plnty plnnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment : Prod&lt;/P&gt;&lt;P&gt;Before sort&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/147740" width="450" /&gt;&lt;/P&gt;&lt;P&gt;After sort&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/147741" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment : Pre-prod &lt;/P&gt;&lt;P&gt;Before sort&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/147742" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;After sort&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/147743" width="450" /&gt;&lt;/P&gt;&lt;P&gt;So could you please explain why this difference after sort execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 11:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056923#M1702350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-18T11:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sort difference between environment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056924#M1702351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to find the significant difference and gave up. Where is it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 11:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056924#M1702351</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-10-18T11:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sort difference between environment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056925#M1702352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Thomas,&lt;/P&gt;&lt;P&gt;You can find the différence after the yellow column.&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 11:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056925#M1702352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-18T11:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sort difference between environment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056926#M1702353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are only sorting by PLNTY and PLNNR, so the rest is undefined. The sequence comes probably from a preceding SELECT statement, which again is undefined in relational databases if not defined explicitely e.g. via ORDER BY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better include all relevant colums in the SORT statement for reliable results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056926#M1702353</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-10-18T12:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sort difference between environment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056927#M1702354</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;I guess what you means by difference is the order of &lt;STRONG&gt;PLNKN &lt;/STRONG&gt;change after you sort it according to &lt;STRONG&gt;PLNNR&lt;/STRONG&gt;, to keep the original order of&lt;STRONG&gt; PLNKN&lt;/STRONG&gt;, you may perform &lt;STRONG&gt;STABLE SORT&lt;/STRONG&gt;(e.g: &lt;STRONG&gt;SORT internal_table&amp;nbsp; STABLE BY plnnr&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may study the link below for more information about stable sort:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp60_sp/helpdata/en/fc/eb3800358411d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/saphelp_erp60_sp/helpdata/en/fc/eb3800358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&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;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056927#M1702354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-18T12:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort difference between environment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056928#M1702355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;But I understandant what you say but how can I explain it?&lt;/P&gt;&lt;P&gt;The select return the data in the same order and after ther sort command the data haven't got the same issue.&lt;/P&gt;&lt;P&gt;This program was edited by another consultant. He should sort the table by defining the column PLNKN but he's missing it and now we have a difference between the environment due to the sort command.&lt;/P&gt;&lt;P&gt;My question is more: "why the sort is not the same between the two environment?" more data in production? is it a dynamic sort switch the size of the volumetry?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056928#M1702355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-18T12:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sort difference between environment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056929#M1702356</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;If I'm no mistaken ABAP using QuickSort(&lt;A href="http://en.wikipedia.org/wiki/Quicksort"&gt;http://en.wikipedia.org/wiki/Quicksort&lt;/A&gt;) for their sorting algorithm,it pick random "pivot" to run the QuickSort and that's the reason why you saw different result from different server. Note that it only sort according to the column you specify and it doesn't care about the relative sequence of line by other columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-difference-between-environment/m-p/9056929#M1702356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-18T12:52:02Z</dc:date>
    </item>
  </channel>
</rss>

