Opportunity在Fiori cloud system上編輯之後超時的根源分析

# Sent: Friday, April 17, 2015 1:29 PM

Subject: RE: Opportunity在Fiori cloud system上edit之後timeout的root cause

I checked CRZ system log and found the error root cause shown like below screen-shot. The hostname not found. It’s probably the RFC caller host.

Opportunity在Fiori cloud system上編輯之後超時的根源分析

這個問題果然和我過去遇到的很多個問題一樣,

我具體的分析過程如下:

Cloud上一執行到這個RFC class就死了:

Opportunity在Fiori cloud system上編輯之後超時的根源分析

觀察他的callstack:

Opportunity在Fiori cloud system上編輯之後超時的根源分析

這個function module只是一個wrapper,真正的實現是在JAVA裡做的。而且整個function group已經mark成deprecated了,這是一個系統配置的問題。

為什麼cloud上有的opportunity能edit,有的不能?

只要是opportunity裡的pricing數據維護使得pricing的計算會進入到line 197,一定會掛掉。不同的opportunity 的pricing數據維護得不一樣,會導致line 189開始會進入if或者else分支。

Opportunity在Fiori cloud system上編輯之後超時的根源分析

Problem Analysis:

The time out problem occurs when executing odata function import EditAuthrizationCheck, which source code lies in the redefined method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~EXECUTE_ACTION of class CL_CRM_OPPORTUNITY_DPC_EXT.

Opportunity在Fiori cloud system上編輯之後超時的根源分析

I found the time out issue occurred at function module crm_lock_object -> crm_order_read -> crm_order_read_ow. You can trace down from there.


分享到:


相關文章: