zl程序教程

您现在的位置是:首页 >  其他

当前栏目

使用ST05研究customer product id存储逻辑

逻辑存储 研究 ID Customer product 使用
2023-09-14 09:02:51 时间

Created by Jerry Wang, last modified on Nov 24, 2014

Product overview page里有一个assignment block "Customer Product IDs",其实现是通过一个relationship完成.

如果我们希望研究其后台存储的逻辑,

clipboard1

 

先使用ST05打开SQL trace, 然后新添加一行,关闭并显示trace:

clipboard2

 

clipboard3

 

这里能看出这个relationship存储的DB table是COMM_IL_PRDCPN. 选中SQL statement里包含INSERT语句的那行,点Display with variable Names:

clipboard4

 

得到如下显示,

clipboard5

 

上图的A0,A1... A10分别对应了database table的每一个field:

clipboard6

 

选择Display call hierarchy即能看到callstack:

clipboard7

 

clipboard8