Hi,
I am trying to delete error message that is added in the standard method using cl_bsp_wc_message_service=>add_message( ).
I have redefined the method adjust_search_criteria_values and calling the super class method at the beginning as part of the best practice. The redefinition is required to take care of exception and error message raised from super class method. I am able to catch the exception by calling the super class method with in TRY ENDTRY Block. However, when i try to remove the message added in the super class method, its not working. I couldnt find any method in the class cl_bsp_wc_message_service that can be used. Tried using CRM_DELETE_MESSAGES ..but of no help.
Any pointers on this would be of great help.
Regards,
Uday