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

Call stack

Former Member
0 Likes
660

Hi,

how can I get a "Call stack" list - list of functions, methods, forms through my program went till current point a same way how I get it when I in a debbuger click a button "Call Stack".

Thanks.

Marian

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
530

FM 'SYSTEM_CALLSTACK'

2 REPLIES 2
Read only

Sm1tje
Active Contributor
0 Likes
531

FM 'SYSTEM_CALLSTACK'

Read only

Former Member
0 Likes
530

Try using this FM 'ABAP_CALLSTACK'

SYSTEM_CALLSTACK

data : itab type table of abap_call_stack_entry

CALL 'ABAP_CALLSTACK' ID 'DEPTH' FIELD -1

ID 'CALLSTACK' FIELD itab.