‎2007 Sep 07 1:35 PM
Hi experts,
i have on easy question for you.
I am looking for a possibility to know the name of the function module via variable.
Normaly i have for example SY-REPID with the name of the Report. Is there something for function modules also?
Thank you for your help
Thorsten
‎2007 Sep 07 10:58 PM
Actually...There's not...But you could create a global variable and assign the name of the FM into it...
Greetings,
Blag.
‎2007 Sep 07 11:37 PM
Hi Thorsten,
this function may help you (although I ´was told it's time-consuming):
*Get system callstack
CALL FUNCTION 'SYSTEM_CALLSTACK'
IMPORTING
ET_CALLSTACK = GT_SYS_CALLST.
Regards,
Clemens