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 in update task programmatically

suhaskrishna_sondur
Product and Topic Expert
Product and Topic Expert
1,325

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?

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
968

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.

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
969

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.

Read only

0 Likes
968

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.

Thanks,

Suhas