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 |
Can we call one program(not include) from another program?
2 Answers Altrion Technologies,
how does data gets transported/transfered between a screen & ABAP praogram in a dialog?
what is an instance?
Explain the concept of clusters in payroll
Explain the SmartForm with an Example?
Explain the concept of clusters in payroll
How to insert data in ternal table?
What is the difference b/w BAPI and Function module
what is the sap standard script for picking list?
Which one is better joins or views and why?
as a developer how u will decided which internal table we will use for requirement?
how to sort numbers in sap-abap using internal tables without using sort technique.
3 Answers NNN, NTT Data, TPCUS,