如何找到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除錯
- ABAP FUNCTION 遠端呼叫的一個引數Function
- SAP ABAP CDS view裡的註解在ABAP後臺是如何被解析的?View
- 常用的ABAP functionFunction
- 常用Function ModuleFunction
- ABAP 動態 SQLSQL
- Laravel 如何實現既能靜態呼叫,又能動態呼叫Laravel
- 如何在 SAP BTP ABAP 程式設計環境裡直接呼叫 ABAP On-Premises 系統的 RFC 函式程式設計REM函式
- 如何用程式碼動態生成ABAP型別型別
- ABAP動態內表
- WinMain是如何被呼叫的AI
- 如何找到你喜歡的Premiere的動態圖形模板REM
- Ruby如何實現動態方法呼叫
- Hibernate 動態Update的問題
- ABAP 常用FUNCTION集錦2Function
- ABAP 常用FUNCTION集錦1Function
- ABAP 動態where語句
- 如何使用程式碼獲得一個function module的Where Used ListFunction
- TypeScript 裡的 module 解析過程 - Module ResolutionTypeScript
- TypeScript 裡的 module 概念TypeScript
- 根據ABAP BAdI definition名稱找到SPRO裡配置路徑的辦法
- SAP ABAP 常用FUNCTION集錦(轉)Function
- MRP清單的動態和靜態ABAP的取法
- ABAP Memory Inspector 裡對動態記憶體物件的記憶體消耗度量方式記憶體物件
- SAP ABAP Netweaver 裡的 ABAP 會話概念會話
- SAP ABAP和Java的動態代理實現Java
- java動態代理動態在哪裡?Java
- 動態庫的建立和呼叫
- BIRT呼叫oracle function薦OracleFunction
- win10如何開啟update_win10update在哪裡開啟Win10
- SAP ABAP 程式之間的呼叫
- java動態呼叫webserviceJavaWeb
- VC動態呼叫DLL
- 如何把ABAP檢視新增到SAPGUI的收藏夾裡GUI
- SAP ABAP呼叫WEBAPI(一)WebAPI
- 如何使用ABAP非同步RFC呼叫提升應用效能非同步
- 從ABAP Netweaver的SICF到SAP Kyma的Lambda FunctionFunction