cancel
Showing results for 
Search instead for 
Did you mean: 

Eliminate error in webui

faisal_pc
Active Contributor
0 Kudos

Hi experts,

I am facing an issue with an error message coming in a standard FM. I am using the FM LOY_MEMBERSHIP_SAVE_RFC and it's returning one error message. I want to eliminate this error message coming in webui. Is there any way to suppress error messages in an FM from coming in webui?. This error is coming as I wrote the code in partner_update BADI and at that time BUT000 doesn't have the entry of customer. I don't need this error to be shown to users. Thanks in advance.

Thanks,

Faisal

Accepted Solutions (0)

Answers (4)

Answers (4)

devashish_bhattacharya
Active Participant
0 Kudos

Hello Faisal,

You need to reset the messages that get saved in the container.

Kindly try to use the method : get_message_cont_manager( ) and then reset() to delete all the messages in the container.

Regards,

Devashish

deepika_chandrasekar
Active Contributor
0 Kudos

Hi Faisal,

Try CRM_MESSAGES_DELETE_SINGLE to delete the message raised using CRM_MESSAGE_COLLECT.

Regards,

Deepika C.

former_member188098
Active Contributor
0 Kudos

have you tried like

to delete message with class CL_BSP_WD_MESSAGE_SERVICE.

lots of discussion like above you will find on scn.

Regards,

kumar5
Active Contributor
0 Kudos

Hi,

Please go through below very good Doc by Rohit .

It might be helpful.

Thanks

Kumar.