<?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 modify table record inside the loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569826#M257293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umesh,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_bsisbsas.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;idx = sy-tabix.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad6&lt;/P&gt;&lt;P&gt;WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad6-maber.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY t_bsisbsas TRANSPORTING maber kunnr index idx.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CLEAR t_bsisbsas.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad_ob6&lt;/P&gt;&lt;P&gt;WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad_ob6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad_ob6-maber.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY t_bsisbsas TRANSPORTING maber kunnr index idx.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CLEAR t_bsisbsas.&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;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2006 09:36:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-13T09:36:36Z</dc:date>
    <item>
      <title>How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569820#M257287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a problem which is to be solved urgently.&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;I am using hashed table (which i should), and i am in the loop. for some records i have to modify the records in the table. but while i am calling modify it is going to dump.&lt;/P&gt;&lt;P&gt;the code is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT t_bsisbsas.&lt;/P&gt;&lt;P&gt;        READ TABLE t_bsidbsad6&lt;/P&gt;&lt;P&gt;          WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;                   gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;                   belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;        IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;          t_bsisbsas-kunnr = t_bsidbsad6-kunnr.&lt;/P&gt;&lt;P&gt;          t_bsisbsas-maber = t_bsidbsad6-maber.&lt;/P&gt;&lt;P&gt;          MODIFY t_bsisbsas TRANSPORTING maber kunnr.&lt;/P&gt;&lt;P&gt;          CLEAR t_bsisbsas.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          READ TABLE t_bsidbsad_ob6&lt;/P&gt;&lt;P&gt;            WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;                     gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;                     belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;          IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;            t_bsisbsas-kunnr = t_bsidbsad_ob6-kunnr.&lt;/P&gt;&lt;P&gt;            t_bsisbsas-maber = t_bsidbsad_ob6-maber.&lt;/P&gt;&lt;P&gt;            MODIFY t_bsisbsas TRANSPORTING maber kunnr.&lt;/P&gt;&lt;P&gt;            CLEAR t_bsisbsas.&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;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Umesh Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569820#M257287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569821#M257288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)READ TABLE t_bsidbsad6&lt;/P&gt;&lt;P&gt; WITH &amp;lt;b&amp;gt;table&amp;lt;/b&amp;gt; KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;note.---&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;HASHED table will not differ in anyway id doing any operations on the table as compared to a standard table. The difference lies in when you have a READ statement the system internally uses a HASH key which will improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use like thta..&lt;/P&gt;&lt;P&gt;ex...&lt;/P&gt;&lt;P&gt;read table i_droplist &lt;/P&gt;&lt;P&gt;with table key gpart = p_gpart&lt;/P&gt;&lt;P&gt;vkont = p_vkont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569821#M257288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569822#M257289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kishan,&lt;/P&gt;&lt;P&gt;i want to modify the record for which  i am in a loop.&lt;/P&gt;&lt;P&gt;please look at code , where i have put "modify".&lt;/P&gt;&lt;P&gt;I am getting dump at there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Umesh Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:34:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569822#M257289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569823#M257290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change the modify statement like this and try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODIFY &amp;lt;b&amp;gt;table&amp;lt;/b&amp;gt; t_bsisbsas TRANSPORTING maber kunnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569823#M257290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569824#M257291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Umesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u r modifying an hashed table u should not use key tables in the transportation addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You may not use a key field as a TRANSPORTING field with HASHED or SORTED tables.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569824#M257291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569825#M257292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; you have to use where condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY itab  TRANSPORTING f1 ... fn WHERE cond.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569825#M257292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569826#M257293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umesh,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_bsisbsas.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;idx = sy-tabix.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad6&lt;/P&gt;&lt;P&gt;WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad6-maber.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY t_bsisbsas TRANSPORTING maber kunnr index idx.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CLEAR t_bsisbsas.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad_ob6&lt;/P&gt;&lt;P&gt;WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad_ob6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad_ob6-maber.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY t_bsisbsas TRANSPORTING maber kunnr index idx.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CLEAR t_bsisbsas.&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;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569826#M257293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569827#M257294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT t_bsisbsas.
READ TABLE t_bsidbsad6
WITH table KEY bukrs = t_bsisbsas-bukrs
gjahr = t_bsisbsas-gjahr
belnr = t_bsisbsas-belnr.
IF sy-subrc EQ 0.
t_bsisbsas-kunnr = t_bsidbsad6-kunnr.
t_bsisbsas-maber = t_bsidbsad6-maber.
MODIFY table t_bsisbsas TRANSPORTING maber kunnr.
CLEAR t_bsisbsas.
ELSE.
READ TABLE t_bsidbsad_ob6
WITH table  KEY bukrs = t_bsisbsas-bukrs
gjahr = t_bsisbsas-gjahr
belnr = t_bsisbsas-belnr.
IF sy-subrc EQ 0.
t_bsisbsas-kunnr = t_bsidbsad_ob6-kunnr.
t_bsisbsas-maber = t_bsidbsad_ob6-maber.
MODIFY table t_bsisbsas TRANSPORTING maber kunnr.
CLEAR t_bsisbsas.
ENDIF.
ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569827#M257294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569828#M257295</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;chnage ur code like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_bsisbsas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad6&lt;/P&gt;&lt;P&gt;WITH &amp;lt;b&amp;gt;TABLE&amp;lt;/b&amp;gt; KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad6-maber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad_ob6&lt;/P&gt;&lt;P&gt;WITH &amp;lt;b&amp;gt;TABLE&amp;lt;/b&amp;gt; KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad_ob6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad_ob6-maber.&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;&lt;/P&gt;&lt;P&gt;MODIFY t_bsisbsas TRANSPORTING maber kunnr.&lt;/P&gt;&lt;P&gt;CLEAR t_bsisbsas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569828#M257295</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-13T09:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569829#M257296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi umesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Minor mistake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The problem is with tabix,&lt;/P&gt;&lt;P&gt;   which gets modified with the latest value,&lt;/P&gt;&lt;P&gt;   when READ is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. so do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA : TABIX LIKE SY-TABIX.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_bsisbsas.&lt;/P&gt;&lt;P&gt;TABIX = SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******&lt;/P&gt;&lt;P&gt;MODIFY t_bsisbsas &amp;lt;b&amp;gt;INDEX TABIX.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;******&lt;/P&gt;&lt;P&gt;MODIFY t_bsisbsas &amp;lt;b&amp;gt;INDEX TABIX.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569829#M257296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569830#M257297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  LOOP AT t_bsisbsas.&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad6&lt;/P&gt;&lt;P&gt;WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad6-maber.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY t_bsisbsas .&amp;lt;/b&amp;gt;CLEAR t_bsisbsas.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;READ TABLE t_bsidbsad_ob6&lt;/P&gt;&lt;P&gt;WITH KEY bukrs = t_bsisbsas-bukrs&lt;/P&gt;&lt;P&gt;gjahr = t_bsisbsas-gjahr&lt;/P&gt;&lt;P&gt;belnr = t_bsisbsas-belnr.&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;t_bsisbsas-kunnr = t_bsidbsad_ob6-kunnr.&lt;/P&gt;&lt;P&gt;t_bsisbsas-maber = t_bsidbsad_ob6-maber.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MODIFY t_bsisbsas .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;CLEAR t_bsisbsas.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   use modify itab index sy-tabix.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569830#M257297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569831#M257298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;but i am using hashed table as i mentioned.&lt;/P&gt;&lt;P&gt;i got the solution.&lt;/P&gt;&lt;P&gt;I have to use &lt;/P&gt;&lt;P&gt;"modify table &amp;lt;tab_name&amp;gt; from &amp;lt;wa&amp;gt; transporting f1,..fn"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer&lt;/P&gt;&lt;P&gt;Umesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569831#M257298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569832#M257299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amit for your answer.&lt;/P&gt;&lt;P&gt;But I am using hashed table, where you cant use explicit/implicit index mechanism.&lt;/P&gt;&lt;P&gt;I got the answer from chandrashekar jagarlamudi.&lt;/P&gt;&lt;P&gt;i have to use &lt;/P&gt;&lt;P&gt;"modify table &amp;lt;tab_name&amp;gt; from &amp;lt;wa&amp;gt; transporting f1,...fn."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Umesh Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569832#M257299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify table record inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569833#M257300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amole for your answer.&lt;/P&gt;&lt;P&gt;But I am using hashed table, where you cant use explicit/implicit index mechanism.&lt;/P&gt;&lt;P&gt;I got the answer from chandrashekar jagarlamudi.&lt;/P&gt;&lt;P&gt;i have to use &lt;/P&gt;&lt;P&gt;"modify table &amp;lt;tab_name&amp;gt; from &amp;lt;wa&amp;gt; transporting f1,...fn."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Umesh Vaidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 09:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-table-record-inside-the-loop/m-p/1569833#M257300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T09:49:47Z</dc:date>
    </item>
  </channel>
</rss>

