天天看点

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

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

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

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

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

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

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

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

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

得到如下显示,

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

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

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

选择Display call hierarchy即能看到callstack:

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