Skip to Content
0
Former Member
Sep 22, 2008 at 08:11 AM

Read using binary search

1780 Views

Hi,

I have an internal table itab on which I am using READ inside a loop. The READ on itab is being used multiple times inside the loop with different keys.

I have sorted itab with 3 keys before the loop. In one of the READs I am using all the 3 keys but in another READ I am using first 2 keys only.

So is the code fine with BINARY SEARCH on these READs cos I have sorted with 3 keys but Reading with 2 keys in some places.

Please let me know your suggestions.

Thanks,

Abhishek