<?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: runtime error in sorted itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782707#M648671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify plays the role of either the append or insert only when we are dealing with the database tables.&lt;/P&gt;&lt;P&gt;If you try to use modify with the Transparent table ,then it would append the data if data does not exist already in the table OR if it already exists,then it will update the entries of that row with the data that you want it to have.&lt;/P&gt;&lt;P&gt;And if you use Insert with the Sorted tables,then the data would be inserted at the correct sorted place in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess,you might have got my point by now.&lt;/P&gt;&lt;P&gt;And if you still have any clarifications regarding this,it's better if you read help.sap.com and get it cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Puneet Jhari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 07:35:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-17T07:35:33Z</dc:date>
    <item>
      <title>runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782700#M648664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q2]]  A runtime error occurs if you violate the sort order of a sorted table by appending to it -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;WHY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2007 07:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782700#M648664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-15T07:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782701#M648665</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;APPEND always try to add new line to internal table as last line. If that is not according to the sort order ==&amp;gt; dump ocurs. You have to use INSERT wa INTO TABLE itab when adding new lines to SORTED internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2007 08:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782701#M648665</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-09-15T08:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782702#M648666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do this mean insert does auto-sorting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 06:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782702#M648666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T06:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782703#M648667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, insert adds row at appropriate location&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 06:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782703#M648667</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2007-09-17T06:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782704#M648668</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;First of all you should try and understand the meaning of Append and Insert.&lt;/P&gt;&lt;P&gt;Append always adds a new line to the end of the internal table.If the table is empty,then it would add it as the first line.&lt;/P&gt;&lt;P&gt;Insert always inserts the row according to the sorting or if you have given any condition then accordingly.&lt;/P&gt;&lt;P&gt;Modify can play the role of either the Append or Insert depending on the type of the table.&lt;/P&gt;&lt;P&gt;Hence,if you try to use Append in a sorted table, it adds a new row at the end of the table and disturbs the sorting.Insert on the other hand includes the row at a place according to the sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you have any further clarifications,do let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Puneet Jhari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 06:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782704#M648668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T06:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782705#M648669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would modify play the role?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 06:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782705#M648669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T06:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782706#M648670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify can play the role of either the Append or Insert depending on the type of the table.&lt;/P&gt;&lt;P&gt;How would modify play the role?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 07:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782706#M648670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T07:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782707#M648671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify plays the role of either the append or insert only when we are dealing with the database tables.&lt;/P&gt;&lt;P&gt;If you try to use modify with the Transparent table ,then it would append the data if data does not exist already in the table OR if it already exists,then it will update the entries of that row with the data that you want it to have.&lt;/P&gt;&lt;P&gt;And if you use Insert with the Sorted tables,then the data would be inserted at the correct sorted place in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess,you might have got my point by now.&lt;/P&gt;&lt;P&gt;And if you still have any clarifications regarding this,it's better if you read help.sap.com and get it cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Puneet Jhari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 07:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782707#M648671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T07:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: runtime error in sorted itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782708#M648672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks everyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 12:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-in-sorted-itab/m-p/2782708#M648672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T12:50:11Z</dc:date>
    </item>
  </channel>
</rss>

