<?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/3414879#M820142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A view is implemented by a JOIN, so there's not much difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your main performance drag will be in bringing the large amount of data back to the application. There's not much you can do about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Feb 2008 18:57:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-16T18:57:46Z</dc:date>
    <item>
      <title>Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414873#M820136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to fetch some records from table FAGLFLEXA based on GL codes, company code, year, period, ledger and profit center. After that I have to classify them based on the document type which is not there in this table . I have to fetch it from table BKPF based on the document number. Now please tell me which is the best way to get better performance for the pgm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Fetch data from faglflexa based on all conditions using index for gl &amp;amp; period. Then take document type from BKPF using for all entries in faglflexa. now map the doc type to faglflexa using read. &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;2.Create a view joining faglflexa &amp;amp; bkpf and fetching data from view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;3.using join in select statement in pgm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If using view or join what is the order of fields for the where condition in select statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls tell me which will give best performance or is there any best method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls note that there will be lakhs of records which will satisfy the whole conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414873#M820136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414874#M820137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The JOIN should give the best performance. The order shouldn't matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 15:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414874#M820137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T15:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414875#M820138</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;Do like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create one view for these two tables in se11 then u can write select statement on this view at the report level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first select statement in FAGLFLEXA in the report,&lt;/P&gt;&lt;P&gt;then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not l_FAGLFLEXA[] is initial.&lt;/P&gt;&lt;P&gt;select from BKPF for all entries in l_FAGLFLEXA[] &lt;/P&gt;&lt;P&gt;where = common fields.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 06:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414875#M820138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T06:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414876#M820139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for ur reply. Will join in report give a better performance than a view. Can u pls explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 12:31:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414876#M820139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T12:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414877#M820140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi seshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for ur reply. But pls tell me which method will be better in performance pont of view. Note that my query will fetch around 1-2 lakhs of records in average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 12:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414877#M820140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T12:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414878#M820141</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;create view in se11 then write a select statement on that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it'll improve your performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 12:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414878#M820141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T12:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414879#M820142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A view is implemented by a JOIN, so there's not much difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your main performance drag will be in bringing the large amount of data back to the application. There's not much you can do about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 18:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414879#M820142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-16T18:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414880#M820143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would go with the first option of yours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get data from FAGLFLEXA table.&lt;/P&gt;&lt;P&gt;Using the data from FAGLFLEXA table get the data from BKPF table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This i would prefer than going for joins or database views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would definitely be faster than the JOINS and database views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would totally agree with what Rob said. Sometimes the queries would bring several lacs of records to the application and you cant help without it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 10:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414880#M820143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T10:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414881#M820144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; This would definitely be faster than the JOINS and database views&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'definitely' is not argument! When I read 'definitely' in the forum, then the argument very often wrong.&lt;/P&gt;&lt;P&gt;That is also here the case. Joins are generally faster than FOR ALL ENTRIES!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And View are dictionary defined joins, now performance difference.#&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 11:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/3414881#M820144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T11:27:09Z</dc:date>
    </item>
  </channel>
</rss>

