Skip to Content
Former Member
May 10, 2013 at 11:50 AM

Problem with Binary search.


I am looping and internal table, and reading the same internal table inside the loop when certain if conditions are satisfied.
The issue is the Read statement is not successful with the addition Binary search, even though is satifies all the if conditions.
It returns a sy-subrc value as 8.

When i remove the Binary search addition, the Read statement is successful with sy-subrc = 0. I have sorted the internal table before the loop.

Can anyone explain why its happeing so?