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

How to fetch ABAP STACK value

Former Member
0 Likes
9,243

Dear all,

In below snapshot, i want value in line number 23 (Current stack) from line number 12.

There is some value in stack nunber 12 , i want to use it into current stack 23.

How to fetch value from stack number 12??? Is it possible with the help of field symbol??

Thanx,

Satyen Trivedi

Dear all,

In below snapshot, i want value in line number 23 (Current stack) from line number 12.

There is some value in stack nunber 12 , i want to use it into current stack 23.

How to fetch value from stack number 12??? Is it possible with the help of field symbol??

Thanx,

Satyen Trivedi

2 REPLIES 2
Read only

Former Member
0 Likes
3,108

Hi

Usually it can try to use field-symbol tecnique:

it can know the value in another program loaded in memory writing the statament:

(<program name>)<variable name>

If you can try to write it while debbugging and yuo can see the value, then you can assign it to a field-symbol in your code.

But it's possible to know global value of course

Max

Read only

Bhushan_hs
Participant
0 Likes
3,108

Hi Satyen trivedi,

You can use the Below method to fetch the non accessible value in your program using the Program Name.

http://www.dataxstream.com/2009/08/use-abap-to-access-any-data-in-memory/

Regards,

Bhushan.