About this document
Understanding Binary Search in ABAP by EEE is a document available to read on EtoBox.
The document discusses the intricacies of using BINARY SEARCH when reading data from an internal table in ABAP. The author describes debugging an issue where a record was present in a table but not found using READ TABLE with BINARY SEARCH. Through testing, they determined the table needed to be sorted on the key fields in ascending order for BINARY SEARCH to work properly. While faster for large tables, BINARY SEARCH can produce unexpected results if the table is not sorted correctly on the key fields used
- Author
- EEE
- Language
- EN