Hi Nitin,
The above code will work fine but you must have forgotten to add a check for LV_HSLVT and WA_TABLE1-HSLVT equal to zero.
loop at it_glt0 INTO wa_glt0.
clear : wa_glt0_1
READ TABLE it_glt0 INTO wa_glt0_1 WITH KEY racct= wa_table-racct drcrk = 'H'.
move wa_table1-hslvtto lv_hslvt.
CLEAR wa_glt0_1.
READ TABLE it_glt0 INTO wa_glt0_1 WITH KEY racct= wa_table-racct drcrk = 'S'.
if wa_table1-hslvt eq 0 and lv_hslvt eq 0.
delete it_table WHERE racct= wa_table-racct.
ENDIF.
ENDLOOP.
Now the code will work fine