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

Tcode program names

Hi everyone,

Im facing a problem. I created an ABAP report, that uses several FM's, in order to obtain all the field names, label, screen numbers, and other objects that are contained inside a transaction. The only problem that i have, is that as you may know 1 transaction can have several programs in it. Unfortunately the FM's that im using just identify the fist program called. i.e. in tcode me23n, the first screen present a tabstrip. in some of the tabs the program names are different, unfortunately, i cant know the names of the others programs inolved, using these FM's.

I hope somebody outthere has any other FM that might solve my problem or some table names where i can find that information.

By the way, the FM's that im using are :

- RPY_DYNPRO_READ

- RS_IMPORT_DYNPRO

- RPY_PROGRAM_READ

And the table that i have been using are:

tstc, tstct, d020s, d020t, dd03l, dd04t, SSCRFIELDS

So, if somebody, has any other suggestion or comment , i will really appreciate it.

Regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 28, 2006 at 06:46 PM

    Hi,

    i am not clear on your question , you can find the includes of a program using below function modules.

    RS_GET_ALL_INCLUDES

    GET_INCLUDETAB

    (or)

    use below code to get includes of a program :

    DATA : BEGIN OF i_tadir OCCURS 0,
         object LIKE tadir-object,
         obj_name LIKE tadir-obj_name,
    END OF i_tadir.
    

    SELECT object obj_name 
    FROM tadir
    INTO TABLE i_tadir
    WHERE obj_name = x_progname.

    if you want more details on program object details check these tables also.

    TADIR, TFDIR, TRDIR

    Regards

    Appana

    *Reward Points for helpful answers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2006 at 12:50 AM

    I verified those FM's but the information im looking for isn't there.

    For example if you go to tcode me23n. You will see the screen is divided in 2 sections the Header and the Item section. On the Item section you will find a tabstrip control with several tabs. Well, some of those tabs, have a different program name. The main program used in the tcode is SAPLMEGUI, but in at least 3 tabs you will see that the program name may vary. So, that is what im trying to find.

    On the FM's that were posted, the includes list does not display any of the programs used on the tabstrip control.

    Hope i explained my self .

    Regards,

    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.