SAP Knowledge Base Article - Public

3561897 - Unable to restrict Advanced Search/filter via Code List Restriction

Symptom

You have created a CLR for (Ex: Entity "Lead" and Code to Restrict field as "Qualification").

Now, if you create a New Lead, the Qualification is showing only the values maintained as per CLR. 

However, if you check the Qualification filter in the Advanced Search, all the values are displayed

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental." 

 
 

Environment

  • SAP Sales Cloud V2
  • SAP Service Cloud V2

Reproducing the Issue

  • Navigate to Settings --> All Settings --> Code List Restrictions.
  • Create CLR for (Ex: Entity : "Lead" and Code to Restrict field as "Qualification") and maintain few values.
  • Save the CLR.
  • Now, navigate to Lead and click on "+" icon.
  • You can observe that Qualification field is showing the values as per CLR, however the Advanced Search is showing all values. 

Cause

Code List Restrictions will not be honoured in Advanced Search, Quick Filters and other ‘read-only’ scenarios.

CLRs are applicable only for New instances and existing instances will have combinations which are not valid as per current CLR.

This is to ensure that users are able to search and open these old instances.

Also, there can be many combinations of how users could define CLR, and if they hide the controlling field then the controlled field will not show any value.

Resolution

This is the behaviour of the system. 

Code List Restrictions is applicable for new Instances.

Keywords

Code List Restriction, CLR, Lead FLOW,  Not Restrict , KBA , CEC-CRM-CLR , Code List Restrictions for SAP Sales/Service Cloud , How To

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0

Attachments

Lead CLR.jpg