Hi Zhang,
Try some logic like below:
Loop at itab1.
read table itab2 with key A = itab1-A.
if sy-subrc is initial.
if itab1 = itab2.
Write : 'Same'.
else.
Write 'Not same'.
endif.
else.
Write : 'Not same'.
endif.
endif.
Endloop.
Hi Zhang,
Try some logic like below:
Loop at itab1.
read table itab2 with key A = itab1-A.
if sy-subrc is initial.
if itab1 = itab2.
Write : 'Same'.
else.
Write 'Not same'.
endif.
else.
Write : 'Not same'.
endif.
endif.
Endloop.