如何找到ABAP裡被動態呼叫的update function module
In this SCN discussion, Find a Function Module in Update Task dynamically called, a question is asked. For example, if the update function module CRM_PRODUCT_I_UPDATE_DU is called statically as: CALL FUNCTION ‘CRM_PRODUCT_I_UPDATE_DU’ … Then we can easily find all calling places where this function module is called. On the other hand, if the function module name is determined dynamicall in the runtime, for example: CALL FUNCTION lv_func_name, the where used list will not work. In this case, even though I have already set the breakpoint in update function module itself and the breakpoint is triggered in the runtime, I still could not figure out which programs calls this update function module.
A quick solution is: set a breakpoint at a place where you can ensure that the update function module is not called yet. And create a new Breakpoint by clicking this button:
Specify the following command:
Once set, press F8, and the debugger will automatically stop at all the code place where CALL FUNCTION XXX IN UPDATE TASK exist. By this approach, I have efficiently found the code place where CRM_PRODUCT_I_UPDATE_DU is called.
Further reading
There is another good post How to find out who calls a function module in update task in CRM written by Corrine Guan which contains another useful tip to achieve the same.
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2723180/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP ABAP Function Module 的動態呼叫方式使用方式介紹試讀版Function
- 如何開啟 ABAP Update function module 和系統程式的除錯功能Function除錯
- SAP ABAP CDS view裡的註解在ABAP後臺是如何被解析的?View
- Laravel 如何實現既能靜態呼叫,又能動態呼叫Laravel
- 如何在 SAP BTP ABAP 程式設計環境裡直接呼叫 ABAP On-Premises 系統的 RFC 函式程式設計REM函式
- WinMain是如何被呼叫的AI
- ABAP動態內表
- 如何用程式碼動態生成ABAP型別型別
- 如何找到你喜歡的Premiere的動態圖形模板REM
- 如何使用程式碼獲得一個function module的Where Used ListFunction
- ABAP 動態where語句
- 根據ABAP BAdI definition名稱找到SPRO裡配置路徑的辦法
- 從ABAP Netweaver的SICF到SAP Kyma的Lambda FunctionFunction
- TypeScript 裡的 module 解析過程 - Module ResolutionTypeScript
- ABAP Memory Inspector 裡對動態記憶體物件的記憶體消耗度量方式記憶體物件
- 動態庫的建立和呼叫
- TypeScript 裡的 module 概念TypeScript
- SAP ABAP 程式之間的呼叫
- SAP ABAP和Java的動態代理實現Java
- SAP ABAP Netweaver 裡的 ABAP 會話概念會話
- SAP ABAP呼叫WEBAPI(一)WebAPI
- Python中動態類和動態方法的建立與呼叫Python
- win10如何開啟update_win10update在哪裡開啟Win10
- How to update BOL entity property value via ABAP code
- 如何使用ABAP非同步RFC呼叫提升應用效能非同步
- 車停哪裡忘記了怎麼找到?如何找到自己的停車位置?
- 物件呼叫動態變數物件變數
- java動態代理動態在哪裡?Java
- 淺談Java和SAP ABAP的靜態代理和動態代理,以及ABAP面向切面程式設計的嘗試Java程式設計
- java呼叫c++動態庫之jni呼叫JavaC++
- Vuex原始碼學習(七)action和mutation如何被呼叫的(呼叫篇)Vue原始碼
- 如何把ABAP檢視新增到SAPGUI的收藏夾裡GUI
- VS中呼叫DLL動態庫的方法
- 使用Excel呼叫ABAP系統的函式Excel函式
- SAP SEGW 事物碼裡的 Function ImportFunctionImport
- java動態呼叫c++庫JavaC++
- C++呼叫C#的動態庫dllC++C#
- 呼叫layui.use中function的正確姿勢UIFunction