Skip to Content

Call stack in update task programmatically

Jun 22, 2017 at 11:18 AM


avatar image
Former Member

Hi all,

I have a requirement to identify the calling program/FM for a FM. that is called in update task. Here the FM 'SYSTEM_CALLSTACK' is not of much help to me, as it gives me the standard programs that trigger the update FMs.

In short, is there a way to get the call stack in the update FM by the program.. that made the call to the FM?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sandra Rossi Jun 25, 2017 at 01:39 PM

I have never seen such a feature, so I would say it's impossible. Instead, SAP gets the information where it's called from before calling the function module in the update task, and pass the answer as a parameter.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for your answer Sandra. I have also, so far, not been able to find any way to do this. I would also assume that it is impossible. For now, we have gone ahead with a work-around.