One of the most useful of Field Symbols in ABAP is Dynamic assign statement, meaning if you don't know the name of field to assign to the field symbols during writing your program, you can use this :



PERFORM form2.
FORM form2.
  DATA name(20) TYPE c VALUE 'Print Field Symbols'.
FIELD-SYMBOLS <fs> TYPE ANY.
  ASSIGN name TO <fs>.
    WRITE / <fs>.

ENDFORM.



Serkan AKKAVAK
Computer Engineer
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com