<?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: regardinf faster select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832868#M663187</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;     Always check the driver internal tables is not empty, while using FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid for all entries in JOINS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to avoid joins and use FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to restrict the joins to 1 level only ie only for tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid using Select *.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid having multiple Selects from the same table in the same object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to minimize the number of variables to save memory.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)&lt;/P&gt;&lt;P&gt;     Avoid creation of  index as far as possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid operators like  &amp;lt;&amp;gt;, &amp;gt; , &amp;lt; &amp;amp; like % in where clause conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid select/select single statements in loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid using aggregate functions  (SUM, MAX etc) in selects ( GROUP BY , HAVING,)  &lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;     Avoid using  ORDER  BY in selects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid Nested Selects &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid Nested Loops of Internal Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try  to  use FIELD SYMBOLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to avoid into Corresponding Fields of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid using Select  Distinct, Use DELETE ADJACENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Also by going to transaction SE30-&amp;gt;tips and tricks you can get the idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harini.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2007 10:59:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-04T10:59:13Z</dc:date>
    <item>
      <title>regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832865#M663184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends i m using this select statements............&lt;/P&gt;&lt;P&gt;in production system thaere are lots of records thats why taking so much time ......&lt;/P&gt;&lt;P&gt;and giving dump..................&lt;/P&gt;&lt;P&gt;pls,tell some changes thats require for better performance............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt; types:BEGIN OF T_BSEG,&lt;/P&gt;&lt;P&gt;         BELNR LIKE BSEG-BELNR,&lt;/P&gt;&lt;P&gt;         BUDAT LIKE BKPF-BUDAT,&lt;/P&gt;&lt;P&gt;         WERKS LIKE BSEG-WERKS,&lt;/P&gt;&lt;P&gt;         LIFNR LIKE BSEG-LIFNR,&lt;/P&gt;&lt;P&gt;         MATNR LIKE BSEG-MATNR,&lt;/P&gt;&lt;P&gt;         MAKTX LIKE MAKT-MAKTX,&lt;/P&gt;&lt;P&gt;         FWBAS LIKE BSEG-FWBAS,&lt;/P&gt;&lt;P&gt;         MWSKZ LIKE BSEG-MWSKZ,&lt;/P&gt;&lt;P&gt;         WRBTR LIKE BSEG-WRBTR,&lt;/P&gt;&lt;P&gt;         SGTXT LIKE BSEG-SGTXT,&lt;/P&gt;&lt;P&gt;         SHKZG LIKE BSEG-SHKZG,&lt;/P&gt;&lt;P&gt;         PRCTR LIKE BSEG-PRCTR,&lt;/P&gt;&lt;P&gt;       END OF T_BSEG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      IT_BSEG2 LIKE IT_BSEG OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       BEGIN OF T_BKPF ,&lt;/P&gt;&lt;P&gt;        BELNR LIKE BKPF-BELNR,&lt;/P&gt;&lt;P&gt;        BUDAT LIKE BKPF-BUDAT,&lt;/P&gt;&lt;P&gt;        TCODE LIKE BKPF-TCODE,&lt;/P&gt;&lt;P&gt;        AWKEY LIKE BKPF-AWKEY,&lt;/P&gt;&lt;P&gt;       END OF T_BKPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;      IT_BSEG TYPE STANDARD TABLE OF T_BSEG INITIAL SIZE 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;      IT_BKPF TYPE STANDARD TABLE OF T_BKPF INITIAL SIZE 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT BELNR WERKS LIFNR FWBAS MWSKZ WRBTR SGTXT MATNR SHKZG PRCTR&lt;/P&gt;&lt;P&gt;    FROM BSEG&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_BSEG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHERE BUKRS IN S_BUKRS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      AND HKONT IN S_HKONT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF IT_BSEG[] IS NOT INITIAL..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT BELNR BUDAT TCODE AWKEY&lt;/P&gt;&lt;P&gt;     FROM BKPF&lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE IT_BKPF&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN IT_BSEG&lt;/P&gt;&lt;P&gt;       WHERE BELNR = IT_BSEG-BELNR&lt;/P&gt;&lt;P&gt;       AND BUDAT IN S_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 10:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832865#M663184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T10:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832866#M663185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Do not use into corresponding fiedls define the fiedls in the same order in the TYPES declaration and then use the same order in the select query.&lt;/P&gt;&lt;P&gt;Thanks CSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 10:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832866#M663185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T10:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832867#M663186</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;gud query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to mension all the key fileds in WHERE clause of first select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gavas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 10:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832867#M663186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T10:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832868#M663187</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;     Always check the driver internal tables is not empty, while using FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid for all entries in JOINS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to avoid joins and use FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to restrict the joins to 1 level only ie only for tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid using Select *.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid having multiple Selects from the same table in the same object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to minimize the number of variables to save memory.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)&lt;/P&gt;&lt;P&gt;     Avoid creation of  index as far as possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid operators like  &amp;lt;&amp;gt;, &amp;gt; , &amp;lt; &amp;amp; like % in where clause conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid select/select single statements in loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid using aggregate functions  (SUM, MAX etc) in selects ( GROUP BY , HAVING,)  &lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;     Avoid using  ORDER  BY in selects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid Nested Selects &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid Nested Loops of Internal Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try  to  use FIELD SYMBOLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Try to avoid into Corresponding Fields of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Avoid using Select  Distinct, Use DELETE ADJACENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Also by going to transaction SE30-&amp;gt;tips and tricks you can get the idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harini.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 10:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832868#M663187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832869#M663188</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;Avoid the Option&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS &lt;/P&gt;&lt;P&gt;In all ur queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing: BSEG is a Cluster table . So it gives poor performance.&lt;/P&gt;&lt;P&gt;Better to fetch from BSIK  BSAK  BSID  BSAD  tables which gives the same data as BSEG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REWARD IF HELPFUL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 11:00:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832869#M663188</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-10-04T11:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832870#M663189</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;DON'T USE CORRESPONDING FIELDS OPTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUST KEEP THE ORDER OF THE INTERNAL TABLE AS THE ORDER OF THE SELECT QUERY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THEN IT WILL BE SOME FASTR THAN THE BEFORE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF STILL IT HAS THE SAME PROBLEM THEN ASK UR BASIS PEOPLE TO REDUCE THE PARAMETER LOAD THEN IT WILL EXECUTE VERY FASTLY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REWARD IF USEFULL&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 11:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832870#M663189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T11:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832871#M663190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to avoid using cluster tables in this case BSEG and also include key fields in the where condition and use FOR ALL ENTRIES to avoid joins.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 11:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832871#M663190</guid>
      <dc:creator>suredarreddy_pulimamidi</dc:creator>
      <dc:date>2007-10-04T11:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832872#M663191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but my all require fields are from BSEG........only..........&lt;/P&gt;&lt;P&gt;i hv tried all things but still giving me dump...........&lt;/P&gt;&lt;P&gt;pls,do some help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 11:10:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832872#M663191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T11:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832873#M663192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't confuse the user. Please proove that INTO CORRESPONDING FIELDS has any impact on performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS is a SAFE option with liitle or no maintenance impact if anything changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 11:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832873#M663192</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-10-04T11:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832874#M663193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP Abap ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't have the time before lunch, now let me tell you that it is not advisable to select directly from BSEG due to the amount of entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may select the headers within a date range first - this will reduce the number of records drastically. Or, what is the best way, select from a secondary index first:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      BSAD : Accounting: Secondary Index for Customers (Cleared Items)&lt;/P&gt;&lt;P&gt;      BSAK : Accounting: Secondary Index for Vendors (Cleared Items)&lt;/P&gt;&lt;P&gt;      BSAS : Accounting: Secondary Index for G/L Accounts (Cleared Item&lt;/P&gt;&lt;P&gt;      BSEC : One-Time Account Data Document Segment&lt;/P&gt;&lt;P&gt;      BSEG : Accounting Document Segment&lt;/P&gt;&lt;P&gt;      BSID : Accounting: Secondary Index for Customers&lt;/P&gt;&lt;P&gt;      BSIK : Accounting: Secondary Index for Vendors&lt;/P&gt;&lt;P&gt;      BSIS : Accounting: Secondary Index for G/L Accounts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in your case, BSIS, with BUKRS and HKOnT as key fields, will be the best, maybe BSAS for completed items will be even better. Check it out: First fetch GJAHR BELNR BUZEI from BSIS/BSAS, then the rest from BSEG using for all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 12:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832874#M663193</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-10-04T12:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: regardinf faster select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832875#M663194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if therre's an error in your logic. You are trying to SELECT from BSEG both HKONT and LIFNR from the same row. These are fields that are usually on offsetting entries, not the same entries. Can you tell us what your requirements are?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2007 14:00:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regardinf-faster-select-statement/m-p/2832875#M663194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-04T14:00:06Z</dc:date>
    </item>
  </channel>
</rss>

