本文共 1190 字,大约阅读时间需要 3 分钟。
We know settype table COMM_PRMAT is used to store attribute data modelled in product settype COMM_PR_MAT. In this table, there is one field FRG_GUID.
I would like to figure out how this field is used in ABAP code when this table is accessed.How to find the ABAP code where this table is read with FRG_GUID in a most efficient way?
Approach1: Write a utility method to read sales data via function module CRM_PRODUCT_SALES_READ_API:Write a simple report to consume this method:
Use tcode SAT, click execute button:
Once done, expand trace data:
Click DB tables, all accessed database tables are listed in this tab. Choose “Position in the Hit List Tool” from context menu:
Double click statement:
Then it automatically navigates to the code position where this table is accessed.
Set a breakpoint:Then confirm it in the runtime via debugging. Now we can also know the reason why this code place could not be found in where used list on table COMM_PRMAT : it is accessed dynamically via SELECT SINGLE * FROM (gc_set_table).
Approach2: run the report under ST05, and click button highlighted below, it can bring you to code where this table is accessed as well.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
转载地址:https://jerry.blog.csdn.net/article/details/104124237 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!