2510620 - Mandatory Property for an Extension Field Set from KUT is not Working

SAP Knowledge Base Article - Public

2510620 - Mandatory Property for an Extension Field Set from KUT is not Working

Symptom

Error message Save failed, Field is marked as mandatory is not appearing even though you set the field as mandatory using the Key User Tools from the UI.

You are able to save without any issues even though the field is left blank.

Reproducing the Issue

  1. Go to the UI screen where you have created the extension field in HTML5 mode.
  2. Get in to the Adapt Mode and select Edit Master Layout.
  3. Select the extension field and check the mandatory property.

Capture.PNG

      3. Save the layout changes.

      4. Open the screen again and click on Save/ Add without filling the mandatory field.

      5. The record get saved successfully without any error.

Capture.PNG

Cause

The reason for the mandatory property is being ignored is because there will be mandatory post conditions created by partner on the reported fields.

You can verify this in the UI Designer of the respective screen.

  1. Select the extension field in the UI Designer.
  2. Right click and select Field Group.
  3. On the right panel click oon the arrow next to Adjust Properties.
  4. Here you will have Add Conditions which will refer to the respective Change Transactions(CT) created for the field.
  5. There will be CT's created by the Partner and the Key User.

Resolution

You will have to remove the CT's created by the partner if you want to set the mandatory property using Key User Tool.

Keywords

KBA , SRD-CC-FED , Feeds , How To

Product

SAP BUSINESS BYDESIGN 1705 ; SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1702 ; SAP Business ByDesign 1711 ; SAP HYBRIS C4C 1705 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711