前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >遇到SAP WebClient UI的白屏错误,应该如何分析?

遇到SAP WebClient UI的白屏错误,应该如何分析?

作者头像
Jerry Wang
发布2020-08-17 10:18:19
4070
发布2020-08-17 10:18:19
举报

I have already written one blog How to persist the ui exception so you can view them later, the idea is after you spend little effort to create your own UI error handler and a new transparent table, the UI exception will be recorded into your own table, and you can view them at any time. ( just the similar logic as ST22 )

Sometimes once an UI exception occurs, you will not see an empty page but instead a time out error page. This blog explains why and how you will see the timeout error page.

This blog will show another small tip to accelerate your trouble shooting process against empty screen issue. In the end part of it I also raise an open question which is related to the discussed empty screen issue and I have not got answer so far.

Issue description

When clicking object ID hyperlink:

Then empty screen is displayed:

The tip

set breakpoint on method WRITE_ERROR_PAGE of class CL_BSP_WD_ERROR_PAGE_WRITER: relaunch the application and breakpoint triggers. If current client is not set up as productive client, the code will go to the first IF branch.

The client type detection is done in the class constructor via FM TR_SYS_PARAMS.

Since normally the client type could only be changed by system admin, so you can put cursor on line 17 and click Shift + F12 to force the code to move to the second IF branch. Click F8 and the error information is displayed.

Open question

I develop a sample BSP and raise exactly the same exception deliberately there in another system.

Instead of seeing the empty screen, I get the following error page with detailed information:

I try to find the switch & logic to control how the detailed error page or empty screen is chosen to display.

Unfortunately I didn’t find the answer so far. The only finding is that when the exception is raised in ABAP backend, I observed a HTTP 500 error in HTTP watch.

And there are lots of insert operation on ST22 table SNAP in ST05 trace.

however by clicking button “Display ABAP call location”, I could not see the corresponding INSERT statement in ABAP editor, but just automatically navigate to the line below:

Perhaps the logic to make choice between error detail page and empty page for display is not done in ABAP side at all.

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-08-15 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Issue description
  • The tip
  • Open question
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档