Code: Alles auswählen.
LOOP AT gt_games INTO gs_games.
CLEAR gs_games_publisher.
MOVE-CORRESPONDING gs_games TO gs_games_publisher.
APPEND gs_games_publisher TO gt_games_publisher.
ENDLOOP.
LOOP AT gt_publisher INTO gs_publisher.
CLEAR gs_games_publisher2.
MOVE-CORRESPONDING gs_publisher TO gs_games_publisher2.
APPEND gs_games_publisher2 TO gt_games_publisher.
ENDLOOP.
Code: Alles auswählen.
loop at gt_games into gs_games.
clear gs_games_publisher.
move-corresponding gs_games to gs_games_publisher.
loop at gt_publisher into gs_publisher where publishid = gs_games-publishid.
" Felder von gs_publisher in gs_games_publisher übertragen
append gs_games_publisher to gt_games_publisher.
endloop.
endloop.
Code: Alles auswählen.
loop at gt_games into gs_games.
clear gs_games_publisher.
move-corresponding gs_games to gs_games_publisher.
read table gt_publisher into gs_publisher with key publishid = gs_games-publishid.
" Felder von gs_publisher in gs_games_publisher übertragen
append gs_games_publisher to gt_games_publisher.
endloop.