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
- Login to frontend UI.
- Navigate to the respective UI application.
- Click on Save without entering the mandatory field that you have created.
- 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