<?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 variables help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958442#M394228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-TABIX - Current int table index,&lt;/P&gt;&lt;P&gt;SY-LILLI - Current line in list&lt;/P&gt;&lt;P&gt;sy-lisel - selected line in list processing&lt;/P&gt;&lt;P&gt;sy-tfill - no of line in internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2007 10:16:57 GMT</pubDate>
    <dc:creator>alex_m</dc:creator>
    <dc:date>2007-03-02T10:16:57Z</dc:date>
    <item>
      <title>system variables help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958438#M394224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys can u plz explain to me d use of sy-tabix,sy-lilli,sy-lisel,sy-tfill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wid d help of seperate coding ....dont gimme a huge thing...just need a small 5-6 lines code just to understand how it can be used in programs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958438#M394224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: system variables help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958439#M394225</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 - Internal Table, Current Line Index&lt;/P&gt;&lt;P&gt;sy-LILLI   List processing, current list line&lt;/P&gt;&lt;P&gt;sy-lisel  List processing, contents of selected line&lt;/P&gt;&lt;P&gt;sy-tfill  Internal tables, current number of lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example on sytabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;     write:/ sy-tabix. ( it will start printing from 1 )&lt;/P&gt;&lt;P&gt;     endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; describe table itab lines sy-tfill.(sy-tfill contains teh no of recors fetched present in iatb)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958439#M394225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: system variables help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958440#M394226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abour sy-tabix,sy-lilli,sy-lisel,sy-tfill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TABIX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current line of an internal table. SY-TABIX is set by the statements below, but only for index 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;APPEND 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;COLLECT 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;LOOP AT 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;READ TABLE 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 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;SEARCH &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;&lt;/P&gt;&lt;P&gt;SY-LILLI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line at which the event was triggered. The counter begins at 1 and includes the page header. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LISEL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contents of the line in which the event was triggered (restricted to the first 255 characters). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TFILL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, SY-TFILL contains the number of lines in the relevant internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont forget to award points if found helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can check this similar thread too&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="45599"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:13:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958440#M394226</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-03-02T10:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: system variables help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958441#M394227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sy-tabix: Index for internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-field = 1.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-field = 2.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write:/ sy-tabix.  "Will have the current loop pass number&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;The output will be &lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the DEMO Program:  demo_list_system_fields in se38.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958441#M394227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: system variables help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958442#M394228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-TABIX - Current int table index,&lt;/P&gt;&lt;P&gt;SY-LILLI - Current line in list&lt;/P&gt;&lt;P&gt;sy-lisel - selected line in list processing&lt;/P&gt;&lt;P&gt;sy-tfill - no of line in internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958442#M394228</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2007-03-02T10:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: system variables help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958443#M394229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this may help u,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables spfli.&lt;/P&gt;&lt;P&gt;data t_spfli like standard table of spfli.&lt;/P&gt;&lt;P&gt;select * from spfli into table t_spfli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli into spfli where carrid eq 'AZ'.&lt;/P&gt;&lt;P&gt;  write:/ sy-index,sy-tabix,sy-tfill.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;  write:/ 'Current line number:' ,sy-lilli,&lt;/P&gt;&lt;P&gt;        / 'Contents of line : ' ,sy-lisel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variables-help/m-p/1958443#M394229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:25:28Z</dc:date>
    </item>
  </channel>
</rss>

