Skip to Content
0
Former Member
May 17, 2010 at 10:51 AM

Can we save the warning message in the message log of Lead.

37 Views

Hi,

I have an requirement where i have to raise an warning message while "creation of lead from campaign" on campaign UI, I can raise that warning message using below code.

DATA lr_message_service TYPE REF TO cl_bsp_wd_message_service.

lr_message_service = cl_bsp_wd_message_service=>get_instance( ).

lr_message_service->add_message( iv_msg_type = if_genil_message_container=>mt_warning

iv_msg_id = 'ztest'

iv_msg_number = 006

iv_msg_level = '1' ).

but how can i retain this warning message in the lead message log ? "when ever i will open that lead again that warning message should be there"

thanks & regards

raman khurana.