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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the differences between abap and ooabap. In which situation we useooabap?

715


If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?

1248


Interactive Report that list purchase order details of a vendor. When the user double clicks on material number it shows detail list with fields matkl, meins, brgew, ntgew, gewei.The selection screen consist of sales organisation, distribution channel and material number. plz mention the detail coding Tahnks, Rahul

3261


What is a persistent class?

972


What are the components of sapscript?

627






Table events aNd table maintains generation

989


1)can any body tell the transport request number concept and 2)there are 3 screens in one screen u have uploaded the resume and second screen also u have done the same thing but when u are uploading the resume in third screen u got some error in somewhere else but whatever u have uploaded the resume in 1 and 2 should not

1653


in bdcsome times we get the ok code for "enter" wrongly instead of '/00'.what is the reason.how we can exceed this problem.

1723


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

1706


What is table pool?

579


Which function modules can be used to transfer the data using bdc programming? : abap bdc

596


How can we determine a vendor is Bloc/Unblock from the table LFA1?

1656


What is the different between template and a table?

606


What is difference between dialog program and a report?

593


What are the prerequisites for creating foreign key relationship?

667