<?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 - smart response required in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409856#M537456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is much you can do other than add LAUFD to the selection. That will allow it to use at least part of the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any index tables that you can use that have the same information you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 19:43:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T19:43:50Z</dc:date>
    <item>
      <title>Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409850#M537450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guyz,&lt;/P&gt;&lt;P&gt;SELECT * FROM regup&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE itab1&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN itab&lt;/P&gt;&lt;P&gt;WHERE bukrs = itab-bukrs&lt;/P&gt;&lt;P&gt;AND belnr = itab-belnr&lt;/P&gt;&lt;P&gt;AND lifnr = itab-lifnr&lt;/P&gt;&lt;P&gt;AND gjahr = itab-gjahr&lt;/P&gt;&lt;P&gt;AND vblnr NE space.&lt;/P&gt;&lt;P&gt;This query is taking 2.5 mins to execute, I have to increase its performance. &lt;/P&gt;&lt;P&gt;FYI&lt;/P&gt;&lt;P&gt;itab has 2677 number of records&lt;/P&gt;&lt;P&gt;and final data in table itab1 has 3536 number of enteries. Its taking huge time, 2.5 mins to execute this portion. How can I increase the performance of this query.&lt;/P&gt;&lt;P&gt;Pls it's urgent.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Note: If google can fetch the data from around the globe in fractoin of seconds, then at least it's not impossible.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;Your answers will be rewarded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 19:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409850#M537450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T19:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409851#M537451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon, Sal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, in my opinion, you should replace the '*' with the fields you need (and only the ones you need).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats a start. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 19:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409851#M537451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T19:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409852#M537452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT FIELD1 FIELD2 FIELD3  
FROM regup
INTO TABLE itab1
FOR ALL ENTRIES IN itab
WHERE bukrs = itab-bukrs
AND belnr = itab-belnr
AND lifnr = itab-lifnr
AND gjahr = itab-gjahr
AND vblnr NE space.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just replace the * with the needed fields....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 19:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409852#M537452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T19:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409853#M537453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm already using the fields, I have not typed them here.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 19:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409853#M537453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T19:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409854#M537454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My assumptions are :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. REGUP is the cluster table,so you can't create index - this is ruled out&lt;/P&gt;&lt;P&gt;2. are you using sort command before sql query - it will give liitle bit good performance&lt;/P&gt;&lt;P&gt;3. Use primary key's in where clause - this will have major performance&lt;/P&gt;&lt;P&gt;4. Declare internal table without header line - it will give little bit good performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 19:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409854#M537454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T19:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409855#M537455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These is the regup table primary key:&lt;/P&gt;&lt;P&gt;The ones you are using start with *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;LAUFD&lt;/P&gt;&lt;P&gt;LAUFI&lt;/P&gt;&lt;P&gt;XVORL&lt;/P&gt;&lt;P&gt;ZBUKR&lt;/P&gt;&lt;P&gt;*LIFNR&lt;/P&gt;&lt;P&gt;KUNNR&lt;/P&gt;&lt;P&gt;EMPFG&lt;/P&gt;&lt;P&gt;VBLNR&lt;/P&gt;&lt;P&gt;*BUKRS&lt;/P&gt;&lt;P&gt;*BELNR&lt;/P&gt;&lt;P&gt;*GJAHR&lt;/P&gt;&lt;P&gt;BUZEI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you should try to use the most of the primary key that you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you fill "itab"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 19:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409855#M537455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T19:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409856#M537456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is much you can do other than add LAUFD to the selection. That will allow it to use at least part of the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any index tables that you can use that have the same information you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 19:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409856#M537456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T19:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409857#M537457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My report is taking 98.9% of database load, when i check it from SE30 transaction n taking so much time to execute due to this query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 20:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409857#M537457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T20:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409858#M537458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not possible to use all primary key's in where clause, becuase i dont have the requried data. Any other solution...&lt;/P&gt;&lt;P&gt;Is there any other standard table from where i can select the same data? I know about REGUP_CORE, but it has not all the data which i require.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 20:53:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409858#M537458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T20:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409859#M537459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this ...remove from the WHERE condition &amp;lt;b&amp;gt;'AND vblnr NE space.'&amp;lt;/b&amp;gt; and fetch the data into ITAB1 ..then sort ITAB1 with VBLNR and delete from ITAB1 where VBLNR = Space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points If useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 21:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409859#M537459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T21:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409860#M537460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saket I have used this, but no performance increase...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 22:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409860#M537460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T22:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue - smart response required</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409861#M537461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be useful to know what business requirement this is trying to meet - it looks like you are trying to trawl through the payment run line items table for a series of document numbers, but you may already have some of this same data available from BKPF &amp;amp; BSEG, or at least more quickly accessible by travelling through these tables first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I'm not sure if it's site configured or standard, but I have seen the LAUFD and LAUFI value concatenated into the BKPF-BKTXT field on the paying (clearing) document, e.g. "20070205-123456", which would mean you could then get to the REGUP data much more efficiently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 23:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-smart-response-required/m-p/2409861#M537461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T23:45:46Z</dc:date>
    </item>
  </channel>
</rss>

