on 08-13-2013 9:31 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.