Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

A small tip to find all classes which are registered to a given event - And how I find this tip via SM50

$
0
0

I would like to get a list of all classes which have methods registered to the event NEW_FOCUS of CL_BSP_WD_COLLECTION_WRAPPER.

 

When I try to use "where used list", I meet with a time out exception. It seems the number of hit are too large.

Also I just would like to get the list of classes which have naming convention for example CL_BSP_WD<XXXX>. However, "where used list" does not allow me to specify any filters.

http://farm8.staticflickr.com/7395/11306057494_806372ba8b_o.png

then I try repository information system in SE80:

http://farm6.staticflickr.com/5521/11306104493_0a3eaeb335_o.png

Unfortunately it just return the class which defines that event.

http://farm3.staticflickr.com/2836/11305995385_d7da8ea6dc_o.png

I know I can use ST05 to find the transparent table which stores the definition of class method. However there is a more rapid way.

Use tcode SM50, then I found the long-running process for where used list function. It clearly shows that the process is reading on view VSEOCOMPDF.

 

http://farm3.staticflickr.com/2821/11306057334_8f13a398a4_o.png

Have a look at this view in SE11:

http://farm6.staticflickr.com/5497/11306104303_499c27f352_o.png  

Then I try with table SEOCOMPODF:

http://farm4.staticflickr.com/3712/11306057214_e47db85d03_o.png

Then I got the list

http://farm8.staticflickr.com/7303/11306057264_04efc8250e_o.png


Viewing all articles
Browse latest Browse all 948

Trending Articles