<?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: sy-tabix use in program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-tabix-use-in-program/m-p/3462508#M832001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever you use LOOP ...... ENDLOOP statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value of sy-tabix changes...&lt;/P&gt;&lt;P&gt;for first record, its 1 and so on.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever you use a read statement....&lt;/P&gt;&lt;P&gt;sy-tabix contains the number of record which is read from the table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;situation can be different for different requirements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically it contains the index of the record which is used..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use it to number your records.. like 1 for first and 2 for second... etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sumeet  Maheshwari on Feb 27, 2008 8:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2008 19:30:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-27T19:30:19Z</dc:date>
    <item>
      <title>sy-tabix use in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-tabix-use-in-program/m-p/3462507#M832000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When we use sy-tabix in a program.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;a perticular use??? situation use please..&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;venu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 19:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-tabix-use-in-program/m-p/3462507#M832000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T19:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: sy-tabix use in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-tabix-use-in-program/m-p/3462508#M832001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever you use LOOP ...... ENDLOOP statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value of sy-tabix changes...&lt;/P&gt;&lt;P&gt;for first record, its 1 and so on.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever you use a read statement....&lt;/P&gt;&lt;P&gt;sy-tabix contains the number of record which is read from the table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;situation can be different for different requirements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically it contains the index of the record which is used..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use it to number your records.. like 1 for first and 2 for second... etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sumeet  Maheshwari on Feb 27, 2008 8:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 19:30:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-tabix-use-in-program/m-p/3462508#M832001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T19:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: sy-tabix use in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sy-tabix-use-in-program/m-p/3462509#M832002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;SY-TABIX&lt;/STRONG&gt; is used to define the iteration with in the internal table like between LOOP AT &amp;amp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SY-TABIX&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the LOOP statement to process special loops for any internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;itab&amp;gt; &amp;lt;result&amp;gt; &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;statement block&amp;gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This reads the lines of the table one by one as specified in the &amp;lt;result&amp;gt; part of the LOOP statement. You can then process them in the statements within the LOOP... ENDLOOP control structure. You can either run the loop for all entries in the internal table, or restrict the number of lines read by specifying a &amp;lt;condition&amp;gt;. Control level processing is allowed within the loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sequence in which the lines are processed depends on the table type: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Standard tables and sorted tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The lines are processed according to the linear index. Within the processing block, the system field SY-TABIX contains the index of the current line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hashed tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As long as the table has not been sorted, the lines are processed in the order in which you added them to the table. Within the processing block, the system field SY-TABIX is always 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 20:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sy-tabix-use-in-program/m-p/3462509#M832002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T20:25:57Z</dc:date>
    </item>
  </channel>
</rss>

