<?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: performance problem in using bseg table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141663#M114792</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;Yes a good idea to use LDB. Try using logical database BRM BRF or BKM as per your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way is to write a refined select queries and abap. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shekhar Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2006 12:10:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-20T12:10:08Z</dc:date>
    <item>
      <title>performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141660#M114789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i am using bseg table in my report ,since it is a cluster table my report is running very slow,suggest some solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141660#M114789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141661#M114790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  if you can, try to do selections on tables BSIK/BSAK, BSIS/BSAS, BSID/BSAD.&lt;/P&gt;&lt;P&gt;They are transparent tables regarding Open items and cleared items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise you could use a logical DB. (In example Logical DB  BRM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember to reward points for useful answers and to close the thread when your problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141661#M114790</guid>
      <dc:creator>manuel_bassani</dc:creator>
      <dc:date>2006-02-20T12:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141662#M114791</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;search in that forum - there're hundreds of postings reg. this topic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise: which items do you want to select ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141662#M114791</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-02-20T12:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141663#M114792</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;Yes a good idea to use LDB. Try using logical database BRM BRF or BKM as per your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way is to write a refined select queries and abap. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shekhar Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141663#M114792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141664#M114793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you use big tables, try to minimize the number of times u r fetching the datas from that table(application server) ..try to fetch the data at a time and put it in some internal tables(presentation server) and use these tables for further operations...&lt;/P&gt;&lt;P&gt;reward if useful......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ashok Kumar Prithiviraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ashok Kumar Prithiviraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141664#M114793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141665#M114794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to do SELECT-ENDSELECT rather than for all entries or nested loops. See the topics on this in the forum..There was an article on SDN by Rob Burbank called Performance of Nested Loops. Read this article&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141665#M114794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141666#M114795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using BSId/BSAD which is for customer sales(open items/close items)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSIK/BSAK which is for vendor purchases(open/close items)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSIS/BSAS which is for secondary index for G/L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;avoid using too many select statements. search using key columsn in the table. filter the data while retrieving it from the database. avoid complicated logic.&lt;/P&gt;&lt;P&gt;&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;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141666#M114795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141667#M114796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw that table structure. It has 321 fields. Well a big&lt;/P&gt;&lt;P&gt;table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you the following points in your report...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In select query do not use *. Instead choose the field&lt;/P&gt;&lt;P&gt;names by specifying the field name explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can also work on other tables that are found in the&lt;/P&gt;&lt;P&gt;Entry help/Check tab of bseg table in se11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Do not directly update the database. Create an internal&lt;/P&gt;&lt;P&gt;table and do your operations and then update the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. If possible create views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to limit your database hit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maheswaran.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:15:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141667#M114796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141668#M114797</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; This weblog will be very useful for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/rob.burbank/blog/2006/02/07/performance-of-nested-loops&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141668#M114797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141669#M114798</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;Here are few things u can try &lt;/P&gt;&lt;P&gt;  - if u use "CORRESPONDING FIELDS OF" remove it - put in the actual field assignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also change the where to use a select option or range to select .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These 2 things will improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other things you could do would be to provide more of the key fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But all these things will not give you a drastic performence boost. The best way is to use extened check and sql trace to analyse the query and to come up with a better solution yourself. Try to break select into multiple select statmnts. You can refer to bkpf, bsid,bsad ( cleared items &lt;/P&gt;&lt;P&gt;/open items  for customers ),bsak,bsik ( For  vendors) and bsis,bsas ( for GLs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Austin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Joseph Austin Prabhu Paulthas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141669#M114798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem in using bseg table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141670#M114799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Manish,&lt;/P&gt;&lt;P&gt;  Do not use Select * , use &lt;/P&gt;&lt;P&gt;  select &amp;lt;f1&amp;gt; &amp;lt;f2&amp;gt; into table iatb from bseg &lt;/P&gt;&lt;P&gt;  and in &lt;/P&gt;&lt;P&gt;  where condition use only key fields like bukrs &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; if you fetch data from more than one table use&lt;/P&gt;&lt;P&gt; populate the fields of ont table into an itab1 &lt;/P&gt;&lt;P&gt; and use..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; select &amp;lt;f1&amp;gt;.. into table itab2 &lt;/P&gt;&lt;P&gt; for all entries in itab1&lt;/P&gt;&lt;P&gt; ..&lt;/P&gt;&lt;P&gt; this applies for all the tables&lt;/P&gt;&lt;P&gt; hope this helps you..&lt;/P&gt;&lt;P&gt; kindly reward points if this helps you.. &lt;/P&gt;&lt;P&gt; also close this&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="112540"&gt;&lt;/A&gt; and reward points for helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:21:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-in-using-bseg-table/m-p/1141670#M114799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-20T12:21:17Z</dc:date>
    </item>
  </channel>
</rss>

