Hi Pawan,
In sort statement use all key fields, as you are using in read statement with binary search.
You want to make blank if condition is not matching so try this sample code.
if sy-subrc = 0.
sort it_tab by /bic/p_plant
/bic/p_area
/bic/p_areaid
/bic/p_equip
/bic/p_eqnum.
endif.
loop at result_package assigning <result_fields>.
read table it_tab into wa_tab with key /bic/p_plant = <result_fields>-/bic/p_plant
/bic/p_area = <result_fields>-/bic/p_area
/bic/p_areaid = <result_fields>-/bic/p_areaid
/bic/p_equip = <result_fields>-/bic/p_equip
/bic/p_eqnum = <result_fields>-/bic/p_eqnum binary search.
if sy-subrc = 0.
<result_fields>-funct_loc = wa_tab-funct_loc.
else.
<result_fields>-functi_loc = ' '.
endif.
Thanks,
Somesh.