cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Stanadard Validation Error Messages

Former Member
0 Kudos

Hi All,

I have an ALV table with one input column and its currency field. If I enter a non numeric value in the curr field and try to perform any action it won't allow to proceed as the standard error message are shown. But if the user wants to refresh the data based on the selection screen its not happenign as the Message manager still has those error message .

Can some one please suggest how to delete the standard error messages from Message manager?

Appreciate a lot.

Thanks,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can use IF_WD_MESSAGE_MANAGER to get messages. You can get messages using method GET_MESSAGES and delete them using REMOVE_MESSAGE method.

Former Member
0 Kudos

Hi Erhan,

Thank you. When I try that it deletes only   r_render_messages->* but the entries in

  r_transport_messages->* are still there. So when I tried to use HAS_VALIDATION_ERRORS method it gets me the message as it has errors.

Former Member
0 Kudos

Hmmm

It might be not possible. If user entered invalid value, the system will fail. So may be you cannot delete that messages. Create your own value check controls. That may be helps you.