<?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: Modify statement not working properly inside the loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322977#M1728489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to add keyword TRANSPORTING on the MODIFY command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY itab from WA index sy-tabix TRANSPORTING field1 field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make sure the MODIFY command is executed inside the loop.&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;Oki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 06:48:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-20T06:48:49Z</dc:date>
    <item>
      <title>Modify statement not working properly inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322973#M1728485</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My internal table is having 6 fields among them 4 fields are filled with some values and i need to fill the other 2 fields using filled fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i am looping the internal table into work area and filling the remaining 2 fields using 'MODIFY' and Sy-TABIX commond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute in debugging mode the empty 2 fields are filling in to the corresponding row properly, but when i loop the internal table after filling all empty fields of each row, the values are getting interchanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used MODIFY itab from WA index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not getting a clue why the calculated values are getting inter changed??????????? plz suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Harish &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 05:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322973#M1728485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-20T05:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement not working properly inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322974#M1728486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be better to understand the problem if you paste your code snippet here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santanu Mohapatra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 06:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322974#M1728486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-20T06:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement not working properly inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322975#M1728487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi harish,&lt;/P&gt;&lt;P&gt;while looping your internal table itself you do one thing,&lt;/P&gt;&lt;P&gt;data : int type i.&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;int = sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the changes &lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;modify itab from wa index int.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this will work&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;Vinoth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 06:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322975#M1728487</guid>
      <dc:creator>vinoth_aruldass</dc:creator>
      <dc:date>2013-02-20T06:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement not working properly inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322976#M1728488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you use a field-symbol? Then, you won't have to use the MODIFY statement at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOOP AT itab ASSIGNING &amp;lt;field-symbol&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 06:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322976#M1728488</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-02-20T06:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement not working properly inside the loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322977#M1728489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to add keyword TRANSPORTING on the MODIFY command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY itab from WA index sy-tabix TRANSPORTING field1 field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make sure the MODIFY command is executed inside the loop.&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;Oki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 06:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement-not-working-properly-inside-the-loop/m-p/9322977#M1728489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-20T06:48:49Z</dc:date>
    </item>
  </channel>
</rss>

