<?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: insertion dump in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insertion-dump/m-p/3461720#M831796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add 'index sy-tabix ' in ur modify statement and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always use explicit workarea. Will enhance ur performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Feb 2008 07:19:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-29T07:19:31Z</dc:date>
    <item>
      <title>insertion dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insertion-dump/m-p/3461719#M831795</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;i m getting the following dump when i try 2 run the given block of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the relevant abap/4 statement does not include the addition '..index..' although the statement is not in inside a loop...endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab_schedule is my table control internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab_Schedule.&lt;/P&gt;&lt;P&gt;modify itab_schedule_sort from itab_schedule transporting ebelp etenr&lt;/P&gt;&lt;P&gt;menge eindt  .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;  sort itab_schedule_sort by ebelp.&lt;/P&gt;&lt;P&gt;   loop at itab_schedule_sort.&lt;/P&gt;&lt;P&gt;   at new ebelp.&lt;/P&gt;&lt;P&gt;      sum.&lt;/P&gt;&lt;P&gt;      temp_quant = itab_schedule_sort-menge.&lt;/P&gt;&lt;P&gt;      loop at itab_lineitems into wa_itab_lineitems.&lt;/P&gt;&lt;P&gt;          if itab_Schedule_sort-ebelp eq wa_itab_lineitems-v_Itemno.&lt;/P&gt;&lt;P&gt;             temp_quant_line = wa_itab_lineitems-v_quantity.&lt;/P&gt;&lt;P&gt;             if temp_quant_line ne temp_quant.&lt;/P&gt;&lt;P&gt;                message i012(zgroup16_message).&lt;/P&gt;&lt;P&gt;             else.&lt;/P&gt;&lt;P&gt;                save_Schedule = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             endif.&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;   endat.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 07:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insertion-dump/m-p/3461719#M831795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T07:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: insertion dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insertion-dump/m-p/3461720#M831796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add 'index sy-tabix ' in ur modify statement and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always use explicit workarea. Will enhance ur performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 07:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insertion-dump/m-p/3461720#M831796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T07:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: insertion dump</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insertion-dump/m-p/3461721#M831797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranjal,&lt;/P&gt;&lt;P&gt;I agree with Ramya: if the internal table you want to modify is not being LOOPed, then you should &lt;STRONG&gt;always&lt;/STRONG&gt; use an INDEX addition.&lt;/P&gt;&lt;P&gt;Please have a look at the ABAP/4 doc:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variant 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MODIFY itab \[FROM wa\] \[INDEX idx\] \[TRANSPORTING f1 ... fn\]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Effect&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Changes a single entry in the internal table &lt;STRONG&gt;itab&lt;/STRONG&gt;, specifying the key explicitly or implicitly. You can only use this variant with index table (standard or sorted tables). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you specify "&lt;STRONG&gt;FROM wa&lt;/STRONG&gt;", the new values are taken from the work area &lt;STRONG&gt;wa&lt;/STRONG&gt;. If you do not specify &lt;STRONG&gt;FROM&lt;/STRONG&gt;, the header line of &lt;STRONG&gt;itab&lt;/STRONG&gt; is used as the work area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use "&lt;STRONG&gt;INDEX idx&lt;/STRONG&gt;" to specify the table index of the line you want to change. &lt;U&gt;This may be omitted within a &lt;STRONG&gt;LOOP&lt;/STRONG&gt; at an internal table&lt;/U&gt;. In this case, the current table line is changed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I hope this helps. Best regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 07:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insertion-dump/m-p/3461721#M831797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-29T07:43:19Z</dc:date>
    </item>
  </channel>
</rss>

