04-10-2013 5:06 AM
Hello All,
Can we get the the address of an variable in the ABAP Debugger?
Thanks and Regards
CB
04-10-2013 10:18 AM
OK, interesting. Why do you need the variable address? What are you trying to achieve?
04-29-2013 8:10 AM
Hello Matthew,
When I trying to get the concept of "Call by value" and "Call by reference" , I got this thought.
So just trying to know what it is .
Thanks
CB
,
04-11-2013 10:37 PM
Hello Channu,
As far as I know, it is not possible, and as far as I'm concerned, that's a good thing.
It is not possible to get memory address of a variable in ABAP.
You can try it yourself. Declare a reference variable.
For example.
DATA: flag TYPE flag,
gref TYPE REF TO data.
flag = 'X'.
GET REFERENCE OF flag INTO gref.
Check the value of gref in debugger. what you see in the debugger is not the "value".
It is just a representation of the reference.
04-12-2013 11:06 AM
...or similar by using field symbol. You actually do not know the address but can manipulate the field directly.
But would be nice to know what this is for...
08-15-2013 9:09 PM
08-17-2013 8:07 PM
Hi Channu,
Good idea....!!!!!!!!!!!
Pls check if it helps...
http://scn.sap.com/thread/1393837
Thanking You All.