I have validated one custom field in campaign and as per the requirement Validation logic is done in EH_ONSAVE.
I could display error message using CL_BSP_WD_MESSAGE_SERVICE, but what if I want to highlight the erroneous field like field highlight in red if we leave the mandatory field blank.
Components used are CPGOE_DETAILS and logic of on save button is written in CPG_MAIN component.
Also suggest me If we write Get method on some field to get the default value then why Standard validation check is not working.
Please do the needful.