Application Development 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: 

Bapi/Fm to get all report program names

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

0 Kudos

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...

0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Please verify if F4_REPORT function module meet your criteria.

Regards

Keerthi