Skip to Content
avatar image
Former Member

Call stack in update task programmatically

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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.

    Add comment
    10|10000 characters needed 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.