what is a field symbol?

Answer Posted / malathy

A field symbol is a pointer you can dynamically assign to a
field. after assignment you can use the field symbol
anywhere in your program in place of the actual field name.
Use the field symbol statement to define the field symbol
and use assign to assign a field to it.field symbols name
must begin and end with an angle bracket.
Here is an example program.

Data : f1(3) value 'ACD'.
field-symbols <f>.
Assign f1 to <f>.
write <f>.
<f> = 'ghh'.
write f1.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between internal tables and extract datasets? : abap modularization

672


1. If I send 5 entries of table from one system to another system, if the only 4 entries there in the target system what I have to do? 2. If I send the customer master IDOC from one SAP system to another system, if one field is missing in target table what is the steps? 3. If I want to access the 4th row 3rd column in the hashed table how to do it? 4. Whether there is any other statement than MODIFY statement to modify the content of internal table?

1418


What are the basic objects of the data dictionary? : abap data dictionary

617


What is the use of the raising exception?

572


What are the types of search helps? : sap abap data dictionary

642






What are domains and data element? : abap hr

604


How do you populate data into a multiple line field?

586


What is match code? : sap abap hr

642


what is the difference between hashed & sorted internal tables?

1639


What are field symbols?

640


On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

596


How do you save data in bdc tables? : abap bdc

590


What is size category?

556


How many types of tables exists and what are they in data dictionary? : abap data dictionary

716


What is alv programming in abap? When is this grid used in abap? : abap hr

683