SAP Knowledge Base Article - Public

2313292 - Mandatory Property not Working as Expected for the Extension Field Created in the UI

Symptom

The extension field is set as Mandatory but no validation is triggered when the user is trying to save the application without entering the value for the field.

Reproducing the Issue

  1. Login to frontend UI.
  2. Navigate to the respective UI application.
  3. Click on Save without entering the mandatory field that you have created.
  4. System will save the application successfully withour throwing any error messages.

 

Cause

The list modification Start operation gives a Create modification to the BO and the list modification Submit gives an Update modification when the user input values and click of OK or Save. The BO determination should be catching the missing mandatory field values and raising the error message.

Resolution

If the PDI solution is involved then you need to write a script in your solution to catch these fields if the values are not entered and raise an error message in your solution.

For example if your action is SAVE , you need to write the code in the Event-BeforeSave.absl to check whether the conditions are met and mandatory field is not empty, if not raise an error message.

Keywords

KBA , SRD-CC , Cross Components , How To

Product

SAP BUSINESS BYDESIGN 1611 ; SAP BUSINESS BYDESIGN 1705 ; SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1602 ; SAP Business ByDesign 1605 ; SAP Business ByDesign 1608 ; SAP Business ByDesign 1702 ; SAP Business ByDesign 1711 ; SAP Cloud for Customer 1602 ; SAP Hybris Cloud for Customer 1605 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1611 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer add-ins 1705 ; SAP Hybris Cloud for Customer add-ins 1711