New ABAP Read Table with VALUE construct
Thew NEW READ Table must be enclosed within TRY… CATCH…ENDTRY when the read is not successful.
In addition, VALUE construct with OPTIONAL can be added to the NEW Read statement, so that the exception handling is not required when the read is not successful.
nice explanation but, one doubt. What about the sy-subrc?
What about the sy-subrc?
In both case , whether the READ is a success/failure, the return code SY-SUBRC = 0 .
Thank you, Siva. One more thing is can we use binary search with this? If yes, pls let me know the syntax.