<?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 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595228#M267396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If so_hkont is empty, it will have to read the entire table (BSIS). Try it with a small range. I think that'll be pretty quick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS - you'll probably get more response if you mark this as a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Oct 2006 02:43:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-13T02:43:45Z</dc:date>
    <item>
      <title>performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595224#M267392</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;I have a issue, need to improve the performance on this report which uses inner join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bsis&lt;SUB&gt;bukrs bsis&lt;/SUB&gt;belnr bsis&lt;SUB&gt;gjahr bsis&lt;/SUB&gt;blart bsis~bldat&lt;/P&gt;&lt;P&gt;         bsis&lt;SUB&gt;budat bsis&lt;/SUB&gt;xblnr bkpf&lt;SUB&gt;bvorg bkpf&lt;/SUB&gt;bstat bkpf~waers&lt;/P&gt;&lt;P&gt;         bkpf&lt;SUB&gt;hwaer bkpf&lt;/SUB&gt;hwae2 bsis&lt;SUB&gt;buzei bsis&lt;/SUB&gt;augdt bsis~augbl&lt;/P&gt;&lt;P&gt;         bsis&lt;SUB&gt;shkzg bsis&lt;/SUB&gt;dmbtr bsis&lt;SUB&gt;wrbtr bsis&lt;/SUB&gt;dmbe2 bsis~sgtxt&lt;/P&gt;&lt;P&gt;         bsis&lt;SUB&gt;kostl bsis&lt;/SUB&gt;aufnr bsis&lt;SUB&gt;hkont bsis&lt;/SUB&gt;prctr bkpf~cpudt&lt;/P&gt;&lt;P&gt;         bsis&lt;SUB&gt;zztitle bsis&lt;/SUB&gt;zzterr&lt;/P&gt;&lt;P&gt;         FROM bsis&lt;/P&gt;&lt;P&gt;         JOIN bkpf&lt;/P&gt;&lt;P&gt;           ON bkpf&lt;SUB&gt;bukrs EQ bsis&lt;/SUB&gt;bukrs&lt;/P&gt;&lt;P&gt;          AND bkpf&lt;SUB&gt;belnr EQ bsis&lt;/SUB&gt;belnr&lt;/P&gt;&lt;P&gt;          AND bkpf&lt;SUB&gt;gjahr EQ bsis&lt;/SUB&gt;gjahr&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF t_data&lt;/P&gt;&lt;P&gt;              WHERE bsis~bukrs   IN so_bukrs&lt;/P&gt;&lt;P&gt;              AND   bsis~hkont   IN so_hkont&lt;/P&gt;&lt;P&gt;              AND   bsis~budat   IN so_budat&lt;/P&gt;&lt;P&gt;              AND   bsis~augdt   IN so_augdt&lt;/P&gt;&lt;P&gt;              AND   bsis~gjahr   IN so_gjahr&lt;/P&gt;&lt;P&gt;              AND   bsis~belnr   IN so_belnr&lt;/P&gt;&lt;P&gt;              AND   bsis~blart   IN so_blart&lt;/P&gt;&lt;P&gt;              AND   bsis~xblnr   IN so_xblnr&lt;/P&gt;&lt;P&gt;              AND   bsis~bldat   IN so_bldat&lt;/P&gt;&lt;P&gt;              AND   bsis~zztitle IN so_title&lt;/P&gt;&lt;P&gt;              AND   bsis~zzterr  IN so_terr&lt;/P&gt;&lt;P&gt;              AND   bsis~kostl   IN so_kostl&lt;/P&gt;&lt;P&gt;              AND   bsis~prctr   IN so_prctr&lt;/P&gt;&lt;P&gt;              AND   bsis~aufnr   IN so_aufnr&lt;/P&gt;&lt;P&gt;              AND   bkpf~cpudt   IN so_cpudt&lt;/P&gt;&lt;P&gt;              AND   bkpf~bvorg   IN so_bvorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the report in BGD from morning still it is running.&lt;/P&gt;&lt;P&gt;Could any one help me how to change the code instead of using innerjoin .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked in sm51 ,says sequential read on BSIS  it continues...forever...&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 01:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595224#M267392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T01:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595225#M267393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chary the select sequence of fields should be according to the table&lt;/P&gt;&lt;P&gt;just like this below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bsis&lt;SUB&gt;bukrs bsis&lt;/SUB&gt;gjahr bsis&lt;SUB&gt;belnr bsis&lt;/SUB&gt;budat bsis&lt;SUB&gt;bldat bsis&lt;/SUB&gt;xblnr bsis~blart .......... and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so change the sequence.. and try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IS UR PROBLEM SOLVED? IF NOT PLZ LET ME KNOW&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Gopi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Gopi Narendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 01:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595225#M267393</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-10-13T01:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595226#M267394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gopi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok I will try, &lt;/P&gt;&lt;P&gt;Is there any other option instead of innerjoins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 01:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595226#M267394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T01:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595227#M267395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;bukrs&lt;/P&gt;&lt;P&gt;hkont&lt;/P&gt;&lt;P&gt;augdt &lt;/P&gt;&lt;P&gt;augbl&lt;/P&gt;&lt;P&gt;zuonr &lt;/P&gt;&lt;P&gt;gjahr&lt;/P&gt;&lt;P&gt;belnr&lt;/P&gt;&lt;P&gt;buzei&lt;/P&gt;&lt;P&gt;budat &lt;/P&gt;&lt;P&gt;bldat&lt;/P&gt;&lt;P&gt;WAERS&lt;/P&gt;&lt;P&gt;xblnr &lt;/P&gt;&lt;P&gt;blart &lt;/P&gt;&lt;P&gt;shkzg &lt;/P&gt;&lt;P&gt;dmbtr &lt;/P&gt;&lt;P&gt;wrbtr &lt;/P&gt;&lt;P&gt;sgtxt&lt;/P&gt;&lt;P&gt;aufnr&lt;/P&gt;&lt;P&gt;kostl &lt;/P&gt;&lt;P&gt;dmbe2 &lt;/P&gt;&lt;P&gt;prctr &lt;/P&gt;&lt;P&gt;zztitle &lt;/P&gt;&lt;P&gt;zzterr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM bsis&lt;/P&gt;&lt;P&gt;into table ITAB_BSIS "Declare an Internal table with &lt;/P&gt;&lt;P&gt;"all above selected fields&lt;/P&gt;&lt;P&gt;WHERE bukrs IN so_bukrs&lt;/P&gt;&lt;P&gt;AND hkont = so_hkont&lt;/P&gt;&lt;P&gt;AND augdt = so_augdt &lt;/P&gt;&lt;P&gt;AND gjahr = so_gjahr&lt;/P&gt;&lt;P&gt;AND belnr = so_belnr&lt;/P&gt;&lt;P&gt;AND budat = so_budat&lt;/P&gt;&lt;P&gt;AND blart = so_blart&lt;/P&gt;&lt;P&gt;AND xblnr = so_xblnr&lt;/P&gt;&lt;P&gt;AND bldat = so_bldat&lt;/P&gt;&lt;P&gt;AND zztitle = so_title&lt;/P&gt;&lt;P&gt;AND zzterr = so_terr&lt;/P&gt;&lt;P&gt;AND kostl = so_kostl&lt;/P&gt;&lt;P&gt;AND prctr = so_prctr&lt;/P&gt;&lt;P&gt;AND aufnr = so_aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not ITAB_BSIS[] is initial.&lt;/P&gt;&lt;P&gt;select BUKRS BELNR GJAHR bvorg bstat waers hwaer hwae2 cpudt&lt;/P&gt;&lt;P&gt;from bkpf &lt;/P&gt;&lt;P&gt;into table ITAB_BKPF "Declare an Internal table with &lt;/P&gt;&lt;P&gt;"all above selected fields&lt;/P&gt;&lt;P&gt;for all entries in ITAB_BSIS&lt;/P&gt;&lt;P&gt;where bukrs = ITAB_BSIS-bukrs&lt;/P&gt;&lt;P&gt;and belnr = ITAB_BSIS-belnr&lt;/P&gt;&lt;P&gt;and gjahr = ITAB_BSIS-gjahr&lt;/P&gt;&lt;P&gt;AND cpudt = so_cpudt&lt;/P&gt;&lt;P&gt;AND bvorg = so_bvorg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will resolve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assign points if the above solution is help full to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: SAP User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: SAP User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 02:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595227#M267395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T02:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595228#M267396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If so_hkont is empty, it will have to read the entire table (BSIS). Try it with a small range. I think that'll be pretty quick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS - you'll probably get more response if you mark this as a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 02:43:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595228#M267396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T02:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595229#M267397</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 bukrs belnr &lt;/P&gt;&lt;P&gt;       from bkpf &lt;/P&gt;&lt;P&gt;       into table i_bkpf  "declare an internal table &lt;/P&gt;&lt;P&gt;  where gjahr in so_gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select bsis data based on i_bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 08:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595229#M267397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T08:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595230#M267398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution, it made a lot of difference in the execution of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a bunch!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK now how to assign points to all of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2006 22:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/1595230#M267398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-13T22:01:15Z</dc:date>
    </item>
  </channel>
</rss>

