<?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 Indexing error .... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008201#M710784</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;&lt;/P&gt;&lt;P&gt;I have written a program and checked with Code Inspector. It gives error : Large Table AFRU : No field of a table  index in where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT aufnr vornr ltxa1 budat xmnga&lt;/P&gt;&lt;P&gt;          grund aufpl aplzl erzet&lt;/P&gt;&lt;P&gt;          FROM afru INTO TABLE it_afru&lt;/P&gt;&lt;P&gt;          WHERE ltxa1 &amp;lt;&amp;gt; space&lt;/P&gt;&lt;P&gt;          AND  aufnr IN aufnr1&lt;/P&gt;&lt;P&gt;          AND  budat IN date1&lt;/P&gt;&lt;P&gt;          AND grund IN grund&lt;/P&gt;&lt;P&gt;          AND erzet IN time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to give indexing ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Oct 2007 11:10:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-27T11:10:13Z</dc:date>
    <item>
      <title>Indexing error ....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008201#M710784</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;&lt;/P&gt;&lt;P&gt;I have written a program and checked with Code Inspector. It gives error : Large Table AFRU : No field of a table  index in where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT aufnr vornr ltxa1 budat xmnga&lt;/P&gt;&lt;P&gt;          grund aufpl aplzl erzet&lt;/P&gt;&lt;P&gt;          FROM afru INTO TABLE it_afru&lt;/P&gt;&lt;P&gt;          WHERE ltxa1 &amp;lt;&amp;gt; space&lt;/P&gt;&lt;P&gt;          AND  aufnr IN aufnr1&lt;/P&gt;&lt;P&gt;          AND  budat IN date1&lt;/P&gt;&lt;P&gt;          AND grund IN grund&lt;/P&gt;&lt;P&gt;          AND erzet IN time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to give indexing ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2007 11:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008201#M710784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-27T11:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing error ....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008202#M710785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two types of Indexes on a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Primary index - Default ( Key fields of a table )&lt;/P&gt;&lt;P&gt;2) Secondary Index - Custom Index (Created to improve the access performance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your select query might not be based on the Primary key fields, that why the Index of the table is not being used for fetching the data from the table using index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2007 18:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008202#M710785</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-10-27T18:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing error ....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008203#M710786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yusuf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a good message to get. It is telling you that your WHERE clause contains no fields in any of the indexes your system may have on this table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a couple of options, incorporate one or more fields that are in one of the active indexes, you can create a new secondary index based on the fields in your WHERE clause (it's not necessary to put all the fields of your WHERE clause into an index but you need help from Basis or performance team if you have, to help determine which fields to create an index with. Basis can analyze the program as it runs to determine the best fields for a new index). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thirdly you can do nothing. But it will be very slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Oct 2007 04:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008203#M710786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-28T04:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing error ....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008204#M710787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no field in the primary key and probably no secondary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create an index you should ask somebody with experience. For example the&lt;/P&gt;&lt;P&gt;field with the '&amp;lt;&amp;gt;' can not use an index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indexes can be created in the DDIC (SE11), but must be activated on the database. The order of field must reflect the selectivity (most selective first).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selectivity can be checked (after creation of draft index version, activation and creation of the index statistics) in the SQL Trace, see explain. Then you could decide which order is optimal. However, to make it really complicated, you should have an eye on other SELECTS working with that table, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overall not recommended for beginners.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008204#M710787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing error ....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008205#M710788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siegfried,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Now it is very clear about indexing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yusuf.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 11:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexing-error/m-p/3008205#M710788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T11:39:30Z</dc:date>
    </item>
  </channel>
</rss>

