2011 Sep 13 8:14 AM
Hi All,
I need a BAPI or FM to get a list of all Z report program names in the repository.
I can do it through a select query , but it takes a lot of time and is effecting performance.
Thanks
Prafull
Hi All,
I need a BAPI or FM to get a list of all Z report program names in the repository.
I can do it through a select query , but it takes a lot of time and is effecting performance.
Thanks
Prafull
2011 Sep 13 8:21 AM
Hi,
Use the function module 'GET_EXIST' to get the program names
Else
Query tables below for programs and includes
If you are using this for searching, you can filter out the objects starting with "Z","Y","LZ","LY".
D010SINF - programs
D010INC - includes
2011 Sep 13 9:08 AM
Hi Vinraaj,
Thanks for the suggestion but the FM GET_EXIST is taking a lot of time for execution....
F4_REPORT doesnot solve my purpose...
2011 Sep 13 10:50 AM
hI ,
you can use table
DATA: t_trdir TYPE STANDARD TABLE OF trdir,
t_tstc TYPE STANDARD TABLE OF tstc,
s_trdir TYPE trdir.
SELECT * FROM trdir
INTO TABLE t_trdir
WHERE ( name LIKE 'Z%' OR name LIKE 'Y%' )
AND subc = '1'.
regards
Deepak.
2011 Sep 13 8:27 AM
Hi,
don't know whether there is a function for this. But if you do a select on tadir, that will not affect performance:
SELECT obj_name INTO TABLE it_progs
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name LIKE 'Z%'.
Roy
2011 Sep 13 8:40 AM
Hi,
Please verify if F4_REPORT function module meet your criteria.
Regards
Keerthi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |