引起SAP WebClient UI頁面出現超時(time out)錯誤的另一個原因
Sometimes you would see the following page if you are clicking anywhere in a page which is idle for quite a long time.
However, there are definitely some other causes which would also lead to this timeout page – the session itself is not timeout, instead within the session, there are some exceptions raised in the backend and caught by the UI framework. As a result you could not see any dumps in ST22, and this timeout page would sometimes lead you to the wrong way of trouble shooting. For example in this thread, some friend is suggesting to enlarge the related timeout profile in RZ10. For sure that would definitely not work, since the issue in the thread is nothing to do with the real timeout issue, but instead the exception caused by a custom enhancement.
I would share with you my example how to find the root cause of this kind of I call it “pseudo” time out issue in an efficient way:
My example
click the Service Order ID for the first time, nothing happened. Click it again( or any other clickable part in the UI), I get the above timeout page.
How to figure out the root cause
I have two different approaches. The first one will take several minutes to find the root cause via debugging.
(1) Create a breakpoint based on exception class CX_ROOT( for detail see this blog )
Launch UI and click hyperlink for the first time, the breakpoint is triggered and debugger stopped. In the status bar we get the hint that exception CX_BSP_WD_EXC_WRAPPER occurs. Set another breakpoint in its CONSTRUCTOR method.
(2) Relaunch the UI, the breakpoint in exception class CONSTRUCTOR is triggered, telling us there is something wrong with a custom UI component ZCUSTOM/MainWindow. In line 51 we know the exception class CX_BSP_WD_INCORRECT_IMPLEMENT. Set the breakpoint in its CONSTRUCTOR again.
(3) Relaunch the UI, now we find root cause: The overview page tries to display the view defined in ZCUSTOM/MainWindow, however it is not in the parsed component usage repository table ( me->usages in line 4)
Double check it in UI workbench it is because the custom UI component is added as component usage based on enhancement set A, however currently enhancement set B is active in current client.
The second approach is even more efficient. You could enable the UI framework to persist the exception which are raised and caught somewhere for example your own Z table with little effort so that it is convenient for you to check them afterwards. For detail steps please see my blog How to persist the UI exception so you can view them later.
In my example, I could immediately know this issue is caused by incorrect component usage with the exact usage name without debugging.
If you would like to know why timeout page is always displayed, although it is not a timeout issue at all, please find reason here.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2713192/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP Fiori應用發生超時錯誤的一個可能原因
- 在SAP CRM WebClient UI裡開啟ABAP Webdynpro頁面WebclientUI
- SAP WebClient UI頁面標籤的決定邏輯介紹WebclientUI
- SAP WebClient UI overview頁面裡assignment block的可見性分析技巧WebclientUIViewBloC
- SAP Fiori應用裡出現http request錯誤的原因分析HTTP
- 自己實現一個SAP WebClient UI Repository Information SystemWebclientUIORM
- 在SAP WebClient UI裡顯示倒數計時的UIWebclientUI
- SAP WebClient UI One Hit Navigation的實現方法WebclientUINavigation
- 將SAP CRM WebClient UI的表格匯出成PDFWebclientUI
- 如何將SAP WebClient UI的表格匯出成PDFWebclientUI
- 如何自行分析SAP WebClient UI開發環境裡丟擲的錯誤訊息根源WebclientUI開發環境
- SAP CRM WebClient UI表格編輯模式的除錯明細WebclientUI模式除錯
- SAP CRM WebClient UI和ABAP Webdynpro頁面的互相跳轉WebclientUI
- 【mysql】關於連線mysql資料庫時出現的時區錯誤time zoneMySql資料庫
- SAP WebClient UI的白屏問題分析WebclientUI
- SAP WebClient UI的會話重啟原理WebclientUI會話
- SAP CRM WebClient UI,如何快速定位到丟擲錯誤訊息的那一行程式碼WebclientUI行程
- Camstar 登入時出現單個Error的錯誤提示Error
- 部署 SAP UI5 應用到 SAP BTP 時遇到的 fiori not found 錯誤訊息UI
- http代理504閘道器超時錯誤原因介紹HTTP
- 伺服器出現遠端內部錯誤的原因伺服器
- SAP CRM WebClient UI cross component跳轉的一個具體例子WebclientUIROS
- 使用note++開發SAP WebClient UIWebclientUI
- 如何在SAP WebClient UI裡使用jChartFXWebclientUI
- 訪問網站404頁面時出現301報錯網站
- 部署 SAP UI5 應用到 SAP BTP 時遇到的 error retrieving MTA 錯誤訊息UIError
- SAP CRM WebClient UI和Hybris backoffice UI開發的相同點WebclientUI
- SAP CRM WebClient UI和Fiori UI混搭並存WebclientUI
- 伺服器出現500錯誤的原因和解決辦法伺服器
- SAP CRM WebClient UI異常的持久化機制WebclientUI持久化
- 自定義OAM錯誤頁面
- 爬蟲代理ip出現401錯誤原因是什麼?如何修復錯誤?爬蟲
- SAP WebClient UI drop down list(下拉選單)的一個故障和解決方法WebclientUI
- 雲伺服器出現502錯誤的原因分析和解決方案伺服器
- 如何在 SAP 電商雲 Spartacus UI 裡新建一個頁面UI
- Nginx 報錯 504 Gateway Time-out 的解決方法NginxGateway
- [BUG反饋]文件頁面聯合查詢時有個錯誤,求解決?
- .net自定義錯誤頁面實現升級篇