cancel
Showing results for 
Search instead for 
Did you mean: 

Throwing Warning Message to show in HMC/Backoffice/Product Cockpit from an interceptor

0 Kudos

Hi,

I have requirement to throw/show warning message (not error message) from interceptor in HMC/Backoffice/Product cockpit so that admin can view that message and operation will be completed successfully without any blocking. We can throw Interceptor Exception but it will stop saving the model. Here we need to show warning message by saving the model successfully.

Please provide your suggestions on this.

Regards,
Raghavendra Karnam.

former_member620692
Active Contributor
0 Kudos

Hi - I believe you have already evaluated Validation Constraints and found it not fulfilling your requirement. Did you try using an Event Listener?

0 Kudos

Thanks Arvind for sharing the links. As you mentioned, it is not fulfilling requirements.

former_member620692
Active Contributor
0 Kudos

Are you sure if even an Event Listener will not fulfil your requirement? I still feel that it should work for you if you do some R&D. I will wait for your response.

0 Kudos

Hi Arvind,

Using event listener, we can handle the condition from interceptor. But here the problem is how to show warning message in HMC/Backoffice from event listener?

Regards, Devendra

former_member620692
Active Contributor
0 Kudos

Hi - please click the Event Listener link I have given in the answer. It already has an example of how to display the message on backoffice. I have also answered your related question at https://answers.sap.com/questions/12772266/message-box-in-hmcproduct-cockpit.html?childToView=128062...

Accepted Solutions (0)

Answers (0)