引起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裡顯示倒數計時的UIWebclientUI
- 自己實現一個SAP WebClient UI Repository Information SystemWebclientUIORM
- adstrtal.sh報超時錯誤 ERROR : Timed out( 100000 ): Interrupted ExceptionErrorException
- 將SAP CRM WebClient UI的表格匯出成PDFWebclientUI
- 如何將SAP WebClient UI的表格匯出成PDFWebclientUI
- nginx “504 Gateway Time-out”錯誤NginxGateway
- SAP WebClient UI One Hit Navigation的實現方法WebclientUINavigation
- SAP CRM WebClient UI和ABAP Webdynpro頁面的互相跳轉WebclientUI
- SAP CRM WebClient UI表格編輯模式的除錯明細WebclientUI模式除錯
- 如何自行分析SAP WebClient UI開發環境裡丟擲的錯誤訊息根源WebclientUI開發環境
- SAP WebClient UI的白屏問題分析WebclientUI
- SAP WebClient UI的會話重啟原理WebclientUI會話
- 如何在SAP WebClient UI裡使用jChartFXWebclientUI
- 使用note++開發SAP WebClient UIWebclientUI
- 如何在 SAP 電商雲 Spartacus UI 裡新建一個頁面UI
- SAP CRM WebClient UI,如何快速定位到丟擲錯誤訊息的那一行程式碼WebclientUI行程
- 部署 SAP UI5 應用到 SAP BTP 時遇到的 fiori not found 錯誤訊息UI
- SAP CRM WebClient UI和Fiori UI混搭並存WebclientUI
- http代理504閘道器超時錯誤原因介紹HTTP
- 【mysql】關於連線mysql資料庫時出現的時區錯誤time zoneMySql資料庫
- 使用jstl時出現的一個錯誤,請指教!JS
- Camstar 登入時出現單個Error的錯誤提示Error
- solaris上建立oracle資料庫出現:out of memory 錯誤Oracle資料庫
- 雲伺服器使用fastDFS錯誤,readtime out伺服器AST
- 如何將一個HTML頁面巢狀在另一個頁面中HTML巢狀
- eclispe 出現超記憶體錯誤Lisp記憶體
- jdon框架在jboss中執行有時時出現出現錯誤,是什麼原因,如何處理框架
- SAP CRM WebClient UI cross component跳轉的一個具體例子WebclientUIROS
- corrupt block引起的錯誤ORA-01498原因分析BloC
- SAP CRM WebClient UI異常的持久化機制WebclientUI持久化
- 伺服器出現遠端內部錯誤的原因伺服器
- 應用伺服器出現錯誤的原因簡析伺服器
- Redhat防火牆引起的一個NDB錯誤。Redhat防火牆