You would need to SAPRSEUB. This will enable you to use the where-used functionality of standard SAP programs and provide you with indices of the programs. Please note that this program runs for a long time and require some disk space.
SAPRSEUB is a standard Executable ABAP Report available within your SAP system.
SAPRSEUT Update Object Lists after Transport
SAPRSEUB Generate Where-Used List (For All Programs)
SAPRSLOG Refresh Navigation Indexes and Object Lists
Note that this report needs around 10 GB space in the DB and takes about 2 days to complete.