<?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 Performance Issue Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437804#M825535</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT PSPHI&lt;/P&gt;&lt;P&gt;         A~PSPNR&lt;/P&gt;&lt;P&gt;         B~POST1&lt;/P&gt;&lt;P&gt;         A~POST1&lt;/P&gt;&lt;P&gt;  INTO TABLE T_PRPS&lt;/P&gt;&lt;P&gt;  FROM PRPS AS A&lt;/P&gt;&lt;P&gt;  JOIN PROJ AS B&lt;/P&gt;&lt;P&gt;  ON PSPHI = B~PSPNR&lt;/P&gt;&lt;P&gt;  WHERE PSPHI IN S_PSPHI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user wont enter the project number.so first select query vl fetch the entire table reocrds bcoz s_psphi is the select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after getting the records from prps i m passing these records into AFPO table to fetch network numbers.&lt;/P&gt;&lt;P&gt; IF T_PRPS[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT AUFNR INTO TABLE T_AFPO&lt;/P&gt;&lt;P&gt;               FROM AFPO&lt;/P&gt;&lt;P&gt;               FOR ALL ENTRIES IN T_PRPS&lt;/P&gt;&lt;P&gt;               WHERE PROJN = T_PRPS-PSPNR&lt;/P&gt;&lt;P&gt;               %_HINTS ORACLE 'INDEX("AFPO" "AFPO~002")'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;after getting records from AFPO i passed these records to AUFK to fetch text and other data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF T_AFPO[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT AUFNR&lt;/P&gt;&lt;P&gt;           PSPEL&lt;/P&gt;&lt;P&gt;           KTEXT&lt;/P&gt;&lt;P&gt;           INTO TABLE T_AUFK&lt;/P&gt;&lt;P&gt;           FROM AUFK&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN T_AFPO&lt;/P&gt;&lt;P&gt;           WHERE AUFNR = T_AFPO-AUFNR&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;The second select query is taking long time.&lt;/P&gt;&lt;P&gt;At first the 2nd and 3rd select queries are written by using JOIN,but performance issue came.so i split the JOIN condition.After that also i got same performance problem.Then i used Secondary index syntax.time reduced to 17mins,but user wants it less time.Please any body vl gIve solution for this as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My analysis is the field which is ther in  where condition is not a primary key filed and records in the database table also hav large in amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;R.P.Sastry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2008 11:54:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-20T11:54:27Z</dc:date>
    <item>
      <title>Performance Issue Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437804#M825535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECT PSPHI&lt;/P&gt;&lt;P&gt;         A~PSPNR&lt;/P&gt;&lt;P&gt;         B~POST1&lt;/P&gt;&lt;P&gt;         A~POST1&lt;/P&gt;&lt;P&gt;  INTO TABLE T_PRPS&lt;/P&gt;&lt;P&gt;  FROM PRPS AS A&lt;/P&gt;&lt;P&gt;  JOIN PROJ AS B&lt;/P&gt;&lt;P&gt;  ON PSPHI = B~PSPNR&lt;/P&gt;&lt;P&gt;  WHERE PSPHI IN S_PSPHI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user wont enter the project number.so first select query vl fetch the entire table reocrds bcoz s_psphi is the select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after getting the records from prps i m passing these records into AFPO table to fetch network numbers.&lt;/P&gt;&lt;P&gt; IF T_PRPS[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT AUFNR INTO TABLE T_AFPO&lt;/P&gt;&lt;P&gt;               FROM AFPO&lt;/P&gt;&lt;P&gt;               FOR ALL ENTRIES IN T_PRPS&lt;/P&gt;&lt;P&gt;               WHERE PROJN = T_PRPS-PSPNR&lt;/P&gt;&lt;P&gt;               %_HINTS ORACLE 'INDEX("AFPO" "AFPO~002")'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;after getting records from AFPO i passed these records to AUFK to fetch text and other data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF T_AFPO[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT AUFNR&lt;/P&gt;&lt;P&gt;           PSPEL&lt;/P&gt;&lt;P&gt;           KTEXT&lt;/P&gt;&lt;P&gt;           INTO TABLE T_AUFK&lt;/P&gt;&lt;P&gt;           FROM AUFK&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN T_AFPO&lt;/P&gt;&lt;P&gt;           WHERE AUFNR = T_AFPO-AUFNR&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;The second select query is taking long time.&lt;/P&gt;&lt;P&gt;At first the 2nd and 3rd select queries are written by using JOIN,but performance issue came.so i split the JOIN condition.After that also i got same performance problem.Then i used Secondary index syntax.time reduced to 17mins,but user wants it less time.Please any body vl gIve solution for this as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My analysis is the field which is ther in  where condition is not a primary key filed and records in the database table also hav large in amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;R.P.Sastry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 11:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437804#M825535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T11:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437805#M825536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you do a runtime analysis via SE30 to find out which statement actually takes so long to execute?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 12:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437805#M825536</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-02-20T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437806#M825537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please check below FM may useful to read the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2054_READ_WBS_STRUCTURE     &lt;/P&gt;&lt;P&gt;AIAL_WBSELMS_READ           &lt;/P&gt;&lt;P&gt;AIPK_TOP_WBS_ELEMENTS_READ  &lt;/P&gt;&lt;P&gt;AIPK_WBS_ELEMENTS_DATES_READ&lt;/P&gt;&lt;P&gt;CJGC_READ_COMPONENTS_FOR_WBS&lt;/P&gt;&lt;P&gt;CJPN_WBS_ELEM_READ_DECO     &lt;/P&gt;&lt;P&gt;CK_F_KEKOKEY_WBS_READ       &lt;/P&gt;&lt;P&gt;CK_F_WBS_KALNR_READ         &lt;/P&gt;&lt;P&gt;CK_F_WBS_KALNR_READ_BY_MAT  &lt;/P&gt;&lt;P&gt;CM_PRST_READ_BY_WBS         &lt;/P&gt;&lt;P&gt;PSBW_READ_INFO_FROM_WBS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 12:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437806#M825537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437807#M825538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove Inner Joins and use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 20, 2008 9:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 13:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437807#M825538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T13:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437808#M825539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the problem is entirely due to the large amount of data. You are extracting a large number of entries from PRPS and then using all of the results to get orders from AFPO using an non-unique secondary index. this will take time and there's not much you can do about this except run it in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or enter the project number.&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;Edited by: Rob Burbank on Feb 20, 2008 9:27 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 20, 2008 9:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 14:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-problem/m-p/3437808#M825539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T14:26:48Z</dc:date>
    </item>
  </channel>
</rss>

