<?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: Append For sorted table?????????? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600527#M867202</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;Yes, you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If the target table itab is a SORTED TABLE, it must be sorted correctly after the append, otherwise a runtime error results. &lt;/P&gt;&lt;P&gt;After the statement has been executed, the system field SY-TABIX is filled with the index of the last line in the table*. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defines the table as one that is always saved correctly sorted. Key access to a sorted table uses a binary key. If the key is not unique, the system takes the entry with the lowest index. The runtime required for key access is logarithmically related to the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also access sorted tables by index operations. When you insert using an index, the system checks to ensure that the sort sequence has been correctly maintained. For this reason, it takes longer than inserting entries in a standard table. As a rule, you should only access sorted tables using their key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sriram Ponna on Mar 26, 2008 5:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2008 12:19:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-26T12:19:28Z</dc:date>
    <item>
      <title>Append For sorted table??????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600526#M867201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can v use append statement for appending data in sorted table.&lt;/P&gt;&lt;P&gt;how???&lt;/P&gt;&lt;P&gt;please reply...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 12:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600526#M867201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T12:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Append For sorted table??????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600527#M867202</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;Yes, you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If the target table itab is a SORTED TABLE, it must be sorted correctly after the append, otherwise a runtime error results. &lt;/P&gt;&lt;P&gt;After the statement has been executed, the system field SY-TABIX is filled with the index of the last line in the table*. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defines the table as one that is always saved correctly sorted. Key access to a sorted table uses a binary key. If the key is not unique, the system takes the entry with the lowest index. The runtime required for key access is logarithmically related to the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also access sorted tables by index operations. When you insert using an index, the system checks to ensure that the sort sequence has been correctly maintained. For this reason, it takes longer than inserting entries in a standard table. As a rule, you should only access sorted tables using their key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sriram Ponna on Mar 26, 2008 5:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 12:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600527#M867202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-26T12:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Append For sorted table??????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600528#M867203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should avoid using append for sorted tables.&lt;/P&gt;&lt;P&gt;Append adds record to end of internal table.if sorting is violated coz of this,u'll get runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward points if dis helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 12:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600528#M867203</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2008-03-26T12:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Append For sorted table??????????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600529#M867204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INSERT wa INTO TABLE itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sorted tables. New line will be inserted according to table key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2008 12:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-for-sorted-table/m-p/3600529#M867204</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-03-26T12:32:57Z</dc:date>
    </item>
  </channel>
</rss>

