cancel
Showing results for 
Search instead for 
Did you mean: 

CL_BSP_WD_ERROR_PAGE_WRITER->WRITE_ERROR_PAGE changes in EHP1

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

voss
Contributor
0 Kudos

Hi Samir,

I am facing the problem right now. How did you solve the topic?

Kind regards

Thomas

geert555
Discoverer
0 Kudos

Any solution on this?

Thx