<?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 indexes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314870#M507423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai experts,&lt;/P&gt;&lt;P&gt; hai i wnt to know what is and index and max how many we can create for a table and how to create and delete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2007 06:31:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-25T06:31:23Z</dc:date>
    <item>
      <title>indexes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314870#M507423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai experts,&lt;/P&gt;&lt;P&gt; hai i wnt to know what is and index and max how many we can create for a table and how to create and delete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 06:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314870#M507423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T06:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: indexes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314871#M507424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;1. What is the difference between primary index and secondary index?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary index : Its the index which is automatically created for the PRIMARY KEY FIELD(S) of the table.&lt;/P&gt;&lt;P&gt;The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary index : Its created as and when required,&lt;/P&gt;&lt;P&gt;based upon other field(s) of the table,&lt;/P&gt;&lt;P&gt;on which search criteria is used in sqls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary indexes should contain columns that you use frequently in a selection, and that are as highly selective as possible. The fewer table entries that can be selected by a certain column, the higher that column&amp;#146;s selectivity. Place the most selective fields at the beginning of the index. Your secondary index should be so selective that each index entry corresponds to at most five percent of the table entries. If this is not the case, it is not worth creating the index. You should also avoid creating indexes for fields that are not always filled, where their value is initial for most entries in the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is better to create few indexes not many&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 06:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314871#M507424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T06:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: indexes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314872#M507425</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;An index can be considered a copy of a database table that has been reduced to certain fields. This copy is always in sorted form. Sorting provides faster access to the data records of the table, for example using a binary search. The index also contains a pointer to the corresponding record of the actual table so that the fields not contained in the index can also be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can search a table for data records that satisfy certain search criteria faster using an index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 06:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314872#M507425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T06:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: indexes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314873#M507426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maximum of 9 secondary indexes permitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 06:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314873#M507426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T06:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: indexes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314874#M507427</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;An index is an efficiency mechanism for quickly finding rows within a table. It is needed because data is stored in a table in the order in which it was added . A table index is a copy of one or more columns stored in sorted order with pointers to the original rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To &amp;lt;b&amp;gt;create a secondary index&amp;lt;/b&amp;gt;: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Display the table. You should begin on the Dictionary: Table/Structure: Display Fields screen. &lt;/P&gt;&lt;P&gt;2.Press the Indexes. . . button on the Application toolbar (or choose the menu path Goto-&amp;gt;Indexes. . .). &lt;/P&gt;&lt;P&gt;3.If secondary indexes already exist, a list of them will be displayed in a dialog box named Indexes for Table xxxxx. To create an index, press the Create button. The Create Index dialog box will be displayed. &lt;/P&gt;&lt;P&gt;4.If no secondary indexes exist, you will not see a list of indexes. Instead, you will see the Create Index dialog box immediately. &lt;/P&gt;&lt;P&gt;5.Enter an index id in the Index ID field. Customer indexes should begin with Y or Z, although the system does not enforce this. &lt;/P&gt;&lt;P&gt;6.Press the Continue button. The ABAP/4 Dictionary: Table: Maintain Index screen is displayed. &lt;/P&gt;&lt;P&gt;7.In the Short Text field, type a description of the index. &lt;/P&gt;&lt;P&gt;8.In the Fld Name column, type the fields that should comprise the index in the order that they should be sorted. &lt;/P&gt;&lt;P&gt;9.If the values in these fields when taken together must always be unique, tickmark the Unique Index check box. &lt;/P&gt;&lt;P&gt;10.Press the Save button on the Application toolbar. The values in the Status fields are now New and Saved, and directly below them the message Does not exist in the database appears. Also, the message Index xxx to table xxxxx was saved appears at the bottom of the window in the status bar. &lt;/P&gt;&lt;P&gt;11.Press the Activate button on the Application toolbar. The system generates SQL and sends it to the RDBMS, creating the index in the database. If successful, the Status fields read Active and Saved, and below the status fields the message Exists in the database appears. The DB Index Name field will contain the name of the index in the database. Also, in the status bar, the message Index xxxxx was successfully activated. is displayed. &lt;/P&gt;&lt;P&gt;12.Press Back. The Indexes for Table xxxxx screen is displayed. &lt;/P&gt;&lt;P&gt;13.Press Cancel to return to the Dictionary: Table/Structure: Display Fields screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To &amp;lt;b&amp;gt;delete a secondary index&amp;lt;/b&amp;gt;: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Display the table. You should begin on the Dictionary: Table/Structure: Display Fields screen. &lt;/P&gt;&lt;P&gt;2.Press the Indexes. . . button on the Application toolbar (or choose the menu path Goto-&amp;gt;Indexes. . .). If you see the Create Index dialog box, no secondary indexes exist for the table, so you cannot delete one. If secondary indexes already exist, a list of them will be displayed in a dialog box named Indexes for Table xxxxx. &lt;/P&gt;&lt;P&gt;3.Double-click on the index you want to delete. The ABAP/4 Dictionary: Table: Display Index screen is shown. &lt;/P&gt;&lt;P&gt;4.Press the Display &amp;lt;-&amp;gt; Change button on the Application toolbar. The screen switches to change mode, and the title of the screen reads ABAP/4 Dictionary: Table: Maintain Index. &lt;/P&gt;&lt;P&gt;5.Choose the menu path Index-&amp;gt;Delete. The Delete Index Definition dialog box appears asking you to confirm the delete request. &lt;/P&gt;&lt;P&gt;6.Press the Yes button to delete the index. You are returned to the Dictionary: Table/Structure: Display Fields screen. The message Index xxxxx deleted appears in the status bar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 06:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexes/m-p/2314874#M507427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-25T06:39:23Z</dc:date>
    </item>
  </channel>
</rss>

