SAP WebClient UI的白屏问题分析

Issue

Once product hyperlink in sales order line item is clicked, it is expected that product overview page is opened.

SAP WebClient UI的白屏问题分析

Instead the empty screen is displayed now:

SAP WebClient UI的白屏问题分析

Most efficient way to find root cause
Follow this blog how to persist the UI exception so you can view them later to register the custom error log in your system.

(1) Specify the error date and user name who has encountered with this error:

SAP WebClient UI的白屏问题分析

From the query result you can find the exact code where this error is raised:

SAP WebClient UI的白屏问题分析

(2) Set breakpoint on mentioned included: ICOM_PRCAT_IL_REL_APIF02.
The error is raised in the context of partner determination procedure related logic.

SAP WebClient UI的白屏问题分析

COM_PRODUCT_GET_PARTNER_PROC returns with error code 3: data_inconsistent.

SAP WebClient UI的白屏问题分析

Due to this error, we move to the ELSE branch where the MESSAGE ID statement is executed. Since we are currently in WebClient UI runtime environment as a result exception is raised with error message “Message E COM_HIERARCHY 000 cannot be processed in plugin mode HTTPS”.

SAP WebClient UI的白屏问题分析

(3) The root cause of sy-subrc 3 ( data_inconsistent ) error is a corrupted product category assigned to the given product.

SAP WebClient UI的白屏问题分析

This product category does not have any hierarchy ID assigned so function module COM_HIERARCHY_READ raises the exception data_inconsistent.

SAP WebClient UI的白屏问题分析

Once I remove this erroneous category from product, the product overview page could be opened again.

SAP WebClient UI的白屏问题分析

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP WebClient UI的白屏问题分析