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 an Unpack command?

640


How can we determine a vendor is Bloc/Unblock from the table LFA1?

1660


What are the organizational related infotypes? : abap hr

589


when do you need to create an internal table with header line ? and with out a header line?

1493


What are the system fields you have worked with? Explain?

671






How will you insert record in a sorted table

870


​​What is amdp (abap managed data procedures)?​​

644


how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?

1582


BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul

1619


What is sequence number

1752


Explain Catch Command in ABAP?

837


Do you know any other patterns if yes.. explain

875


what is the difference between Blocked ALV and interactive ALV?

1874


What are the differences between primary and secondary indexes?

619


What is the purpose of creating symbolic a/c, what is transaction code for same? Can we assign one symbolic a/c to multiple wage types? : sap abap hr

604