SAP Fiori應用裡出現http request錯誤的原因分析

注销發表於2020-09-07

Issue: When you try to create a new Opportunity in Fiori, you meet with the following error message in UI:


SAP Fiori應用裡出現http request錯誤的原因分析


Click “Show Details” hyperlink:


SAP Fiori應用裡出現http request錯誤的原因分析


Click F12 to open Chrome development tool, you could see more detail about this error. The exception has prefix “IWBEP” which indicates this exception occurred in the backend system.


SAP Fiori應用裡出現http request錯誤的原因分析


Log on to backend system, set a breakpoint on CONSTRUCTOR of exception class /IWBEP/CX_MGW_BUSI_EXCEPTION, repeat the step in Fiori UI. The breakpoint is triggered as expected: From the callstack in debugger we can know the incomplete customizing means the process type to be used in Fiori has not been configured in backend system yet: the error message is raised because lt_processtype is initial.


SAP Fiori應用裡出現http request錯誤的原因分析


Then scroll up the code a little bit, and then we can find the context and reason why lt_processtype gets empty.


SAP Fiori應用裡出現http request錯誤的原因分析


要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":

SAP Fiori應用裡出現http request錯誤的原因分析


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2717555/,如需轉載,請註明出處,否則將追究法律責任。

相關文章