loop at it_upload INTO wa_1.
read table it_upload1 INTO wa_2 with key search = wa_1-search.
if sy-subrc ne 0.
APPEND wa_1 to it_1.
endif.
endloop.
loop at it_upload1 INTO wa_2.
read table it_upload INTO wa_1 with key search = wa_2-search.
if sy-subrc ne 0.
APPEND wa_2 to it_2.
endloop.
endif.