<?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: Multiple selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140470#M1191409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i didnt got what you mean to ask exactly....&lt;/P&gt;&lt;P&gt;can you plz elaborate&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 08:21:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-04T08:21:44Z</dc:date>
    <item>
      <title>Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140469#M1191408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a performance issue on the following select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT kunnr vbeln FROM vakpa&lt;/P&gt;&lt;P&gt;    INTO TABLE t_vakpa&lt;/P&gt;&lt;P&gt;    WHERE kunde IN s_kunnr&lt;/P&gt;&lt;P&gt;    AND   parvw = 'AG'&lt;/P&gt;&lt;P&gt;    AND   vkorg = p_vkorg&lt;/P&gt;&lt;P&gt;    AND   trvog IN r_trvog&lt;/P&gt;&lt;P&gt;    AND   vkbur IN s_vkbur&lt;/P&gt;&lt;P&gt;    AND   vtweg IN r_vtweg&lt;/P&gt;&lt;P&gt;   AND   auart IN r_auart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This select statement is using the variant Z00( vkorg kunde kunnr ) from vakpa table.But the value for kunnr field is not passed in the above select statement.How does the optimiser select this index when value for kunnr field is not passed in where condition?In the selection screen range of values are passed for kunde field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run the sql trace for this select statement in ST05.The number of estimated costs is 953.Instead of passing ranges for kunde field if we use multiple selection for this field,the no of estimated costs is 1.Can anyone suggest me how to improve the performance of this statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 06:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140469#M1191408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T06:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140470#M1191409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i didnt got what you mean to ask exactly....&lt;/P&gt;&lt;P&gt;can you plz elaborate&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 08:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140470#M1191409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T08:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140471#M1191410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume "variant Z00" = "index Z00".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary key: KUNDE, PARVW, VKORG etc.&lt;/P&gt;&lt;P&gt;Your Z00 index: VKORG, KUNDE, KUNNR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you leave S_KUNNR blank and give a single value in P_VKORG, I would choose Z00 as well if I were an optimizer.&lt;/P&gt;&lt;P&gt;Problem is that just VKORG is probably not very selective. In the end, a full table scan is done on VAKPA. This table is only useful when you can specifiy one or few partner numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 08:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140471#M1191410</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-04T08:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140472#M1191411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value for kunde field is passed in the form of ranges in the above select statement.I think because of this it is taking long time for execution of this select statement.Instead if we use multiple selection I think the performance can be improved.If I am wrong please suggest me a correct way to improve the perfomance of this select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 08:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140472#M1191411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T08:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140473#M1191412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean to say the kunnr field is not used in the where condition of the select statement whereas the other 2 fields(vkorg and kunde) were used.Then how can the optimiser select Z00 index?How can we improve the performance of this select statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 08:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140473#M1191412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T08:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140474#M1191413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The indexes are evaluated top down, so even if only the first of three fields is provided, this is better than if the first of many field is &lt;EM&gt;not&lt;/EM&gt; provided.&lt;/P&gt;&lt;P&gt;But do I understand correctly that S_KUNNR actually contains selection values when you run the query? Which ones?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 08:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140474#M1191413</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-04T08:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140475#M1191414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While running the query S_KUNNR has values 11536001 to 11563000.But if the values are  through multiple selection the number of estimated costs is 1.I have checked this in ST05.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140475#M1191414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T09:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140476#M1191415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure about the accuracy of these estimated costs. Maybe an expert in this matter could comment here.&lt;/P&gt;&lt;P&gt;If the range 11536001 to 11563000 represents a large fraction of the overall VAKPA entries, then the optimizer might decide that it is better to access via range scan for index Z00 rather than a full table scan for the primary index.&lt;/P&gt;&lt;P&gt;It might be worth a try to update the table statistics for VAKPA and see if this changes anything.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140476#M1191415</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-04T09:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140477#M1191416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does index 'INDEX SKIP SCAN' mean in explain sql trace in ST05 transaction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 10:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140477#M1191416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T10:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140478#M1191417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A perfect expression for the SAP Help, SDN or Google search box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I found this interesting presentation on CBO cost calculation, now it's just a matter of understanding everything, and it's just a "high level overview"... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0eefeb8-f789-2a10-baab-f7690451bca1" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0eefeb8-f789-2a10-baab-f7690451bca1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 11:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection/m-p/5140478#M1191417</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-04T11:43:27Z</dc:date>
    </item>
  </channel>
</rss>

