<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079247#M730256</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;Sy-tabix maintain effected row in internal table.&lt;/P&gt;&lt;P&gt;sy-index maintain index of DO loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L.Velu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2007 11:31:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-30T11:31:49Z</dc:date>
    <item>
      <title>Modify statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079245#M730254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;Pleae can anybody expalins me what is the difference between sy-tabix and sy-index(Loop Index) ?&lt;/P&gt;&lt;P&gt;because in one case i am Modifyimg the internal table inside the do loop by giving sy-index ((Index of Internal Tables)(MODIFY scarr_tab INDEX sy-index FROM scarr_wa &lt;/P&gt;&lt;P&gt;       TRANSPORTING currcode. )  in the syntax&lt;/P&gt;&lt;P&gt;and in other case inside loop statement i am modifyng same record by giving sy-tabix MODIFY scarr_tab INDEX  sy-tabix FROM scarr_wa &lt;/P&gt;&lt;P&gt;       TRANSPORTING currcode.) in the syntax.&lt;/P&gt;&lt;P&gt;in both case its working fine but i am not getting which one i have to use  where to modify the internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 11:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079245#M730254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T11:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079246#M730255</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;generaly in DO loops we use sy-index and when we LOOP the internal tables then we use sy-tabix..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below link also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1826973"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 11:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079246#M730255</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-11-30T11:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079247#M730256</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;Sy-tabix maintain effected row in internal table.&lt;/P&gt;&lt;P&gt;sy-index maintain index of DO loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L.Velu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 11:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079247#M730256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T11:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079248#M730257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;sy-tabix ---&amp;gt; &lt;/P&gt;&lt;P&gt;  Current line in an internal table. With the following statements SY-TABIX is set for index tables. With hashed tables, SY-TABIX is not filled or it is set to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        APPEND sets SY-TABIX to the index of the last table row, that is the total number of entries in the target table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        COLLECT sets SY-TABIX to the index of the existing or appended table row. With hashed tables, SY-TABIX is set to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        LOOP AT sets SY-TABIX to the index of the current table row at the beginning of every loop pass. After leaving a loop, SY-TABIX is set to the value it had before entering the loop. With hashed tables, SY-TABIX is set to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        READ TABLE sets SY-TABIX to the index of the table row read. If no row is found with binary search while reading, SY-TABIX contains the index of the next-highest row or the total number of rows +1. If no row is found with linear search while reading, SY-TABIX is undefined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        SEARCH  &lt;/P&gt;&lt;P&gt;  Sy-index Contains the number of loop passes in DO and WHILE loops, including the current loop pass.&lt;/P&gt;&lt;P&gt;that is if 1 st time loop processing it is 1 if second time it is 2 etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward if help,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 11:36:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079248#M730257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T11:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079249#M730258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi nagraj,&lt;/P&gt;&lt;P&gt;you want to say that in order to modify the internal table inside loop statement then i need to use sy-tabix and inorder to modify the internal table inside the do loop then i need to use sy-index.&lt;/P&gt;&lt;P&gt;is it ryt?&lt;/P&gt;&lt;P&gt;is it the same thing which you want to say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Priyalatha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 11:38:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079249#M730258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T11:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079250#M730259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;aye you got it! thats exactly what he wanted to tell yah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 11:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079250#M730259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T11:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Modify statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079251#M730260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2007 12:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-statement/m-p/3079251#M730260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-30T12:09:14Z</dc:date>
    </item>
  </channel>
</rss>

