Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference between Field Symbol and Data Referenece

Former Member
0 Likes
493

Hi Friends,

I am a bit confused so far as the concepts of Field Symbol and Data reference is concerned.

Say, I declare a variable "var" of type "integer(I)" with default value " 5 ".

Somewhere in the memory, this variable is going to be craeted and lets assume that the memory address in which it is stored is "1000".

Suppose i declare a field symbol (FS) and Data refernece variable (DS).

If i assign Var to FS or DS, then who will hold the memory address 1000 ?

How it works ?

Regards,

Debi

Moderator message: not relevant for ABAP development practice, please search for available information about SAP/ABAP memory management.

locked by: Thomas Zloch on Sep 9, 2010 9:37 AM

Hi Friends,

I am a bit confused so far as the concepts of Field Symbol and Data reference is concerned.

Say, I declare a variable "var" of type "integer(I)" with default value " 5 ".

Somewhere in the memory, this variable is going to be craeted and lets assume that the memory address in which it is stored is "1000".

Suppose i declare a field symbol (FS) and Data refernece variable (DS).

If i assign Var to FS or DS, then who will hold the memory address 1000 ?

How it works ?

Regards,

Debi

Moderator message: not relevant for ABAP development practice, please search for available information about SAP/ABAP memory management.

locked by: Thomas Zloch on Sep 9, 2010 9:37 AM

1 REPLY 1
Read only

Former Member
0 Likes
445

so first tell me how you would create a data reference to that variable.