Hello all,
I've got a little problem with displaying messages in WebUI (CRM 7.0) .
when i do some wrong entries in assingment block and then i press enter then it display error message but
when i click on f4 help the error message got deleted from the ui.
I want error message to be displayed till entry is not filled with right value.
I have written this code in modify method of handler class.
lr_core = cl_crm_bol_core=>get_instance( ).
gr_gmsg = lr_core->get_global_message_cont( ).
gr_gmsg->add_bapi_messages( it_bapi_messages = lt_return
iv_show_only_once = 'X' ).
lv_object_id = lr_bp->get_object_id( ).
lr_msg_cont ?= lr_bp->get_message_container( ).
lr_msg_cont->add_messages(
iv_object_name = me->tv_object_name
iv_object_id = lv_object_id
it_bapi_messages = lt_return
iv_show_only_once = abap_true ).
Regards,
Nawal Kishore