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.

Environment

SAP Business ByDesign

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 without 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

Mandatory,Extension Field,absl , KBA , extension field is set as mandatory , no validation is triggered , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions