<?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: Sequential Read on BSAD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639802#M1092243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2008 14:23:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-22T14:23:07Z</dc:date>
    <item>
      <title>Sequential Read on BSAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639798#M1092239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why would the following select statement not use the primary key and instead be read sequentially?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bsad&lt;SUB&gt;bukrs bsad&lt;/SUB&gt;kunnr bsad&lt;SUB&gt;shkzg bsad&lt;/SUB&gt;dmbtr       FROM bsad&lt;/P&gt;&lt;P&gt;      APPENDING corresponding fields of table tbsad&lt;/P&gt;&lt;P&gt;      WHERE bsad~mandt EQ sy-mandt&lt;/P&gt;&lt;P&gt;        AND bsad~bukrs EQ g_bukrs&lt;/P&gt;&lt;P&gt;        AND bsad~kunnr IN kunnr&lt;/P&gt;&lt;P&gt;        AND bsad~umsks IN r_umsks&lt;/P&gt;&lt;P&gt;        AND bsad~umskz IN r_umskz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 14:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639798#M1092239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T14:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Read on BSAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639799#M1092240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends on how range KUNNR is filled. If it is empty or has wide ranges, the systems needs to scan the whole table, because at some point (percentage of rows requested in relation to total number of rows), a full table scan becomes more efficient than using key access.&lt;/P&gt;&lt;P&gt;By the way, selection on MANDT without CLIENT SPECIFIED does not make sense to me.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 14:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639799#M1092240</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-10-22T14:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Read on BSAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639800#M1092241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The full primary key isn't being used - but I think the main reason is that it depends what is in the IN ranges that are being used. I don't they're necessary parsed into direct reads...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 14:15:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639800#M1092241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T14:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Read on BSAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639801#M1092242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because you have included the client in the WHERE, but not used CLIENT SPECIFIED. Try it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT bsad~bukrs bsad~kunnr bsad~shkzg bsad~dmbtr
   FROM bsad
  APPENDING CORRESPONDING FIELDS OF TABLE tbsad
  WHERE bsad~bukrs EQ g_bukrs
    AND bsad~kunnr IN kunnr
    AND bsad~umsks IN r_umsks
    AND bsad~umskz IN r_umskz.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 14:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639801#M1092242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T14:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Read on BSAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639802#M1092243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 14:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sequential-read-on-bsad/m-p/4639802#M1092243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T14:23:07Z</dc:date>
    </item>
  </channel>
</rss>

