Application Development 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: 

Call stack

Former Member
0 Kudos

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

Sm1tje
Active Contributor
0 Kudos

FM 'SYSTEM_CALLSTACK'

2 REPLIES 2

Sm1tje
Active Contributor
0 Kudos

FM 'SYSTEM_CALLSTACK'

Former Member
0 Kudos

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.