如果要获得一个function module的Where Used List,我们通常用的办法是使用ABAP workbench里提供的功能。

如何使用代码获得一个function module的Where Used List

where used list显示结果如下:

如何使用代码获得一个function module的Where Used List

但我接到一个任务,在结果列表里还需要显示出使用了指定的function module的代码所属的Package, Application Component和Software Component。

如下图所示:

如何使用代码获得一个function module的Where Used List

因此我只能自己开发一个工具ZCL_CRM_PROD_API_WHERE_USED。执行class的run方法:

如何使用代码获得一个function module的Where Used List

输入要查询的function module名称,执行即得结果。

如何使用代码获得一个function module的Where Used List

工具类的源代码在我github上。

要获取更多Jerry的原创技术文章,请关注公众号”汪子熙”或者扫描下面二维码:

如何使用代码获得一个function module的Where Used List

如何使用代码获得一个function module的Where Used List

相关文章:

  • 2022-01-04
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
猜你喜欢
  • 2021-11-17
  • 2022-01-22
  • 2021-08-29
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案