3

I am SAP SD module specialist and I often need to debug code. Sometimes I need to know which programs/FM address particular table. I use Where used in SE11 for table and it finds the class methods that address this table. But when I use Where used for class method the system doesn’t find anything.

Do you know how to find program or FM which invokes this method?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Stillatgo
  • 31
  • 1
  • 2
  • You should show your work – MIRMIX Jul 26 '17 at 12:52
  • I encounter the same problem with interface methods which has no alias in the class. When i go to the interface and use there the "where used" it's working. – Togo Jul 26 '17 at 19:17
  • Which method do you mean? Local method in ABAP program? Customer program or standard? Give an example. – Suncatcher Jul 27 '17 at 13:56
  • Possible duplicate of [SAP Where-used list Standard programs](https://stackoverflow.com/questions/8008285/sap-where-used-list-standard-programs) – Jagger Aug 07 '17 at 08:51

2 Answers2

5

The Where-Used-Index (WUI) is not guaranteed to be complete for SAP objects on customer systems because it requires a lot of space and time to keep up to date. You can generate it if required by running SGEN to ensure a current load is present for all the SAP objects you're interested in, then running SAPRSEUB as described in note 28022. Be aware that this program might take days (!) to complete the WUI.

vwegert
  • 18,371
  • 3
  • 37
  • 55
  • For information, the reason why the Where-Used List is delivered incomplete (as per SAP decision) is described in the SAP note [401389 - Where-used list in the Workbench as of Release 6.10](https://launchpad.support.sap.com/#/notes/401389/E). – Sandra Rossi Sep 09 '20 at 15:26
3

You may try to use code_scanner or RS_ABAP_SOURCE_SCAN report to search source files that use particular table(s) or method(s).

http://www.saphub.com/abap-general/abap-source-code-scan/

https://www.berater-wiki.de/ABAP_Source-Scan

st4hoo
  • 2,196
  • 17
  • 25