Application Development and Automation 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: 
Read only

Tcode program names

Former Member
0 Likes
705

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,

2 REPLIES 2
Read only

Laxmana_Appana_
Active Contributor
0 Likes
604

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

Read only

Former Member
0 Likes
604

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,