Hi,
Try,
LOOP AT gt_tab01 INTO gs_tab01.
READ TABLE gt_tab02 with key gs_tab02-field = gs_tab01-field Transporting no fields .
CHECK sy-subrc = 0.
l_index = l_index + 1.
ENDLOOP.
Hope you are checking the content of internal table, then above code will be helpful.
Regards,
Venkat.