Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Raise error message, it should not allowed to save in WEBUI

$
0
0

Hi,    

     I raising the error message in web ui using below code. Message is displaying in web ui, But it is allowing to save.

 

 

     lr_core = cl_crm_bol_core=>get_instance( ).
    if lr_core is bound.
      lr_global_messages ?= lr_core->get_global_message_cont( ).
    endif.
    if lr_global_messages is bound.
      call method lr_global_messages->add_message
        exporting
          iv_msg_type       = 'E'
          iv_msg_id         = 'ZCRM'
          iv_msg_number     = '000'
          iv_msg_text       =  'test'

iv_show_only_once = 'X'
          iv_msg_level      = 0.


Viewing all articles
Browse latest Browse all 4552


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>