When you display info set there is an option called 'Extras' where we can have your custom code ( code tab ).
Here once you retrieve your data into the <internal table>. then move the corresponding values to ZA005.
option 1 . <internal table>[] = ZA005[]. - same structure . you don't need if the structure as same as you can pass the values directly via Select statement.
option 2:
Loop at <internal table> into <wa>.
MOVE <wa> field to <structure> fields.
APPEND <structure> INTO ZA005.
Endloop.
put a break-point in the Code Section. and generate the program and execute and verify the data.