<?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 Reading table S026 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477446#M223760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a faster way to read table S026(material consumptions table)? My select statement is as follows but it takes too much time to read. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select s026&lt;SUB&gt;matnr s026&lt;/SUB&gt;werks s026~mcomp&lt;/P&gt;&lt;P&gt;    into (s026-matnr, s026-werks, s026-mcomp)&lt;/P&gt;&lt;P&gt;    from s026 client specified&lt;/P&gt;&lt;P&gt;    where vrsio = '000' and&lt;/P&gt;&lt;P&gt;          ssour = space and&lt;/P&gt;&lt;P&gt;          mandt = sy-mandt and&lt;/P&gt;&lt;P&gt;          werks in werks and&lt;/P&gt;&lt;P&gt;          mcomp in mcomp and&lt;/P&gt;&lt;P&gt;          sptag in dates.&lt;/P&gt;&lt;P&gt;        ........&lt;/P&gt;&lt;P&gt;        ........&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;     endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ali abbasgil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2006 14:07:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-22T14:07:41Z</dc:date>
    <item>
      <title>Reading table S026</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477446#M223760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a faster way to read table S026(material consumptions table)? My select statement is as follows but it takes too much time to read. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select s026&lt;SUB&gt;matnr s026&lt;/SUB&gt;werks s026~mcomp&lt;/P&gt;&lt;P&gt;    into (s026-matnr, s026-werks, s026-mcomp)&lt;/P&gt;&lt;P&gt;    from s026 client specified&lt;/P&gt;&lt;P&gt;    where vrsio = '000' and&lt;/P&gt;&lt;P&gt;          ssour = space and&lt;/P&gt;&lt;P&gt;          mandt = sy-mandt and&lt;/P&gt;&lt;P&gt;          werks in werks and&lt;/P&gt;&lt;P&gt;          mcomp in mcomp and&lt;/P&gt;&lt;P&gt;          sptag in dates.&lt;/P&gt;&lt;P&gt;        ........&lt;/P&gt;&lt;P&gt;        ........&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;     endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ali abbasgil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 14:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477446#M223760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reading table S026</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477447#M223761</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;  As we are not specifying all the key fields, it is taking much time. Check if there are secondary indexes on that table. Specify that index while selecting data using HINT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 14:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477447#M223761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reading table S026</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477448#M223762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;data: begin of t_s026 occurs 0,&lt;/P&gt;&lt;P&gt;        matnr like s026-matnr,&lt;/P&gt;&lt;P&gt;        werks like s026-werks,&lt;/P&gt;&lt;P&gt;        mcomp like s026-mcomp,&lt;/P&gt;&lt;P&gt;      end of t_s026.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr werks mcomp&lt;/P&gt;&lt;P&gt;into table t_s026&lt;/P&gt;&lt;P&gt;from s026 client specified&lt;/P&gt;&lt;P&gt;where mandt = sy-mandt and&lt;/P&gt;&lt;P&gt;ssour = space and&lt;/P&gt;&lt;P&gt;vrsio = '000' and&lt;/P&gt;&lt;P&gt;sptag in dates and&lt;/P&gt;&lt;P&gt;werks in werks and&lt;/P&gt;&lt;P&gt;mcomp in mcomp.&lt;/P&gt;&lt;P&gt;&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>Tue, 22 Aug 2006 14:19:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477448#M223762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reading table S026</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477449#M223763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try not to use select-endselect....it'l affect performance.instead use the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : s026 like table of s026 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select s026&lt;SUB&gt;matnr s026&lt;/SUB&gt;werks s026~mcomp&lt;/P&gt;&lt;P&gt;into corresponding fields of table s026&lt;/P&gt;&lt;P&gt;from s026 client specified&lt;/P&gt;&lt;P&gt;where vrsio = '000' and&lt;/P&gt;&lt;P&gt;ssour = space and&lt;/P&gt;&lt;P&gt;mandt = sy-mandt and&lt;/P&gt;&lt;P&gt;werks in werks and&lt;/P&gt;&lt;P&gt;mcomp in mcomp and&lt;/P&gt;&lt;P&gt;sptag in dates.&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt; u need not use append.this will put the data directly into the table n not the work area&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2006 14:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477449#M223763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-22T14:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reading table S026</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477450#M223764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using ABAP, try using the Report Painter. Once the table has been installed for report painter, it should be good to go for any flexible reporting by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2006 00:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-table-s026/m-p/1477450#M223764</guid>
      <dc:creator>former_member312315</dc:creator>
      <dc:date>2006-11-09T00:48:58Z</dc:date>
    </item>
  </channel>
</rss>

