2009 May 14 9:55 AM
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
2009 May 14 9:58 AM
FM 'SYSTEM_CALLSTACK'
2009 May 14 9:58 AM
2009 May 14 10:00 AM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |