07-28-2014 4:27 PM
hello
is there any one FM that gives me the type of the object? e.g. if I have a name zxxxxx, then the FM should be able to let me know if this is program or class or method of the class or table or FM etc.
I tried searching on sdn for the same , keep on searching.
thanks
07-28-2014 4:39 PM
Hi
I don't think there a fm like that, object of different types can have the same name, anyway you can try to query in TADIR table in order to find out the type
Max
07-28-2014 4:39 PM
Hi
I don't think there a fm like that, object of different types can have the same name, anyway you can try to query in TADIR table in order to find out the type
Max
07-28-2014 6:19 PM
Hi Sam,
You can use below Select Query to find out
SELECT OBJECT
INTO (OBJECT_TYPE)
FROM TADIR
WHERE OBJ_NAME = "ZXXXXXX".
Hope it helps.
Regards,
Nooru Bohra
07-28-2014 7:24 PM
FM RS_GET_OBJECT. You need to read source code and transfer to FM.
How to read source code you can debug in tr. Code_Scanner.
07-28-2014 8:20 PM
Hi Sam,
Interesting query.Looks like you are trying to figure out what is your object type Zxxx..
You can do a code_scanner for achieving this.
Try TDIR_GET Function module as i have seen it some where in my project.Not sure how much it will be useful for you as i don't have a system currently.
Regards,
Kannan