天天看點

使用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存儲邏輯