I want to keep a User-exit from running when it is ran from LT23, but I want it to work from LT11. The problem is when the function to confirm the TO is executed in LT23, it does a call transaction to LT11.
So, in the user-exit SY-TCODE has LT11 in it.
I have tried using SYSTEM_CALLSTACK and the first program in there is the initiating program for LT11, SAPML03T.
So, does anyone know a way to be able to find that either LT23 or the program RLLT2300, was the calling program for the CALL Transaction to LT11?
Any help would be greatly appreciated.