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的白屏问题分析_第1张图片

Instead the empty screen is displayed now:

SAP WebClient UI的白屏问题分析_第2张图片

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的白屏问题分析_第3张图片

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

SAP WebClient UI的白屏问题分析_第4张图片

(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的白屏问题分析_第5张图片

COM_PRODUCT_GET_PARTNER_PROC returns with error code 3: data_inconsistent.

SAP WebClient UI的白屏问题分析_第6张图片

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的白屏问题分析_第7张图片

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

SAP WebClient UI的白屏问题分析_第8张图片

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

SAP WebClient UI的白屏问题分析_第9张图片

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

SAP WebClient UI的白屏问题分析_第10张图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

你可能感兴趣的:(sap,saprfc,crm,erp,abap)