Code: Alles auswählen.
loop AT itab INTO infpz.
loop AT itab2 INTO inbew.
IF infpz-falnr = inbew-falnr.
append inbew-ORGFA to infpz.
ENDIF.
endloop.
endloop.
Code: Alles auswählen.
loop AT itab.
clear inbew.
loop AT itab2 INTO inbew where falnr=itab-falnr.
move-corresponding inbew into itab.
modify itab.
endloop.
endloop.
Code: Alles auswählen.
loop at itab assigning <itab>.
read table itab2 index sy-tabix.
if sy-subrc = 0 and itab2-fall = <itab>-fall.
<itab>-orga = itab2-orga.
endif.
endloop.