<?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: performence problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593157#M1436151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you paste your code for that plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2010 13:42:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-19T13:42:26Z</dc:date>
    <item>
      <title>performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593153#M1436147</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a select command on the table COEP based on objnr and vrgng fields ( both are required )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i was execuiting the query it was taking too much time for a single record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guide me the alternative table or alternative how to get the data fastly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advanced Thanks for your guidence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593153#M1436147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T13:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593154#M1436148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several options to speed up your query. &lt;/P&gt;&lt;P&gt;- Try to get the key fields. Maybe through COBK.&lt;/P&gt;&lt;P&gt;- See if there's an index defined for your fields. If not, it can be useful to create it. But be careful: adding indices can slow down other actions on the COEP table (like updates).&lt;/P&gt;&lt;P&gt;- Select only the fields that you need (don't use SELECT *)&lt;/P&gt;&lt;P&gt;- Don't use a negative SELECT (as it invokes a full table scan)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roel van den Berge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Roel van den Berge on Feb 19, 2010 2:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593154#M1436148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T13:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593155#M1436149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do like if not matching key fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into wa_tab.&lt;/P&gt;&lt;P&gt;clear  itab_coep.&lt;/P&gt;&lt;P&gt; SELECT * FROM COEP INTO itab_coep WHERE OBJNR EQ wa_tab-objnr&lt;/P&gt;&lt;P&gt;APPEND itab_coep to itab_coep1.&lt;/P&gt;&lt;P&gt;delete itab_coep1 where  vrgng  NE wa_tab-vrgng .&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sachin Bidkar on Feb 19, 2010 2:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593155#M1436149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T13:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593156#M1436150</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;&lt;/P&gt;&lt;P&gt;Thank you for your  speed reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it is taking the time after using the objnr ( index field )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me if any alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593156#M1436150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T13:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593157#M1436151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you paste your code for that plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593157#M1436151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T13:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593158#M1436152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be an index field, but that doesn't mean the index is being used. You can verify this by running an ST05 trace (using the SQL Explain functionality). You'll need an index with both objnr and vrgng probably. Alternatively you could try to find a way to fetch the other index fields in order to use an existing index.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:44:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593158#M1436152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T13:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593159#M1436153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at [Note 115219 - Performance improvements for line items|https://service.sap.com/sap/support/notes/115219]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 13:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593159#M1436153</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-02-19T13:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593160#M1436154</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find code below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT wtgbtr objnr vrgng&lt;/P&gt;&lt;P&gt;  FROM coep&lt;/P&gt;&lt;P&gt;  INTO TABLE itb_coep&lt;/P&gt;&lt;P&gt;  FOR ALL ENTRIES IN itb_aufk&lt;/P&gt;&lt;P&gt;  WHERE objnr = itb_aufk-objnr&lt;/P&gt;&lt;P&gt;  and vrgng ne 'KOAO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above query is taking too much time to fetch the single record .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your guidence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 14:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593160#M1436154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T14:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593161#M1436155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for all entries it will take time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this i mentioned earlier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at  itb_aufk into wa.&lt;/P&gt;&lt;P&gt;Clear itb_coep.&lt;/P&gt;&lt;P&gt;SELECT wtgbtr objnr vrgng&lt;/P&gt;&lt;P&gt;FROM coep&lt;/P&gt;&lt;P&gt;INTO TABLE itb_coep&lt;/P&gt;&lt;P&gt;WHERE kokrs eq wa-kokrs&lt;/P&gt;&lt;P&gt;objnr = wa-objnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND LINES OF itb_coep TO itb_coep1.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE itb_coep1 WHERE vrgng ne 'KOAO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried this code its working fast...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 14:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593161#M1436155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593162#M1436156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- Check if index COEP~2 is active in (all) database&lt;/P&gt;&lt;P&gt;- Do you need COEP or can you use total tables like COSS and COSP which are cumulated but have much less items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 14:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593162#M1436156</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-02-19T14:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: performence problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593163#M1436157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a frequently asked question. If you had searched, you would have found something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT wtgbtr objnr vrgng
  FROM coep
  INTO TABLE itb_coep
  FOR ALL ENTRIES IN itb_aufk
  WHERE objnr = itb_aufk-objnr
    AND lednr = '0'
    AND vrgng NE 'KOAO'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please use code tags when posting code.&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, 19 Feb 2010 14:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performence-problem/m-p/6593163#M1436157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T14:15:49Z</dc:date>
    </item>
  </channel>
</rss>

