Please help me understanding field symbol and data reference.
I have few querries -
(1) Since both of them serve the same purpose, then what is the advantage of one over other ? It is said that field symbol points to a variable that means the field symbol holds the memory address of the variable just like Pointers in C. Then Please mention how Data reference works. I guess it also points to the data objects. Then why SAP has come up with two different concepts which solve the same problem. What is the underlying principle for both?
(2) Where we should write our code using field symbol and where to use Data refernce ?