<?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: A017 performance Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587366#M264736</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 possible try using maximum possible Key fields in your Select Query or goto Transaction ST05 and check your program SQL Trace which shows the delay for selecting values. Even if this is fine then you have to ask your Bassis guy to go extend the time Limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2006 10:04:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-05T10:04:14Z</dc:date>
    <item>
      <title>A017 performance Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587364#M264734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;      I am facing performance problem, While selecting field 'DATAB' ( Validity start date of the condition record ) from Pooled table 'A017',I am getting timed out error ( slong ).IS there any efficient way to retrieve data.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreenivasa Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 05:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587364#M264734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T05:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: A017 performance Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587365#M264735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show us how you have coded your select, how are you accessing this table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 09:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587365#M264735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: A017 performance Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587366#M264736</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 possible try using maximum possible Key fields in your Select Query or goto Transaction ST05 and check your program SQL Trace which shows the delay for selecting values. Even if this is fine then you have to ask your Bassis guy to go extend the time Limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 10:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587366#M264736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T10:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: A017 performance Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587367#M264737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     follow below condition to improve performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Remove * from select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Select field in sequence as defined in database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Avoid unnecessary selects&lt;/P&gt;&lt;P&gt;i.e check for internal table not initial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Use all entries and sort table by key fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) Remove selects ferom loop and use binary search&lt;/P&gt;&lt;P&gt;6) Try to use secondary index when you don't have &lt;/P&gt;&lt;P&gt;full key.&lt;/P&gt;&lt;P&gt;7) Modify internal table use transporting option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Avoid nested loop . Use read table and loop at itab&lt;/P&gt;&lt;P&gt;from sy-tabix statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9) free intrenal table memory wnen table is not &lt;/P&gt;&lt;P&gt;required for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow below logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SUB_SELECTION_AUFKTAB.&lt;/P&gt;&lt;P&gt;if not it_plant[] is initial.&lt;/P&gt;&lt;P&gt;it_plant1[] = it_plant[].&lt;/P&gt;&lt;P&gt;sort it_plant1 by werks.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from it_plant1 comparing werks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT AUFNR KTEXT USER4 OBJNR INTO CORRESPONDING FIELDS OF TABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_AUFKTAB&lt;/P&gt;&lt;P&gt;FROM AUFK&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN it_plant1&lt;/P&gt;&lt;P&gt;WHERE AUFNR IN S_AUFNR AND&lt;/P&gt;&lt;P&gt;KTEXT IN S_KTEXT AND&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WERKS IN S_WERKS AND&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;AUART IN S_AUART AND&lt;/P&gt;&lt;P&gt;USER4 IN S_USER4 AND&lt;/P&gt;&lt;P&gt;werks eq it_plant1-werks.&lt;/P&gt;&lt;P&gt;free it_plant1.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;ENDFORM. "SUB_SELECTION_AUFKTAB&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2006 12:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/a017-performance-problem/m-p/1587367#M264737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-05T12:06:50Z</dc:date>
    </item>
  </channel>
</rss>

