cancel
Showing results for 
Search instead for 
Did you mean: 

UNCAUGHT EXCEPTION : cx_powl_fatal_exception when refreshing

former_member198064
Participant
0 Kudos

Hi Experts,

Dump is occuring while accessing performance management link of MSS

UNCAUGHT EXCEPTION : cx_powl_fatal_exception

Please suggest how to resolve this issue?????

>>Source code extract

***********************************************************************************************************************************************

  • async call of actual query refresh

CALL FUNCTION 'POWL_ASYNC_QUERY_REFRESH_CALL'

STARTING NEW TASK <fs_query>-result_cache_id

DESTINATION IN GROUP m_refresh_srv_group

EXPORTING

i_query_data = <fs_query>

i_srv_group = m_refresh_srv_group

i_feeder_name = <fs_type>-feeder

i_ignore_edit_lock = 'X'

i_shadow_guids = mt_guids

i_shadow_sessionid = mv_guid

i_shadow_mode = l_shadowing

i_additional_paras = lt_additional_paras

EXCEPTIONS

resource_failure = 1

system_failure = 2

communication_failure = 3

OTHERS = 4.

CASE sy-subrc.

WHEN 0.

l_tries = 0.

ADD 1 TO l_index.

WHEN 1.

ADD 1 TO l_tries. "unsuccessful try

IF l_tries > c_max_tries.

RAISE EXCEPTION --->( HERE It shows the ERROR )

TYPE

cx_powl_fatal_exception

EXPORTING

textid = 'REFRESH_FAILED'.

ENDIF.

WAIT UP TO c_wait_time SECONDS. "try again after some seconds...

WHEN OTHERS.

  • report error

RAISE EXCEPTION

TYPE

cx_powl_fatal_exception

EXPORTING

textid = 'REFRESH_FAILED'.

ENDCASE.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

maybe implementing the following SAP Note is of help for you:

[1422529|https://service.sap.com/sap/support/notes/1422529] "POWL: Dump of refresh all"

Best regards,

Andreas

former_member198064
Participant
0 Kudos

Hi,

After applying the SAPNOTE:1422529.When we are going to execute in portal MSS we are getting exception 'CX_WDR_RT_EXCEPTION' was raised,

In st22 we are getting:

method add_element .

data: wa_elements like line of elements.

invalidate( view_element ).

|wa_elements-id = view_element->id.

wa_elements-view_element = view_element.

insert wa_elements into table me->elements[].

if sy-subrc <> 0.

|>>>>>| raise exception type cx_wdr_rt_exception

exporting

textid = cx_wdr_rt_exception=>duplicate_view_element

msgv1 = view_element->id

msgv2 = me->view_id.

endif.

endmethod.

After releasing the same SAPNOTE:1422529 its working fine.so can u help me for this exception.