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
How do you use structures in the abap programs?
How do you send files to the legacy systems from SAP and vice versa? How does one know that the legacy files have come on to the SAP server you are working on?
I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.
What are the three components of a work process?
How can we upload a text file having delimiters in to legacy system?
What is the step-by-step process to create a table in data dictionary? : abap data dictionary
Folder types in smatforms? 2)What is Command line?
What is the structure of the bdc table? : abap bdc
In Table Field when display the Name, whose first charecter should be capital letter and rest will be small letter.
What are uses of foreign key?
How collect statement is different from append?
How will you insert record in a sorted table
how to update the filed value in SAP in ZAWSYS and create time and date? please tell me the answer
In what ways we can get the context sensitive f1 help on a field?
What are the different types of parameters? : abap modularization