Skip to Content
0
Former Member
Sep 25, 2012 at 09:28 AM

CL_BSP_WD_ERROR_PAGE_WRITER->WRITE_ERROR_PAGE changes in EHP1

55 Views

Hi,

Please can anyone explain the following code that was introduced in SAP CRM 7.0 EHP1 in method CL_BSP_WD_ERROR_PAGE_WRITER->WRITE_ERROR_PAGE :

if PRODUCTIVE_CLIENT_MODE ne ABAP_TRUE.
data: LV_EXCEPTION type ref to CX_ROOT.
LV_EXCEPTION = IV_EXCEPTION.
while LV_EXCEPTION->PREVIOUS is bound.
LV_EXCEPTION = LV_EXCEPTION->PREVIOUS.
endwhile.
raise exception type CX_BSP_WD_EXC_WRAPPER
exporting
PREVIOUS = LV_EXCEPTION
TEXT = LV_EXCEPTION->GET_TEXT( ).

else.

We were on release 700 SAPKU70009 and implemented ehp1: 701 SAPKU70106 which contains the above code.

The result of the above is to display a BSP error in the interaction centre for non production systems and to display this as an exception in the message bar (same as before EHP1) in production systems.

Two Questions :-

1. Please explain why the above code was introduced to change display a BSP page error instead of an exception?

2. And also why different behaviour for non-production systems?

Any help appreciated. Thanks,

Samir