<?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 Table View not using Indices in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464926#M1650727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We created a new view for a search help. This view is between a header table (DFKKKO) and Items (DFKKOP) where 99.9% of the records have a 1 to 1 relationship between the tables.  The fields in the view either exist in the main index or secondary indices of the joined tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we do the searches on the main tables, we get results quite fast, but we're now experiencing timeouts on the view searches which only leads me to believe it is not using the secondary indices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what we can do additionally?  We're thinking of just creating two separate search helps for each table, but the users are not happy with that solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 12:25:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-05T12:25:01Z</dc:date>
    <item>
      <title>Table View not using Indices</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464926#M1650727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We created a new view for a search help. This view is between a header table (DFKKKO) and Items (DFKKOP) where 99.9% of the records have a 1 to 1 relationship between the tables.  The fields in the view either exist in the main index or secondary indices of the joined tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we do the searches on the main tables, we get results quite fast, but we're now experiencing timeouts on the view searches which only leads me to believe it is not using the secondary indices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what we can do additionally?  We're thinking of just creating two separate search helps for each table, but the users are not happy with that solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 12:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464926#M1650727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T12:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table View not using Indices</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464927#M1650728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could be,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but have you tried this view: V_FKKCO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 12:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464927#M1650728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T12:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Table View not using Indices</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464928#M1650729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- Did you [analyze the execution plan via SQL trace|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801ff1454211d189710000e8322d00/frameset.htm] as the use of a join view main prevent SQL to find the correct index to use ?&lt;/P&gt;&lt;P&gt;- You could use a [search-help exit|http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm], in which you can susbtitute the routine that read data from database with your own logic to improve performance.&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>Thu, 05 Jan 2012 12:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464928#M1650729</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-01-05T12:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table View not using Indices</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464929#M1650730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...which only leads me to believe it is not using the secondary indices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;do not assume! Do a trace and make sure.&lt;/P&gt;&lt;P&gt;Check if MANDT is in the join condition and the indexes involved.&lt;/P&gt;&lt;P&gt;Volker&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2012 17:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view-not-using-indices/m-p/8464929#M1650730</guid>
      <dc:creator>volker_borowski2</dc:creator>
      <dc:date>2012-01-07T17:53:52Z</dc:date>
    </item>
  </channel>
</rss>

