Can we use binary search in internal table sorted in decending
order ? if no why?

Answer Posted / arpit gupta

Algorithm wise Binary Search works with sorted data both ascending or descending , but in ABAP to perform binary Search Data Must be sort in ASCENDING order, So the answer to the question is NO

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Select up to 1 row and select single difference ?

830


What are the basic functions of database utility? : abap data dictionary

823


What is gui status? How to create /edit gui status?

812


What is the difference between call transaction method and the session method? : abap bdc

723


Do you know any other patterns if yes.. explain

1049


What do is landscape in sap project, I think its related to no. Of servers used, pls correct me if I am wrong, or what it is? : sap abap hr

719


out bound process code for quotation?

1742


What is a size category? : abap data dictionary

835


what are the 2 other types of views, which are not allowed in release 3.0? : abap data dictionary

797


In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically?

879


What are the different methods of passing data?

837


What are base tables of an aggregate object?

834


Is it possible to run host command from SAP environment? How do you run?

824


What is get cursor field?

1104


Can we use transfer dataset to transfer data in internal table ?

1855