Skip to Content
0
Former Member
Nov 09, 2011 at 12:00 PM

How to save error mesaages in web ui

16 Views

Hi All,

I have displayed error messages at sales order item details in web ui using below code.

data:lr_msg_service type ref to cl_bsp_wd_message_service.

lr_msg_service = cl_bsp_wd_message_service=>get_instance( ).

call method lr_msg_service->add_message

exporting

iv_msg_type = 'E'

iv_msg_id = 'ZCRM'

iv_msg_number = '001'

iv_msg_v1 = lwa_message-var1

iv_msg_v2 = lwa_message-var2.

when I save the order custom error messages are not appearing in the message area.

How to save the error messages in web ui.

Please help me.

Thanks,

Venkat