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 |
What is the client concept in sap?
the control commands in the report program are atfirst,atnew,atlast,atend of and what is the difference between them
Which dialog programming section is used to initialize a screen's field values?
Explain the disadvantages of logical databases?
WHAT IS MEAN BY XK01, VA01 AND VD01 IN BDC PROGRAMES
How can I get the default values (like date, company code) in module pool programming before the screen is displayed?? I dont wanna use VARIENTS...
What are the system fields? Explain?
What is the significance of at line-selection event?
How to transfer a smartform from Development to Quality Server?
What is luw?
Explain lsmw?
Polindrome Program for string and Polindrome Program for numbers in ABAP