Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How to delete mandatory field message related to perticular field on ui?

$
0
0

Hi Vishal,

 

I think your requirement is to remove Mandatory Field error message if the event is not save, If this is your requirement, It can be done.

 

You need do code in DO_FINISH_INPUT

 

Add the following code there and I think it will work

DATA:

     lv_event TYPE string.

 

   SPLIT global_event AT '.' INTO lv_event lv_event.

   TRANSLATE lv_event TO UPPER CASE.

 

IF lv_event NE 'SAVE'   "Here Save is your Event name for save

global_messages>delete_message( condition = cl_bsp_wd_view_controller=>co_mandatory_field_empty ).

   ENDIF.

 

I hope this was your requirement.

Thanks

Pratheek


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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