<?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: DIFFERENCE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007787#M957430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;sy-tabix = it gives index of internal tables.&lt;/P&gt;&lt;P&gt;sy-index =  index in loop and endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 12:29:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-16T12:29:31Z</dc:date>
    <item>
      <title>DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007785#M957428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the difference between SY-TABIX and SY-INDex.please explain in brief?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007785#M957428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007786#M957429</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 is used to find the current line in the internal table; itu2019s a current line index. &lt;/P&gt;&lt;P&gt;Whereas &lt;/P&gt;&lt;P&gt;Sy-index in used to find the number of current pass in the loop statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;preet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Aug 26, 2008 12:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007786#M957429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007787#M957430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;sy-tabix = it gives index of internal tables.&lt;/P&gt;&lt;P&gt;sy-index =  index in loop and endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007787#M957430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007788#M957431</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 is used as the index of an internal table, which means that each time thru the LOOP it is incremented by 1. Simularly.&lt;/P&gt;&lt;P&gt;sy-tabix - counter for LOOP-ENDLOOP, READ TABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-INDEX is incremented each time thru the loop of a DO loop. If you want to count the number of internal table records, you can use the DESCRIBE TABLE statement&lt;/P&gt;&lt;P&gt;sy-index - counter for DO-ENDO, WHILE-ENDWHILE&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; Naresh,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007788#M957431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007789#M957432</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: NO of record in the internal table&lt;/P&gt;&lt;P&gt;Sy-index: index number of record which is currently executed.&lt;/P&gt;&lt;P&gt;eg: itab contains values 1 to 10.&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab.&lt;/P&gt;&lt;P&gt;write: wa_itab-field1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;suppose if the loop is getting executed for the 3rd time, then the sy-index will store the value as 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab into wa_itab where field1 = 3.&lt;/P&gt;&lt;P&gt;after execution of this statement, the value of sy-index will be 3.&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;- Rishika Bawa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007789#M957432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007790#M957433</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;Please search in SDN there are many threads related to same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007790#M957433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007791#M957434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-tabix: is for how many line rows is fatched from data base.&lt;/P&gt;&lt;P&gt;              wht ever the succecfull rows retrived is the value of sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-index: is for the total no of records in a perticular table.&lt;/P&gt;&lt;P&gt;              it is like srno.&lt;/P&gt;&lt;P&gt;              basically the last row no is the value of sy-index.&lt;/P&gt;&lt;P&gt;i hope your problem.&lt;/P&gt;&lt;P&gt;is now solve.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Aug 26, 2008 12:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007791#M957434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007792#M957435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not answered yet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:31:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007792#M957435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007793#M957436</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 is used as the index of an internal table, which means that each time thru the LOOP it is incremented by 1. Simularly.&lt;/P&gt;&lt;P&gt;sy-tabix - counter for LOOP-ENDLOOP, READ TABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-INDEX is incremented each time thru the loop of a DO loop. If you want to count the number of internal table records, you can use the DESCRIBE TABLE statement&lt;/P&gt;&lt;P&gt;sy-index - counter for DO-ENDO, WHILE-ENDWHILE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .&lt;/P&gt;&lt;P&gt;Naresh,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:33:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007793#M957436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: DIFFERENCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007794#M957437</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-INDEX : *&lt;/P&gt;&lt;P&gt;In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SY-TABIX : *&lt;/P&gt;&lt;P&gt;Current line of an internal table. SY-TABIX is set by the statements below, but only for index&lt;/P&gt;&lt;P&gt;tables. The field is either not set or is set to 0 for hashed tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;APPEND&lt;/STRONG&gt; sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;COLLECT&lt;/STRONG&gt; sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;LOOP AT&lt;/STRONG&gt; sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;READ TABLE&lt;/STRONG&gt; sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one&lt;/P&gt;&lt;P&gt;more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;SEARCH&lt;/STRONG&gt; &amp;lt;itab&amp;gt; FOR sets SY-TABIX to the index of the table line in which the search string is found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will give u a clear idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanashri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Aug 26, 2008 12:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference/m-p/4007794#M957437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:34:30Z</dc:date>
    </item>
  </channel>
</rss>

