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

Regarding how to find out a program is User Exit/executable

Former Member
0 Likes
672

Hi,

Can anybody tell me how can we find wether a particular program is used in executable program (or) user exit program?

One thing we can find out is wether the program type is 'I' or 'R' etc..

Thanks in advance.

Thanks,

Deep.

6 REPLIES 6
Read only

Former Member
0 Likes
647

Hi,

Just use where_used_list button on the menu to find where that include is used.

there is no table to store the Includes and their main programs.

reward if useful

regards,

Anji

Read only

Former Member
0 Likes
647

if program is called thru perform statemetns or dynamiclly u cannt figure out.

part for this u can just navigate program by clicking where user list.

Regards

Prabhu

Read only

0 Likes
647

Hi,

I am not asking to manually findout.

But i am calling one program[PRG1] in my other program[PRG2]

i want to find out wether PRG1 is used in User Exit (or) Executable program in my program[PRG2].

Here PRG1 we can think as it is a Include program of Program Type 'I'.

Thanks,

Deep.

Read only

0 Likes
647

Check in the table TRDIR

select single SUBC from TRDIR into v_subc where NAME = 'PRG1'.

if sy-subrc = 0.

if v_subc = 'I'.

Write:/ 'It is an Include program'.

endif.

endif.

Regards,

Ravi

Read only

0 Likes
647

Hi,

The include Program can be used in any other program like module pool, executable , user exit etc.

So i dont think we can find out it programatically.

Thanks

sandeep

Read only

Former Member
0 Likes
647

Hi...

See the following links..

it helps you a lot..

Hope it helps you...

Let me know if u have any more doubt...

Reward points if useful......

Suresh.......