Symptom
- You are trying to create a custom reference attribute field by referencing the field to another field on different entity but the field is grayed out and cannot be added
- Message: "This field is already used as a reference attribute." is displayed instead.
Environment
SAP Sales Cloud and SAP Service Cloud Version 2
Reproducing the Issue
- The KBA is valid for any entity. For illustration purpose, we will consider example of field creation within Case entity referencing to field defaultExternalBusinessPartnerId from Accounts
- Click on System Profile
- Go to System Settings
- Go to Extensibility Administration
- Go to the case entity
- Create new field
- Select Data Type: String and Data Format: Token
- Enable the Custom Reference Attribute toggle
- Click on Add Custom Reference Attribute
- Open the fields under Owner/Account
- See the field defaultExternalBusinessPartnerId is grayed out and the message "This field is already used as a reference attribute." is displayed
Cause
By design, few fields such as defaultExternalBusinessPartnerId are enabled for direct use in the entity, and therefore cannot be referenced by another custom field.
Resolution
- This is the expected system behavior.
- You can directly use these fields on UI or in Custom logic of the particular entity without having to reference it in another custom field in order to use it
Keywords
custom field, reference attribute, account, external business partner id, defaultExternalBusinessPartnerId, field not available, reference field missing, adaptation mode, owner fields, custom logic, case ui, account/defaultExternalBusinessPartnerId, by design, extensibility, sales service cloud, field already in use, grayed out , KBA , CEC-CRM-CZM-EXT , Extensibility for SAP Sales/Service Cloud , How To
SAP Knowledge Base Article - Public