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 :
The output looks something like this: Print Field Symbols
REPORT
Zfieldsymbols.
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.
The output looks something like this: Print Field Symbols
SAP ABAP training is provided in CHENNAI.
ReplyDeleteTHE CREATING EXPERTS is one of the leading trainer in SAP who provides real time training
http://thecreatingexperts.com/sap-abap-training-in-chennai/
contact 8122241286