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
Difference between sy-tabix and sy-index? Where it is used?
Can there be more than 1 main window in sap script?
What are the different abap/4 editors?
How do you set up background jobs in sap? What are the steps? What are the event driven batch jobs?
What are the page windows? How many main windows will be there in a page window?
What are two methods of modifying sap standard tables? : abap data dictionary
What are the mandatory fields to be filled for BAPI_CUSTOMER_CREATEFROMDATA1
What will happen when we use single buffered selected?
How table control cn be generated using bdc? : abap bdc
What is modularization and its benefits? : abap modularization
What are the domains and data elements?
What does the ‘suppress dialog’ do?
What are lock objects?
Does the call transaction method allow multiple transactions to be processed by sap?
What are the layers of data description in r/3? : abap data dictionary