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 |
difference between user exit and customer exit dont tell both are same but there is another difference is there if anybody knows reply immediately
what is Application server?
what is the difference between Blocked ALV and interactive ALV?
what is meant by enhancement category?
how to genernate 21 sencondary index
Why is pretty printer user in abap?
How will u handle the situation – In a report using function module to generate a IDOC, How will u handle the error IDOC in the same report ?
what happend if a select statement inside aloop....
In two structures S1 and S2 having same structure of five fields each how can You transfer data from S1 to S2 ?
How collect statement is different from append?
What is the max no of match code id's that can be defined for one match code object? : abap data dictionary
How you will send mail from one SAP system to other SAP system?