SAP Knowledge Base Article - Public

2566873 - Default Value in Code List Restriction not Working


You have assigned code list restriction rule and default value assignment is not working as expected.


SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Sales Work Center as an example.
  2. Click Sales Quote and Open any Quote.
  3. Click Products facet.

Under products, in table (list), default value for a field is not working as per configuration.


Code list restriction functionality for a default value will work in Quick create and List modifications (Add row) provided it is for new instance.

And both control and code to restrict field must be present in the Quick create / Add List modification screen.


This is expected system behavior.

System will apply the default value on new created objects, meaning create from quick create and not update after creation.

Note: CLR will still work on update screen because the CLR will be applied during the screen roundtrip, and the default before.


code list restriction rule, default value, not working as expected , KBA , code list restrcition , clr default value , clr , default value , quick create , add row , LOD-LE-RC-CLR , Code List Restriction , How To


SAP Cloud for Customer add-ins 1802 ; SAP Hybris Cloud for Customer add-ins 1711