Skip to Content
author's profile photo Former Member
Former Member

FM to find Object type


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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2014 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2014 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2014 at 06: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2014 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.