‎2020 Feb 10 6:47 PM
how to use read stmts and append stmts inside the loop -endloop using the field symbols
‎2020 Feb 10 6:59 PM
Hi,
This blog might give you some more insights on using field-symbols:
https://blogs.sap.com/2017/09/05/dynamic-programming-in-abap-part-1-introduction-to-field-symbols/
Using field-symbols inside or outside a loop doesn't really matter, the principles are the same.
Best regards,
Geert-Jan Klaps
‎2020 Feb 10 7:03 PM
You need to clarify your question and actual problem.
Those that are able to help out don’t want to play the guessing game.
‎2020 Feb 11 9:01 AM
data: it_mara type table of mara,
it_makt type table of makt,
it_final type standard table of typ_final,
field-symbols : <fs_mara> like line of it_mara,
<fs_makt> like line of it_makt.
<fs_final> type type typ_final.
loop at it_mara assigning <fs_mara>.
append initial line to it_final assigning <fs_final>.
read table it_makt assigning <fs_makt> with key matnr = <fs_mara>-matnr.
endloop.try it with your logic....if u need any clarification ping me...
regards...
‎2020 Feb 11 12:29 PM
field symbols are basic concepts in ABAP for which you can already find a lot of info by searching the web.