cancel
Showing results for 
Search instead for 
Did you mean: 

UNCAUGHT_EXCEPTION CX_WDR_RR_EXCEPTION

Former Member
0 Kudos

Hi guys,

I developed a simple webdynpro application where users input some data and they save it into R/3 dictionary. If user clic on "Return" button a pop up windows appears to confirm the step.

I tested it in DEV and QAS system and everything was ok. But when i runned it in PRD system a runtime error appear, especifically when system is creating THE pop up object. This´s the message error from ST22

An exception occurred that was not caught.

The exception 'CX_WDR_RR_EXCEPTION' was raised, but it was not caught anywhere along the call hierarchy.

Since exceptions represent error situations and this error was not adequately responded to, the running ABAP program 'SAPLWDR_RUNTIME_REPOSITORY' has to be terminated.

An exception occurred which is explained in detail below.

The exception, which is assigned to class 'CX_WDR_RR_EXCEPTION', was not caught and therefore caused a runtime error. The reason for the exception is:

Component WDR_POPUP_TO_CONFIRM Contains Syntax Error

I don´t know what is happenning, could you help me with this?

Thanks

André

Accepted Solutions (1)

Accepted Solutions (1)

thomas_szcs
Active Contributor
0 Kudos

Hello Andres,

>Component WDR_POPUP_TO_CONFIRM Contains Syntax Error

This should not happen as it is a SAP delivered component, which has been checked to be free of syntax errors before delivery. I was wondering, if you could open a support ticket, please?

Best regards,

Thomas

Former Member
0 Kudos

Thank you Thomas,

I will open a support ticket. However i am still thinking I could be doing something wrong. This is the code where the problem occurrs.

lr_api_v0001 = wd_this->wd_get_api( ).

lr_cmp_api = wd_comp_controller->wd_get_api( ).

lr_window_manager = lr_cmp_api->get_window_manager( ).

CLEAR v_texto.

v_texto = 'Los datos ingresados se perderán'.

APPEND v_texto TO it_texto.

CLEAR v_texto.

v_texto = 'Desea continuar?'.

APPEND v_texto TO it_texto.

v_tipo_boton = 4.

v_tipo_mensaje = 2.

CALL METHOD lr_window_manager->create_popup_to_confirm

EXPORTING

text = it_texto

button_kind = v_tipo_boton

message_type = v_tipo_mensaje

close_button = abap_true

window_title = 'Ventana de Confirmación'

RECEIVING

result = lr_popup.

CALL METHOD lr_popup->open.

As i told you before, my program run perfectly in DEV and QAS System. But i will take into consideration your advise.

Thanks again

Answers (0)