Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: Compare every field data of two internal table with same structure

$
0
0

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.


Viewing all articles
Browse latest Browse all 9164

Trending Articles