1 LOOP AT IT_A . 2 IT_B-xxx = IT_A-xxx . 3 ... 4 APPEND IT_B . 5 CLEAR IT_B . 6 ENDLOOP .
1 LOOP AT IT_B . 2 READ IT_A WITH KEY xxx = IT_B-xxx . 3 IF SY-SUBRC = 0 . 4 IT_B-... = IT_A-... . 5 ..... 6 ENDIF . 7 MODIFY IT_B COMPARING .... . 8 ENDLOOP .
1 APPEND LINES OF IT_A TO IT_B .
1 IT_B[] = IT_A[] .