Get Example source ABAP code based on a different SAP table
• NEW AT - itab (obsolete) • END OF AT - itab (obsolete)
AT field_symbol>
ABAP_SYNTAX_OBS AT> ${NEW$}$|${END OF$} < fsi>>.
What does it do? If the additions INTO wa> or ASSIGNING <(><)>> are used in the statement LOOP>>, a field symbol < fsi>> can be specified after AT ${NEW$}$|${END OF$}>>, outside of classes. The associated component of the work area wa> or the field symbol <(><)>> is assigned to this field symbol.
Latest notes: This form of specifying components dynamically has been replaced by (name)>>. ABAP_HINT_END
ABAP_EXAMPLE_BAD name = 'WA-COL1'.> ASSIGN (name) TO < comp>.>
LOOP AT itab INTO wa.> AT NEW < comp>.> ...> ENDAT.> ENDLOOP.> ABAP_EXAMPLE_END
ABAP_EXAMPLE_GOOD name = 'COL1'.>
LOOP AT itab INTO wa.> AT NEW (name).> ...> ENDAT.> ENDLOOP.> ABAP_EXAMPLE_END