‎2007 Apr 13 7:53 AM
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.
‎2007 Apr 13 7:56 AM
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
‎2007 Apr 13 7:57 AM
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
‎2007 Apr 13 8:59 AM
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.
‎2007 Apr 13 9:04 AM
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
‎2007 Apr 13 9:07 AM
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
‎2007 Apr 13 7:57 AM