Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to find Object type

Former Member
0 Kudos


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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

NooruBohra
Participant
0 Kudos

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

yury_sichov
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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