cancel
Showing results for 
Search instead for 
Did you mean: 

IC WebClient (removing Info message)

Former Member
0 Kudos

<b>Hello Experts,</b>

I am using CRM 5.0, IC WebClient i want to remove an info message appears when confirming the account (No registered product found) because i have no products to be registered.

<b>Many Thanks in Advance</b>

Accepted Solutions (1)

Accepted Solutions (1)

raja_g
Participant
0 Kudos

Hello Khaled,

For removing the message, the view BuPaDetail has to be copied to your BSP application and the controller class has to be inherited. In the method EH_ONCONFIRM, call the SUPER->EH_ONCONFIRM and then clear the messages with the following code

data: lv_msgsrv type ref to cl_bsp_wd_message_service.

lv_msgsrv = cl_bsp_wd_message_service=>get_instance( ).

lv_msgsrv->collect_messages( iv_msg_type = IF_GENIL_MESSAGE_CONTAINER=>MT_INFO

iv_delete_read_messages = abap_true ).

lv_msgsrv->collect_messages( iv_msg_type = IF_GENIL_MESSAGE_CONTAINER=>MT_INFO

iv_delete_read_messages = abap_true ).

Regards

G.Raja

Answers (0)