cancel
Showing results for 
Search instead for 
Did you mean: 

delete message

Former Member
0 Kudos

Hi all,

I have a problem. I want to delete an error message, displayed after trying to edit a business partner contact details because i get the message twice. The component is BP_CONT and the view contactDetails. Where can I delete a message. I know how to create a new message with class CL_BSP_WD_MESSAGE_SERVICE but why is there no methode to delete a message. Is the a message container for all messages, for orders, business partners etc., because we have often the task to add, change or delete a message.

Can anybody help me please.

Thanks.

Sebastian

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Ya I'm having the same kind of problems with deleting error messages, has anyone figured out the trick yet?

Former Member
0 Kudos

Hi,

To get rid of this message you need to check events triggering after edit. you can check using crmv_event transaction. Here find out the event which triggers after you edit it. Then, you can configure your own event with high priority and delete your message.

Thanks

Vineet

Former Member
0 Kudos

Thanks for your answers but that doesn't work. This has no effect to my messages. Where are my msgs stored and is there no method to delete a message from the table?

Any ideas?

Thanks, Sebastian

Former Member
0 Kudos

Hi,

In your class instead of using Add_Message Method use Add_Bapi_Messages display it and when not needed u need to refersh internal table

or

Try this class CL_CRM_ISU_ORDER_CHECK in this class there are two messages add message and delete message but here u need to pass GUID.

Let me know further.

Cheers,

Parth Parikh

Former Member
0 Kudos

No, sorry this doesn't fit. I need the class where my msg. are handled, this FM did not touch my msg. And I have two similar msg in the container so I need to delete a tab-line. If I delete a msg by ID both msg will be deleted.

Are all msg. not handled in one class? Where can I get access to the error messages?

So, I'm greatful for any answers.

Thanks.

Sebastian

Former Member
0 Kudos

Hi,

Please have a look at the following theads.

Regards,

Deepak