cancel
Showing results for 
Search instead for 
Did you mean: 

How to set CRM Field mandatory

Former Member
0 Kudos

Hi All,

In the Opportunity screen header section we have status and text field (Note ) which is custom field. I need to make validation if status is won we have to check if the user entered the note or not. if not need to raise error message and highlighter the note in like mandatory field.

Main component: BT111H_OPPT

View where the note&status:BT111H_OPPT/Detail.
I am validating this in save event EH_ONSAVE of View BT111H_OVViewset..

so I am getting error message as per the requirement but my field is not getting highlighted when error message is raised.

Accepted Solutions (0)

Answers (1)

Answers (1)

spencer_liang
Active Contributor
0 Kudos

mark your field as mandatory on webui

OR, try incomplete check

https://wiki.scn.sap.com/wiki/display/CRM/Incompleteness+Check

In addition, maintain parameter in 1353553 - Opportunity: Behavior of mandatory fields in Web UI. it will prevent saving