<?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: regarding index in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544387#M852679</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;check this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for mara table  matnr is the  index field so when ur using the select like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single  matnr from mara into v_matnr where matnr in s_matnr . it will automatically checked by the system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2008 17:51:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-14T17:51:44Z</dc:date>
    <item>
      <title>regarding index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544384#M852676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u create an index in Data Dictionary..how do we call it in a program or report..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 17:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544384#M852676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T17:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: regarding index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544385#M852677</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;&lt;STRONG&gt;Indexes are used to identify uniquely records.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Indexes are used in read statements and where condition of select statements.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary and secondary indexes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index: Technical key of a database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary index: The primary index contains the key fields of the table and a pointer to the non-key fields of the table. The primary index is created automatically when the table is created in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary index: Additional indexes could be created considering the most frequently accessed dimensions of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure of an Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index can be used to speed up the selection of data records from a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index can be considered to be a copy of a database table reduced to certain fields. The data is stored in sorted form in this copy. This sorting permits fast access to the records of the table (for example using a binary search). Not all of the fields of the table are contained in the index. The index also contains a pointer from the index entry to the corresponding table entry to permit all the field contents to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating indexes, please note that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index can only be used up to the last specified field in the selection! The fields which are specified in the WHERE clause for a large number of selections should be in the first position. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only those fields whose values significantly restrict the amount of data are meaningful in an index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you change a data record of a table, you must adjust the index sorting. Tables whose contents are frequently changed therefore should not have too many indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that the indexes on a table are as disjunctive as possible.&lt;/P&gt;&lt;P&gt;(That is they should contain as few fields in common as possible. If two indexes on a table have a large number of common fields, this could make it more difficult for the optimizer to choose the most selective index.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accessing tables using Indexes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database optimizer decides which index on the table should be used by the database to access data records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must distinguish between the primary index and secondary indexes of a table. The primary index contains the key fields of the table. The primary index is automatically created in the database when the table is activated. If a large table is frequently accessed such that it is not possible to apply primary index sorting, you should create secondary indexes for the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The indexes on a table have a three-character index ID. '0' is reserved for the primary index. Customers can create their own indexes on SAP tables; their IDs must begin with Y or Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the index fields have key function, i.e. they already uniquely identify each record of the table, an index can be called a unique index. This ensures that there are no duplicate index fields in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you define a secondary index in the ABAP Dictionary, you can specify whether it should be created on the database when it is activated. Some indexes only result in a gain in performance for certain database systems. You can therefore specify a list of database systems when you define an index. The index is then only created on the specified database systems when activated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 17:37:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544385#M852677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T17:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: regarding index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544386#M852678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't "call" it. The database will analyze your SELECT and use the most appropriate index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless you use hints - which are not usually advisable for production reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 17:41:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544386#M852678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T17:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: regarding index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544387#M852679</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;check this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for mara table  matnr is the  index field so when ur using the select like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single  matnr from mara into v_matnr where matnr in s_matnr . it will automatically checked by the system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 17:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544387#M852679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T17:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: regarding index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544388#M852680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not duplicate or cross post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 18:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-index/m-p/3544388#M852680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T18:22:31Z</dc:date>
    </item>
  </channel>
</rss>

