<?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: system variales in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467044#M554162</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 works only with in a LOOP statement.&lt;/P&gt;&lt;P&gt;Sy-tabix gives the currently processing record number of the internal table inside the loop. sy-index doesnot work inside the loop .. endloop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-tabix works only with the  Internal table operations..&lt;/P&gt;&lt;P&gt;sy-tabix always give the current processing record number in a particular internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-index works in processing loops.&lt;/P&gt;&lt;P&gt;sy-index gives the current loop pass number of the corresponding loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 05:56:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T05:56:36Z</dc:date>
    <item>
      <title>system variales</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467043#M554161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;     what is system variable to find the number of records in an internal table and what is the diff between sy-tabix and sy-index .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467043#M554161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T05:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: system variales</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467044#M554162</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 works only with in a LOOP statement.&lt;/P&gt;&lt;P&gt;Sy-tabix gives the currently processing record number of the internal table inside the loop. sy-index doesnot work inside the loop .. endloop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-tabix works only with the  Internal table operations..&lt;/P&gt;&lt;P&gt;sy-tabix always give the current processing record number in a particular internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sy-index works in processing loops.&lt;/P&gt;&lt;P&gt;sy-index gives the current loop pass number of the corresponding loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:56:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467044#M554162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T05:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: system variales</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467045#M554163</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; system variable to find the number of records in an internal table  - sy-tabix or sy-dbcnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TABIX means Table Index. This signifies the number of table index. Each row of a table has certain index or counter. The value of sy-tabix for the last entry would be equivalent to number of table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-INDEX means the number of Iterations for a loop. bascially DO - ENDO .&lt;/P&gt;&lt;P&gt;SY-INDEX is not equal to SY-TABIX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the belwo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report tabix_index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 100 times.&lt;/P&gt;&lt;P&gt;wa_tab-index = sy-index.&lt;/P&gt;&lt;P&gt;append wa_tab to itab.&lt;/P&gt;&lt;P&gt;clear wa_tab.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_tab.&lt;/P&gt;&lt;P&gt;write:/1 sy-tabix.&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;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467045#M554163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T05:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: system variales</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467046#M554164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;describe table itab lines N.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE is the statement which gives the number of records of an internal table&lt;/P&gt;&lt;P&gt;N returns the number of records of an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please close all your threads by assigning points to the useful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467046#M554164</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-02T05:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: system variales</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467047#M554165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SYDBCNT will have the number of records in Itab and also u can use..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Describe table itab.&lt;/P&gt;&lt;P&gt;l_Var1 = sy-tfill..&lt;/P&gt;&lt;P&gt;This also will guive u the total records.&lt;/P&gt;&lt;P&gt;Sy-Tabix will have the index of the record which is coming in the itab.&lt;/P&gt;&lt;P&gt;Loop at itab.&lt;/P&gt;&lt;P&gt;SY-TABIX will have the index of the loop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 05:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467047#M554165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T05:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: system variales</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467048#M554166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;           The system variable which is used to find the no of records in internal table is  sy-tfill..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;describe itab .&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;n = sy-tfill.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bhaskar rao.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 06:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variales/m-p/2467048#M554166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T06:01:09Z</dc:date>
    </item>
  </channel>
</rss>

