<?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 Regarding itab data order after doing select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248551#M1720602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;This question may sounds silly. But i would like to know the reason behind it.&lt;/P&gt;&lt;P&gt;Currently we are doing a support project in which we are facing this problem.&lt;/P&gt;&lt;P&gt;The program has to fetch the data from a ztable and do manipulation and display the output.&lt;/P&gt;&lt;P&gt;But after selecting the data from the ztable in both quality and production server the order of data in internal table is not the same but the data remains the same in the table level.&lt;/P&gt;&lt;P&gt;even i checked the version of program in production and quality both are same, and the amount of data in both the system is also the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to know why the order of the data is different in both the server? list out the possiblities of this cause?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note i have compared the table version aswell no change and no index is also there .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your positive response.&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;S.Janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 08:01:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-17T08:01:16Z</dc:date>
    <item>
      <title>Regarding itab data order after doing select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248551#M1720602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;This question may sounds silly. But i would like to know the reason behind it.&lt;/P&gt;&lt;P&gt;Currently we are doing a support project in which we are facing this problem.&lt;/P&gt;&lt;P&gt;The program has to fetch the data from a ztable and do manipulation and display the output.&lt;/P&gt;&lt;P&gt;But after selecting the data from the ztable in both quality and production server the order of data in internal table is not the same but the data remains the same in the table level.&lt;/P&gt;&lt;P&gt;even i checked the version of program in production and quality both are same, and the amount of data in both the system is also the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to know why the order of the data is different in both the server? list out the possiblities of this cause?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note i have compared the table version aswell no change and no index is also there .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your positive response.&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;S.Janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248551#M1720602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-17T08:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding itab data order after doing select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248552#M1720603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janagar,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;But after selecting the data from the ztable in both quality and production server the order of data in internal table is not the same but the data remains the same in the table level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain the above statement?? if possible with an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248552#M1720603</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-17T08:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding itab data order after doing select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248553#M1720604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;after executing the select statement , the data would be filled in internal table and the order of data in internal table varies in both production and quality servers. this is what i mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;S.Janagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248553#M1720604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-17T08:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding itab data order after doing select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248554#M1720605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;may be the time of uploading of data vary.&lt;/P&gt;&lt;P&gt;but after data reaches to itab you can sort it up to what ever you expect.&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;Vnoth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248554#M1720605</guid>
      <dc:creator>vinoth_aruldass</dc:creator>
      <dc:date>2013-01-17T08:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding itab data order after doing select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248555#M1720606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Janagar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data in DB Table(Quality)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data in internal table&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean that this happens after data selection?? If the above is the case, You can sort the data as per your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see a problem here &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1142/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248555#M1720606</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-01-17T08:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding itab data order after doing select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248556#M1720607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nice point. but the development and production behaves exactly the same but quality alone is behaving weird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more suggesions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248556#M1720607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-17T08:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding itab data order after doing select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248557#M1720608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't sort the internal table or dont use an ORDER BY key in the SELECT statement, the actual order of records may, and will, vary. The SQL optimizer may choose different access to data and the data is not actually sorted by primary key in the database for many DB system, yo&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;u have this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;false impression cause SE16 execute a SORT internal table before display. (look after &lt;/SPAN&gt;&lt;/SPAN&gt;start-of-selection in the /1BCDWB/DBxxxx report.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In you case, execute ST05 on three systems, and compare also index, and how were the system created, the copy of system may have reorganized the tables in some sysyems...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;In either cases, you cannot and must not rely on the database to order the records if required.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 08:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-itab-data-order-after-doing-select/m-p/9248557#M1720608</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-01-17T08:30:39Z</dc:date>
    </item>
  </channel>
</rss>

