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: 

Dic objects used in class

oliver_am
Participant
0 Kudos

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

2 REPLIES 2

BhargavaReddy
Active Participant

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

Sandra_Rossi
Active Contributor
0 Kudos

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.