Field Symbols Used As Runtime Variables N Number of Data Types and Variables Can Be Assigned To Fieldsymbols - Declaration Part
Field Symbols Used As Runtime Variables N Number of Data Types and Variables Can Be Assigned To Fieldsymbols - Declaration Part
*field symbols used as runtime variables *n number of data types and variables can be assigned to fieldsymbols *--- Declaration Part data : field(3) type c value 'X23'. data : var1 type i. *--- Declare Field Symbol field-symbols : <f1>. *--- Assignment assign field to <f1>. write: 'Character Value' color 1, <f1> color 2. do. var1 = var1 + 1. if var1 > 3. exit. endif. enddo. assign var1 to <f1>. write:/ 'Integer value' color 1, <f1> color 3. assign sy-datum to <f1>. write:/ 'Date' color 1, <f1> color 4. assign sy-uzeit to <f1>. write:/ 'Time' color 1, <f1> color 5.