I have been using a function module for a long time which is called by quite a number of programs. Now I want it to react differently dependent on the calling program.
I could use a new optional parameter of course transferring the program id. In that case I have to change quite a number of programs.
I was just wondering if there is a possibility to get the information of the calling program on the fly. (In the debugger you can find your calling program easily in the 'call stacks'). Does anyone know how to retrieve this information?
Thanks in advance.