Hi Zongjie,
What`s the difference, if you using loop A into wa_A, read table B into wa_B with all field, then compare with wa_A and wa_B.
The question 2, seems no standard FM available here.
Loop A into wa_A.
Loop B into wa_B.
if wa_A-field1 eq wa_B-field1.
....
endif.
if wa_A-field2 eq wa_B-field2.
....
endif.
.......
endloop.
endloop.
regards,
Archer