2007 Jun 27 7:24 AM
2007 Jun 27 7:28 AM
hi
first go to t.code se11 then create first index. latter trough first index
create second index.
reguards.
raj.
hi
how we create secondindex?
reguards
madhu
2007 Jun 27 7:27 AM
Hi Raj,
Just goto SE11,
Give table name
Go into the the table
click on the index tab
here you can create the index.
Make sure you alwas has MANDT as first field of index.
Reward points if useful.
Regards,
Atish
2007 Jun 27 7:28 AM
hi
first go to t.code se11 then create first index. latter trough first index
create second index.
reguards.
raj.
2007 Jun 27 7:29 AM
Hi
Primary index : Its the index which is automatically created for the PRIMARY KEY FIELD(S) of the table.
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.
Secondary index : Its created as and when required,
based upon other field(s) of the table,
on which search criteria is used in sqls.
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 columns 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.
go to SE11
enter table name
display
from menu GOTO-> indexes
press create button
enter the fields for which you need the index
save and activate
use those fields in the Where condition of the select statement and see
Reward points for useful Answers
Regards
Anji
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |