SAP Knowledge Base Article - Public

2696111 - The Role Field is Not Available to Select as a Code to Restrict For The Sales Data Business Object

Symptom

The Role field is not available to select as a code to restrict for the Sales Data business object

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Administrator work center.
  2. Go to the Code list restrictions.
  3. Select the New button.
  4. In the business object field, select sales data.
  5. Select the Code to Restrict drop down field.
  6. Choose Customer Group.
  7. Open the Business Field OVS.
  8. The Role field is not available here to restrict as a business field.

Cause

This is the expected system behaviour.

This cannot be supported as the Code to Restrict field Customer Group ( field on which CLR is intended to be created ) is in BusinessObject / BusinessContext Sales Data and the other control field Role is in BusinessObject / BusinessContext Customer. CLR feature works within a business objects only.

Resolution

As a workaround you may take help from partners and using PDI SDK create an extension field with same data type as Role and value populate with same value as Customers->Role. Then you can use this newly created extension field for CLR. ( this has to be evaluated by your partner if any ). There is solution using KUT.

Keywords

KBA , sales data , role , business field , restrictions , customer group , code to restrict , LOD-CRM-ACC , Account , Problem

Product

SAP Cloud for Customer 1808 ; SAP Cloud for Customer 1811 ; SAP HYBRIS C4C CORE 1808 ; SAP HYBRIS C4C CORE 1811