<?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: Create index on table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103541#M736589</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;loop at itab.&lt;/P&gt;&lt;P&gt;if sy-tabix eq 5.&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;if sy-index eq 6.&lt;/P&gt;&lt;P&gt;assign component sy-index of structure itab to &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2007 06:03:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-20T06:03:06Z</dc:date>
    <item>
      <title>Create index on table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103536#M736584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement wherein i need to create an index on table for a given field.&lt;/P&gt;&lt;P&gt;For eg. I need to create an index on table BKPF for field mandt.&lt;/P&gt;&lt;P&gt;How do i do this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Frank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 05:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103536#M736584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T05:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create index on table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103537#M736585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;copying table and then on the screen change table/structure u have button indexes&lt;/P&gt;&lt;P&gt;i think u can create using them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 05:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103537#M736585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T05:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create index on table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103538#M736586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the link below it gives the details for creating secondary index on the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb47446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb47446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 05:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103538#M736586</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-11-20T05:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create index on table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103539#M736587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&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;CREATION&lt;/P&gt;&lt;P&gt;go to SE11&lt;/P&gt;&lt;P&gt;enter table name&lt;/P&gt;&lt;P&gt;press display&lt;/P&gt;&lt;P&gt;from menu GOTO-&amp;gt; indexes&lt;/P&gt;&lt;P&gt;press create button&lt;/P&gt;&lt;P&gt;enter the fields for which you need the index&lt;/P&gt;&lt;P&gt;save and activate&lt;/P&gt;&lt;P&gt;use those fields in the Where condition of the select statement and see&lt;/P&gt;&lt;P&gt;&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>Tue, 20 Nov 2007 05:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103539#M736587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T05:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create index on table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103540#M736588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1,In SE11 Transaction display your table.&lt;/P&gt;&lt;P&gt;2.press button index... in tool bar, it will ask you &lt;/P&gt;&lt;P&gt;to create a new one.&lt;/P&gt;&lt;P&gt;3.give the index name&lt;/P&gt;&lt;P&gt;4. give short text description&lt;/P&gt;&lt;P&gt;5. in bottom table give the field name on which&lt;/P&gt;&lt;P&gt;you want index.&lt;/P&gt;&lt;P&gt;6. save and activate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 05:58:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103540#M736588</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2007-11-20T05:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create index on table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103541#M736589</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;loop at itab.&lt;/P&gt;&lt;P&gt;if sy-tabix eq 5.&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;if sy-index eq 6.&lt;/P&gt;&lt;P&gt;assign component sy-index of structure itab to &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 06:03:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103541#M736589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T06:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create index on table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103542#M736590</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;   Goto SE11 display table BKPF click on Indexes and create index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 06:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-index-on-table/m-p/3103542#M736590</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-11-20T06:04:32Z</dc:date>
    </item>
  </channel>
</rss>

