cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle conversion exit error messages in Webdynpro ?

vimal
Active Participant
0 Kudos

I always find difficult to deal with errors from conversion exit as they stick to the application and stop the navigation of application

e.g i have created a popup with element TABLE ,a field "Valid From" is used for date and it validates the data automatically because input help given is CALENDAR.If i enter a character in date field then it raises the error message but that error message stick to application and does not allow popup to close.Even if it closes , the error stick to the main application from where the popup is raised.

Please provide optimum solution to deal with errors from conversion exits.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member215610
Active Participant
0 Kudos

Hi Vimal,

You can call the method CLEAR_MESSAGES of IF_WD_MESSAGE_MANAGER on closing the popup.

DATA lo_api_controller     TYPE REF TO if_wd_controller,

         lo_window    TYPE REF TO if_wd_message_manager.

lo_api_controller ?= wd_this->wd_get_api( ).

CALL METHOD lo_api_controller->get_message_manager

   RECEIVING

     message_manager = lo_window.

CALL METHOD  lo_window->clear_messages



Regards,

Ragavendra