<?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 in table S975 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-table-s975/m-p/7280166#M1531347</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;i have to block the inactive customers (customers for whom the transaction has not happened) for a specified number of month depending on the selection screen value..&lt;/P&gt;&lt;P&gt;now for that i have used the following query &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    SELECT SPMON VKORG VTWEG VKBUR PKUNAG SPART  FROM S975 
            INTO TABLE IS975 FOR ALL ENTRIES IN IKN
            WHERE  SSOUR = '' AND VRSIO = '000' 
           AND SPMON IN MON AND SPTAG = '00000000' 
           AND SPWOC = '000000' AND SPBUP = '000000' AND VKORG IN VKORG
          AND VTWEG IN VTWEG AND VKBUR IN VKBUR and PKUNAG = IKN-KUNNR .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;now it is taking a lot of time to execute this query considering that IKN has some 30 or 40 records.. may be it is having too many primary keys but i have passed most of the primary keys in the query...&lt;/P&gt;&lt;P&gt;it would be apperciated if  someone can help..&lt;/P&gt;&lt;P&gt;thanks in advance &lt;/P&gt;&lt;P&gt;syed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Sep 16, 2010 11:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Sep 2010 07:09:59 GMT</pubDate>
    <dc:creator>syed_ibrahim5</dc:creator>
    <dc:date>2010-09-16T07:09:59Z</dc:date>
    <item>
      <title>performance issue in table S975</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-table-s975/m-p/7280166#M1531347</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;i have to block the inactive customers (customers for whom the transaction has not happened) for a specified number of month depending on the selection screen value..&lt;/P&gt;&lt;P&gt;now for that i have used the following query &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    SELECT SPMON VKORG VTWEG VKBUR PKUNAG SPART  FROM S975 
            INTO TABLE IS975 FOR ALL ENTRIES IN IKN
            WHERE  SSOUR = '' AND VRSIO = '000' 
           AND SPMON IN MON AND SPTAG = '00000000' 
           AND SPWOC = '000000' AND SPBUP = '000000' AND VKORG IN VKORG
          AND VTWEG IN VTWEG AND VKBUR IN VKBUR and PKUNAG = IKN-KUNNR .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;now it is taking a lot of time to execute this query considering that IKN has some 30 or 40 records.. may be it is having too many primary keys but i have passed most of the primary keys in the query...&lt;/P&gt;&lt;P&gt;it would be apperciated if  someone can help..&lt;/P&gt;&lt;P&gt;thanks in advance &lt;/P&gt;&lt;P&gt;syed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Sep 16, 2010 11:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 07:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-table-s975/m-p/7280166#M1531347</guid>
      <dc:creator>syed_ibrahim5</dc:creator>
      <dc:date>2010-09-16T07:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue in table S975</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-table-s975/m-p/7280167#M1531348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've actually done this in a previous assignment, and I think I used table VAKPA as my data source.  I wouldn't use LIS/SIS tables for &lt;STRONG&gt;anything&lt;/STRONG&gt; unless you're going to run in background, and the user has no knowledge or interest in how long the program takes to complete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 15:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-table-s975/m-p/7280167#M1531348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-16T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue in table S975</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-table-s975/m-p/7280168#M1531349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BP is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just note: The phrase "&lt;EM&gt;i have passed most of the primary keys in the query...&lt;/EM&gt;" does not mean the key is used for database access: Only key field in sequence starting with the first one will result in the use of an index, I.e. if the tables index fields are A B C D E F G, use of A, AB, ABC, ... will get the index used, CDE, BCD or EFG will not use the index at all.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Sep 2010 12:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-table-s975/m-p/7280168#M1531349</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-09-19T12:58:58Z</dc:date>
    </item>
  </channel>
</rss>

