cancel
Showing results for 
Search instead for 
Did you mean: 

Message Handler Class - Clearing all messages

IanStubbings
Active Participant
0 Kudos

Hi Experts,

The message_handler which we have access to in the generic service uses the interface IF_HRBAS_MESSAGE_HANDLER which only exposes the ADD_MESSAGE method.

However, we have a situation where the messages from one form's errors are not being cleared when changing onto a different form. Also, occassionaly we have duplicates that we wish to remove.

Therefore, is there any way to get hold of the MESSAGE_LIST from the message_handler?

We could then clear down all messages if present via the INITIALIZE method and also check for duplicates in the DO_OPERATIONS.

Any thoughts, anyone?

Cheers

Ian

Accepted Solutions (0)

Answers (1)

Answers (1)

IanStubbings
Active Participant
0 Kudos

This requirement has now gone away after implementing SP21