12-10-2020 11:09 AM
Hello,
With FM GET_TABLES (or table D010TAB) we can obtain all the dictionary objects used in a program.
This FM doesn't work for classes. Do you know if exists any FM/Table to get all the objects used in a class?
Thanks
12-10-2020 12:10 PM
Hi,
With FM GET_TABLES u can read all the dictionary objects used in a class.
Need to specify class name suffix CP.
CL_ABAP_AAB_UTILITIES=========CP
<class name 30 characters> CL****+ CP = CL****CP (32 characters).
if class name is less than 30 characters then fill remaining characters with =.
regards,
Bhargava
12-10-2020 1:45 PM
The class usage is stored in table WBCROSSGT, but only if the navigation index has been generated for the object (what is looked at by the where-used list feature).
Of course you never see dynamic usage, only ABAP Call Monitor has this information.
NB: the table D010TAB concerns only the last generated "load" of programs i.e. you don't have it filled for those programs never called, and it's not up-to-date if your program changed since the last call. Of course you never see dynamic usage.