<?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: dump in ecc 6 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305096#M1026522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot APPEND to a SORTED table, you have to use INSERT ... INTO TABLE ... instead.&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>Wed, 06 Aug 2008 15:39:07 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-08-06T15:39:07Z</dc:date>
    <item>
      <title>dump in ecc 6</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305095#M1026521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one of our old program having issue when it runs&lt;/P&gt;&lt;P&gt;I have an internal tabe called iI_ORDERS. then decleard like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: I_ORDERS99 LIKE SORTED TABLE OF I_ORDERS&lt;/P&gt;&lt;P&gt;           WITH NON-UNIQUE KEY VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after one select statement, give like this&lt;/P&gt;&lt;P&gt;  APPEND I_ORDERS TO I_ORDERS99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but getting dump says&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A line is to be inserted or changed at position 36 in the sorted&lt;/P&gt;&lt;P&gt;internal table (type SORTED_TABLE)&lt;/P&gt;&lt;P&gt; "\PROGRAM=ZRSD_ODERS_WITHOUT_DELV\DATA=I_ORDERS99".&lt;/P&gt;&lt;P&gt;In doing so, the sorting sequence - determined by the table key - was&lt;/P&gt;&lt;P&gt;destroyed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea, who can I correct this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 15:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305095#M1026521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T15:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: dump in ecc 6</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305096#M1026522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you cannot APPEND to a SORTED table, you have to use INSERT ... INTO TABLE ... instead.&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>Wed, 06 Aug 2008 15:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305096#M1026522</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-08-06T15:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: dump in ecc 6</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305097#M1026523</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;Can you please post u r code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hw is i_orders declared.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is I_orders a work area????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 15:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305097#M1026523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T15:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: dump in ecc 6</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305098#M1026524</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;It means y're appending the records without to respect the sorting: try to replace APPEND statament with INSERT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*APPEND I_ORDERS TO I_ORDERS99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT I_ORDERS INTO TABLE  I_ORDERS99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 15:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305098#M1026524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T15:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: dump in ecc 6</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305099#M1026525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF I_ORDERS,&lt;/P&gt;&lt;P&gt;        VBELN     LIKE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;        POSNR     LIKE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;        ZZIHREZ_E LIKE VBKD-IHREZ_E,&lt;/P&gt;&lt;P&gt;        KUNNR     LIKE VBAK-KUNNR,&lt;/P&gt;&lt;P&gt;        K_NAME(50),&lt;/P&gt;&lt;P&gt;        CLIENT    LIKE VBAK-KUNNR,&lt;/P&gt;&lt;P&gt;        C_NAME(50),&lt;/P&gt;&lt;P&gt;        MATNR     LIKE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;        M_NAME(35),&lt;/P&gt;&lt;P&gt;        ZZWERKS   LIKE VBAP-WERKS,&lt;/P&gt;&lt;P&gt;        ERDAT     LIKE VBAK-ERDAT,&lt;/P&gt;&lt;P&gt;        VDATU     LIKE VBAK-VDATU,&lt;/P&gt;&lt;P&gt;        ERNAM     LIKE VBAK-ERNAM,&lt;/P&gt;&lt;P&gt;        KWMENG    LIKE VBAP-KWMENG,&lt;/P&gt;&lt;P&gt;        PRODH     LIKE VBAP-PRODH,&lt;/P&gt;&lt;P&gt;        NETWR     LIKE VBAP-NETWR,&lt;/P&gt;&lt;P&gt;        REJ(15),&lt;/P&gt;&lt;P&gt;      END OF I_ORDERS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the use of  declaring like sorted tables, instad of that, at end of all the selection and update, sort that internal table by vbeln is enough?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: I_ORDERS99 LIKE SORTED TABLE OF I_ORDERS&lt;/P&gt;&lt;P&gt;           WITH NON-UNIQUE KEY VBELN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 15:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305099#M1026525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T15:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: dump in ecc 6</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305100#M1026526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi for the sorted tables no need to use the sort command .&lt;/P&gt;&lt;P&gt;sorted table means itself is sorted by definition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 16:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305100#M1026526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: dump in ecc 6</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305101#M1026527</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;It's usually used to improve the performance if the internal table can have a very large number of hits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it uses a SORTED TABLE the record is inserted in the internal table in according to the sorting way, after inserting it the system creates an index to be used for reading, in your case a index for field VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U should also consider the SORT statament needs memory space and this space is defined by system variables and it couldn't be enough for very big table, in this case a dump occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 16:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-in-ecc-6/m-p/4305101#M1026527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T16:06:52Z</dc:date>
    </item>
  </channel>
</rss>

