how to use binary search in internal table?what is the use
of indexes and secondary indexes?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which transaction code can I use to analyze the performance of abap program?

765


What are the abap/4 commands that link to a layout set?

1075


Explain the advantages of different types of bdc's?

733


Which objects are independent transport objects?

1022


What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc

817


What is the purpose of sum statement?

765


What is a match code? : abap data dictionary

839


​​Can multiple abap systems connect to abap database?

821


What is the difference b/t Session method and call transaction method ??

5625


What are the difference between tables and structures?

854


Different types of locks?

804


What are the function modules that are generated when you activate a lockobject? : sap abap data dictionary

767


What is the relationship existing between the various data elements? : abap data dictionary

774


where do we store all custom programs in SD module?

5258


How is the command suppress-dialog useful?

840