<?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: FAGLL03 performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254208#M1631417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On further analysis, it was seen that the same query works fine in another system (ECM) which is a copy of Prod (where we have the issue). In this system, on analysing the SQL trace, we noticed that for the same variant, two different index are being used in both the systems. In ECM, FAGLFLEXA&lt;SUB&gt;2 is used while in EFP (Prod) FAGLFLEXA&lt;/SUB&gt;4 is used. Any idea, why both systems use different indices for the same variant? Will recreation of database statistics solve the issue, even though these indices are not newly created ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 08:05:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-15T08:05:38Z</dc:date>
    <item>
      <title>FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254204#M1631413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing performance issues with FAGLL03 when multiple profit centers are specified in dynamic selection&lt;/P&gt;&lt;P&gt;It is working fine for single profit center. The values for GL Account, Company Code, Posting date, Ledger and &lt;/P&gt;&lt;P&gt;Profit center (In dynamic selection) are provided in selection screen. On analysing the SQL trace, it is seen&lt;/P&gt;&lt;P&gt;that the select queries (join) on bsis and faglflexa are taking long time. The from and where part of the query&lt;/P&gt;&lt;P&gt;is given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;  "BSIS" T_00 INNER JOIN "FAGLFLEXA" T_01 ON T_01 . "RBUKRS" = T_00 . "BUKRS" AN&lt;/P&gt;&lt;P&gt;  D T_01 . "BELNR" = T_00 . "BELNR" AND T_01 . "GJAHR" = T_00 . "GJAHR" AND T_01&lt;/P&gt;&lt;P&gt;  . "BUZEI" = T_00 . "BUZEI" AND T_01 . "RCLNT" = T_00 . "MANDT"&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;  T_00 . "BUKRS" = :A0 AND T_00 . "HKONT" = :A1 AND T_00 . "XARCH" = :A2 AND&lt;/P&gt;&lt;P&gt;  T_00 . "MANDT" = :A3 AND T_01 . "RACCT" = :A4 AND T_01 . "RLDNR" = :A5 AND (&lt;/P&gt;&lt;P&gt;  T_01 . "BSTAT" = :A6 OR T_01 . "BSTAT" = :A7 ) AND T_01 . "BUDAT" BETWEEN :A8&lt;/P&gt;&lt;P&gt;  AND :A9 AND ( T_01 . "PRCTR" = :A10 OR T_01 . "PRCTR" = :A11 OR T_01 .&lt;/P&gt;&lt;P&gt;  "PRCTR" = :A12 ) AND T_01 . "RCLNT" = :A13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if a secondary index would help. If so, is it required for BSIS and FAGLFLEXA? What fields are required to be put in the index? I tried creating one for BSIS with fields (BUKRS, HKONT, XARCH, MANDT) and one for FAGLFLEXA with fields (RACCT, RLDNR, BSTAT, BUDAT, PRCTR, RCLNT) and ran SE14 (Create index) for both, but still FAGLFLEXA shows that the index does not exist in database. On running FAGLFLEXA after creating these, these indexes were not being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 11:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254204#M1631413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T11:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254205#M1631414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Leena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you decided to create an index for the FAGLFLEXA, please consider moving RCLNT as the first field.&lt;/P&gt;&lt;P&gt;The index for BSIS is not needed, as the access to BSIS will happen with the primary key when corresponding entries are selected from FAGLFLEXA.&lt;/P&gt;&lt;P&gt;Next, check how many entries from the FAGLFLEXA are selected for your criteria. Maybe you use profit centers where a lot of records are fetched from FAGLFLEXA. In that case even a new index probably will not improve the situation significantly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that index creation for very large tables make take some time. If you properly created it and triggered a creation of the DB index, it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 12:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254205#M1631414</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-10-14T12:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254206#M1631415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you use SQL server as database?&lt;/P&gt;&lt;P&gt;I had similar issue last year and was able to resolve by updating index statistics on SQL server. This might be worth looking at before you go for anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="8567694"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 13:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254206#M1631415</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2011-10-14T13:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254207#M1631416</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;In addition to mentioned by Yuri, please have in mind that if you create a secondary index on a table which / obviously FLAGFLEXA is big table / has a lot of records and is frequently updated you will face another performance issue. My advice is to use existing index or to try to split the selection if possible, try to put the data into internal table/s, try to use FOR ALL ENTRIES, but only if the driver table has no more than 500-800 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 14:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254207#M1631416</guid>
      <dc:creator>stefan_kolev4</dc:creator>
      <dc:date>2011-10-17T14:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254208#M1631417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On further analysis, it was seen that the same query works fine in another system (ECM) which is a copy of Prod (where we have the issue). In this system, on analysing the SQL trace, we noticed that for the same variant, two different index are being used in both the systems. In ECM, FAGLFLEXA&lt;SUB&gt;2 is used while in EFP (Prod) FAGLFLEXA&lt;/SUB&gt;4 is used. Any idea, why both systems use different indices for the same variant? Will recreation of database statistics solve the issue, even though these indices are not newly created ones?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 08:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254208#M1631417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T08:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254209#M1631418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have identical active indexes on both systems, the index statistics may be the reason for that. From which date are the index statistics for those indexes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database access (e.g. by Oracle Cost Basaed Optimizer or some matching tool for your database) may choose different indexes depending on the index statistics results. If these statistic values are too old or not good eneough (because of the wrong analysis method) there may be taken different indexes for database access, the right one on one and the wrong one on the other system.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 08:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254209#M1631418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T08:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254210#M1631419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will recreation of database statistics solve the issue, even though these indices are not newly created ones?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks,&lt;/P&gt;&lt;P&gt;&amp;gt; Leena&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe not, but it definitely worth trying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 09:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254210#M1631419</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-11-15T09:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: FAGLL03 performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254211#M1631420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Leena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the test system is a recent copy or the production tables have not grown and the stats are updated it could be that the hardware cost differ if different CPU's, etc or Oracle settings not the same.  Check Earlywatch reports to see if recommended changes on both are the same or check config manually.    Try using Oracle hint to use the same index as in test that works fast in production and see if performance is same as in test.  If Z code then all set, if SAP than can open message and SAP will often create a note or give option B.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan Stone&lt;/P&gt;&lt;P&gt;SAP Solutions Architect&lt;/P&gt;&lt;P&gt;EMC Solutions Design Center&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personal information removed&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Nov 16, 2011 3:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 20:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fagll03-performance-issue/m-p/8254211#M1631420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-16T20:20:16Z</dc:date>
    </item>
  </channel>
</rss>

