<?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 Variable For Internal table count in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397578#M815809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;STRONG&gt;DESCRIBE&lt;/STRONG&gt; statemenmt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DESCRIBE TABLE itab LINES n.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here, n will give the numbmer of records in theinternal table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 06:56:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T06:56:18Z</dc:date>
    <item>
      <title>System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397575#M815806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody tell me what the system variable for internal table count?&lt;/P&gt;&lt;P&gt;I just wants to know how many recoreds are there in my internal table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;pandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397575#M815806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397576#M815807</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;Use the command describe table itab lines n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397576#M815807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397577#M815808</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.&lt;/P&gt;&lt;P&gt;or use describe table.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_vendor LINES v_totalrec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jyothsna M on Feb 21, 2008 7:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397577#M815808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397578#M815809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;STRONG&gt;DESCRIBE&lt;/STRONG&gt; statemenmt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DESCRIBE TABLE itab LINES n.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here, n will give the numbmer of records in theinternal table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397578#M815809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397579#M815810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-TABIX&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;Edited by: Alvaro Tejada Galindo on Feb 21, 2008 4:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397579#M815810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397580#M815811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check sy-dbcnt .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data :lv_no type i .&lt;/P&gt;&lt;P&gt;Desrcribe table itab lines lv_no .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397580#M815811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397581#M815812</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;DESCRIBE TABLE itab LINES v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pavan t.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397581#M815812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397582#M815813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&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. It is set  only for index tables. The field is either not set or is set to 0 for hashed tables. It iset by ABAP commands APPEND,COLLECT,LOOP AT,READ TABLE,SAERCH itab FOR .&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;Database Access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-DBCNT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It contains  the number of table entries processed. In an  loop it  is not set until after the ENDSELECT or ENDEXEC statement.  It is set by ABAP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 06:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397582#M815813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T06:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397583#M815814</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;DESCRIBE TABLE &amp;lt;itab&amp;gt; [LINES &amp;lt;l&amp;gt;] [OCCURS &amp;lt;n&amp;gt;] [KIND &amp;lt;k&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the LINES parameter, the number of filled lines is written to the variable &amp;lt;lin&amp;gt;. If parameter, the you use the OCCURS value of the INITIAL SIZE of the table is returned to the variable &amp;lt;n&amp;gt;. If you use the KIND parameter, the table type is returned to the variable &amp;lt;k&amp;gt;: &amp;#145;T&amp;#146; for standard table, &amp;#145;S&amp;#146; for sorted table, and &amp;#145;H&amp;#146; for hashed table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using variable &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;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3798358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3798358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&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;Edited by: Alvaro Tejada Galindo on Feb 21, 2008 4:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 07:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397583#M815814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T07:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397584#M815815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all,&lt;/P&gt;&lt;P&gt;But dint get the solution. my problem is , i have in internal table and in that i  have data . i have created one more fields in the same internal table , and i have to return total no of records to that field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody help me pls..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;pandu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397584#M815815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397585#M815816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To find out the attributes of an internal table at runtime that were not available statically, use the statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE &amp;lt;itab&amp;gt; [LINES &amp;lt;l&amp;gt;] [OCCURS &amp;lt;n&amp;gt;] [KIND &amp;lt;k&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the LINES parameter, the number of filled lines is written to the variable &amp;lt;lin&amp;gt;. If you use the OCCURS parameter, the value of the INITIAL SIZE of the table is returned to the variable &amp;lt;n&amp;gt;. If you use the KIND parameter, the table type is returned to the variable &amp;lt;k&amp;gt;: &amp;#145;T&amp;#146; for standard table, &amp;#145;S&amp;#146; for sorted table, and &amp;#145;H&amp;#146; for hashed table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA RECS TYPE I.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE &amp;lt;ITAB&amp;gt; LINES RECS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397585#M815816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397586#M815817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u for ur reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is iam working for BAPI, i got that no. of records while debugging, but iam iam not gettimg in the out put.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually i have written the query like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr&lt;/P&gt;&lt;P&gt;          werks&lt;/P&gt;&lt;P&gt;          maabc form marc into table itab where mabbc &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;describe table itab lines itba-tot_num_rec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can pls tell me y iam not getting the value in bapi output?&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;pandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397586#M815817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397587#M815818</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;use this staement for getting total number of records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE itab LINES v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regrds&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397587#M815818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: System Variable For Internal table count</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397588#M815819</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;not sure whether this solves the problem or not.&lt;/P&gt;&lt;P&gt;create a new variable for the number of lines and assign it to the field in itab.&lt;/P&gt;&lt;P&gt;pls make sure that you are APPENDing the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;teja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 10:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/system-variable-for-internal-table-count/m-p/3397588#M815819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T10:17:36Z</dc:date>
    </item>
  </channel>
</rss>

