Skip to Content
0
Former Member
Jun 12, 2007 at 05:50 AM

how to read an hash table

2324 Views

SELECT lifnr

name1

stcd1

stcd2

FROM lfa1 INTO TABLE fp_i_lfa1

FOR ALL ENTRIES IN fp_i_bsik

WHERE lifnr = fp_i_bsik-lifnr.

IF sy-subrc = 0.

sort fp_i_lfa1 by lifnr name1 stcd1.

endif.

now i want to read the table

read table fp_i_lfa1 into l_wa_lfa1 with key lifnr = l_wa_bsik1-lifnr

binary search.

but iam getting error as lfa1 is an hash table

then in what way i have to read.

Regards,

Sunil.