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

Where-used-list for many objects

Clemenss
Active Contributor
0 Kudos
2,887

Hi,

we are in the process of cleaning up our system.

We have thousands of Z-objects we don not know for sure if and where they are used.

Is there any report or function we can use to to a mass-where-used-list for those objects (most of them functions).

OK, we know that we have no chance to detect dynamic calls, but at least we can rule out objects that are still in use.

Thanks.

Regards,

Clemens

9 REPLIES 9
Read only

Former Member
0 Kudos
801

just check transaction <b>se84</b>

program library---->program (range is there)

execute it and use where use list.

Read only

0 Kudos
801

kishan negi

you can do where-used list in se84 only for single objects.

Please try before posting!

regards,

Clemens

Read only

Former Member
0 Kudos
801

Hi,

The following Standard Program can be used to search for the string.

Maybe it will be of help

<b>RPR_ABAP_SOURCE_SCAN</b>

Read only

0 Kudos
801

what question was it?

Read only

andreas_mann3
Active Contributor
0 Kudos
801

hi,

so create your own prg.

1) select all your z-objects

a) fm from tfdir

b) tables from dd02l

c) data el. from dd04l...

analyse your results from 1)

2)

submit abap RPR_ABAP_SOURCE_SCAN
           with repname  in ...(Z*)
           with DEVCLASS in ...(Z*)
           with SSTRING = tfdir-funcname

...

A.

Read only

Clemenss
Active Contributor
0 Kudos
801

OK, yes, we did it the hard way - some programming, some code scan, some human intervention.

Regards

Clemens

Read only

Former Member
0 Kudos
801

Clemens,

Can you share any documentation or code from your project for cleaning up Z-objects?

We are about to do same.

Thanks,

Micheal Kelly

Read only

Vaibhav_SAP
Newcomer
0 Kudos
340

Hi All,

Have anyone found the solution to find dependent object i know this is late post but we have one requirement which need to scan multiple custom reports/transaction codes where all they are used.

Can you let me know a pseudo code or any standard code which will help. I have tried RSDEPEND,RS_ABAP_SOURCE_SCAN. These do not solve the purpose

Read only

0 Kudos
251

We had a similar issue, because we wanted to find out, in preparation to go from ECC 6.0 to Hana, which Z-Objects are still used. So we used the functionalities of SUSG and SCMON to write the trace into the SCMON* tables. We kept in the SUSG we default value of 1 week, to not overload the SCMON tables and created a job to download on a weekly bases the entries for the Z* objects in the tables. So we build a directory of Z-objects. I hope it helps.