<?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 Full table scan in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744839#M1113015</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;The following statement is going for full table scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT MANDT MOLGA TRFGB TGBTX&lt;/P&gt;&lt;P&gt;                        from t510g&lt;/P&gt;&lt;P&gt;                        INTO TABLE it_payareatxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest any modifications can we do to this statement to avoid full table scan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2008 12:59:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-17T12:59:47Z</dc:date>
    <item>
      <title>Full table scan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744839#M1113015</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;The following statement is going for full table scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT MANDT MOLGA TRFGB TGBTX&lt;/P&gt;&lt;P&gt;                        from t510g&lt;/P&gt;&lt;P&gt;                        INTO TABLE it_payareatxt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest any modifications can we do to this statement to avoid full table scan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 12:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744839#M1113015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T12:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Full table scan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744840#M1113016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add a WHERE clause with fields that use an index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 13:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744840#M1113016</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2008-11-17T13:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Full table scan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744841#M1113017</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;SELECT &amp;lt;Field-names&amp;gt; &lt;/P&gt;&lt;P&gt;FROM &amp;lt;table-name&amp;gt;&lt;/P&gt;&lt;P&gt;INTO TABLE &amp;lt;tab-name&amp;gt;&lt;/P&gt;&lt;P&gt;WHERE &amp;lt;Condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;NItesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 13:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744841#M1113017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T13:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Full table scan</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744842#M1113018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example of a single scan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA wa        TYPE sflight. 
DATA seatsfree TYPE I. 

SELECT SINGLE * FROM sflight INTO wa 
       WHERE 
         carrid   = 'LH '      AND 
         connid   = '0400'     AND 
         fldate   = '20010228'. 
         FLDATE   = '19950228'. 
seatsfree = wa-seatsmax - wa-seatsocc. 

WRITE: / wa-carrid, wa-connid, wa-fldate, seatsfree.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 14:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/full-table-scan/m-p/4744842#M1113018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T14:12:48Z</dc:date>
    </item>
  </channel>
</rss>

