<?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: how to sort a sorted internal table . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133667#M988513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare a standard temp internal table, move the data from ur sorted to standard and do the sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jul 2008 19:21:12 GMT</pubDate>
    <dc:creator>former_member1007904</dc:creator>
    <dc:date>2008-07-02T19:21:12Z</dc:date>
    <item>
      <title>how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133662#M988508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is an internal table which is sorted &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort IS_DLV_DELNOTE-it_gen[] by material.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;then its giving an error as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@8O@        Global Definitions        "IS_DLV_DELNOTE-IT_GEN[]" is a table of the kind SORTED. You cannot use the SORT command with this type of table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to use the command..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 18:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133662#M988508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T18:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133663#M988509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default when you define a sorted table you are already telling the table to sort by certain fields.  When you execute the sort command on it via different fields, you are going to conflict w/ the original definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this table will be sorted via different fields, I suggest you use a normal header table instead.  However, a pre-defined sorted table will save you some time and CPU cycles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:  To clarify - sorted tables will save you time and CPU cycles during read, but actually increase CPU usage during inserts (because it has to insert the data in a sorted manner)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kevin Lin on Jul 2, 2008 8:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 18:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133663#M988509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T18:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133664#M988510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table that you're using was defined like sorted table and it will be always sorted. You cannot sort it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to sort it change its declaration to be a standard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to change the table keys. In this case you need to check if you'll get problems with UNIQUE keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 18:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133664#M988510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T18:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133665#M988511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually IS_DLV_DELNOTE-it_gen is assighned to standard stucture which is sorted and I can change the sorted field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 18:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133665#M988511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T18:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133666#M988512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I cant sort the table..&lt;/P&gt;&lt;P&gt;is there any alternative for sort statement..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 19:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133666#M988512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T19:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133667#M988513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare a standard temp internal table, move the data from ur sorted to standard and do the sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 19:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133667#M988513</guid>
      <dc:creator>former_member1007904</dc:creator>
      <dc:date>2008-07-02T19:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133668#M988514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created the standard table&lt;/P&gt;&lt;P&gt;then moved the sorted table to standard internal table&lt;/P&gt;&lt;P&gt;then sorted the standard internal table.&lt;/P&gt;&lt;P&gt;then I want to move to sort table again..but I am unable to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 19:35:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133668#M988514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T19:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to sort a sorted internal table .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133669#M988515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't append data to sorted table. Use INSERT statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 20:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-sort-a-sorted-internal-table/m-p/4133669#M988515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T20:26:32Z</dc:date>
    </item>
  </channel>
</rss>

