Howto find according object via object directory entry?
I need to write a program that checks an ABAP source whether it is a local object ($TMP) or not. I know that I can search for the DEVCLASS in table TADIR. But in order to do so I first need to get the according object from the object directory entry of this ABAP source.
For example, I could check the function module "ZZZ_FUNCTION_MODULE", which is a function of the group "ZZZ_FGROUP". The according object directory entry is therefore "R3TR-FUGR-ZZZ_FGROUP". My qustion is: how can I map from "ZZZ_FUNCTION_MODULE" to "R3TR-FUGR-ZZZ_FGROUP"?
Thanks in advance for your help!
Kind regards; Matthias