2007 Mar 09 12:50 PM
Hi
Request you to send me code which assimilates the behavious of binary search algorithm using ABAP
Regards
Gunjan
2007 Mar 09 12:54 PM
the entire binary search algortithm is consolidated into a single statement in ABAP.
sort itab by matnr.
read table itab with key matnr = v_matnr binary search.
REgards,
Ravi
2007 Mar 09 12:56 PM
hi Gunja,
You can use BINARY SEARCH statement in a read table statement to assimilate ..
read table it_mara with key <conditions> binary search.
Regards,
santosh