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

System variable to know calling program

Former Member
0 Likes
622

hi all,

I am calling Z3 program from Z1 and Z2 program using call trsanction statement.

So during debugging of Z3 program, how can I know whether its called from Z1 or Z2 or executed on own?

Is there any system variable? I tried checking structure SYST but not useful.

Thanks,

Sachin

1 REPLY 1
Read only

Former Member
0 Likes
373

use the FM SYSTEM_CALLSTACK to read the stack . Hence u can determine which program it was called from .