how to use binary search in internal table?what is the use
of indexes and secondary indexes?
Answers were Sorted based on User's Feedback
Answer / abani kanta sahoo
In binary search, the total records are divided in to two
parts. First It will search the particular record in first half and then in second half. Indexs are used to get the data very fast.
Primary indexes are crated during the creation of table it's come by default but secondary indexes are created by user with the fields from the corresponding table according to need.
Table->menu->Goto->indexes
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / anuradha
Mainly while reading data from internal tables we will use binary search.And before using binary search in reading table we need to sort the internal table.And this is one of performance technique.
Indexes also used to increase the performance.
Two types of indexes
1.Primary Indexes 2.Secondary Indexes
1.Primary key in table will act as a primary Index.
2.Secondary Indexes can be created from table level.
Table->menu->Goto->indexes.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / malli.gontla
In binary search, the total records are divided in to two
parts. It will search the particular record in first half
and then in second half. Binary means, dividing in two
parts.
Indexs are used to get the data very fast.
Indexs are 2 types, primary and secondary.
Primary indexes are crated during the creation of table. By
defaultly primary indexes are created. But secondary
indexes are created by used according to user need.
Is This Answer Correct ? | 1 Yes | 4 No |
say in selection screeen (ie is in select-options) i have selected record range from 1000 to 2000 but in the final display list i sholud not get 1200 to 1300 records it should be hide how is it posible
Suppose there is a secondary index on 4 non-key fields A,B,C & D. There are 3 select queries :- a) one on basis of A, B, C , D b) Second on basis of A, B, C c) Third on basis of D, C,B, A In which all situations , the above secondary index will be used?
How to attach a search help? how can you validate the entries in TMG?
what are steps of smart form. pls complete step mail me on :zaheer_guts@yahoo.co.in
what is an user exit?
how to fetch data form without header line internal table ?
What is a drill down report?
What is the significance of delivery class?
What is the structure of a BDC sessions.
how to genernate 21 sencondary index
What are Lock Objects, and their Differences
How to print Back to Back in Scripts?