简体   繁体   English

如何找到调用此方法的 ABAP 程序/FM?

[英]How to find ABAP program/FM which invokes this method?

I am SAP SD module specialist and I often need to debug code.我是 SAP SD 模块专家,经常需要调试代码。 Sometimes I need to know which programs/FM address particular table.有时我需要知道哪些节目/FM 地址特定表。 I use Where used in SE11 for table and it finds the class methods that address this table.我在 SE11 中使用Where 用于表,它会找到解决该表的类方法。 But when I use Where used for class method the system doesn't find anything.但是当我使用Where used for class 方法时,系统没有找到任何东西。

Do you know how to find program or FM which invokes this method?您知道如何找到调用此方法的程序或 FM 吗?

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.不能保证客户系统上的 SAP 对象的 Where-Used-Index (WUI) 是完整的,因为它需要大量的空间和时间来保持最新。 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.如果需要通过运行您可以生成它SGEN以确保电流负载是存在于所有的SAP对象,您有兴趣,然后运行SAPRSEUB如附注28022.请注意,此计划可能需要数天(!)来完成吴。

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).您可以尝试使用 code_scanner 或 RS_ABAP_SOURCE_SCAN 报告来搜索使用特定表或方法的源文件。

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM