Symptom
When creating a custom OData service using the BusinessPartnerRelationship business object and including the fields FirstBusinessPartner.InternalID and SecondBusinessPartner.InternalID, the activation fails with the error:
“Properties InternalID and InternalID1 under entity BusinessPartnerRelationship have duplicate UI Text ID.”
Environment
SAP Cloud for Customer
Reproducing the Issue
1. Go to Admin -> OData Service Explorer
2. Select to view custom OData
3. Click the New button
4. Update the name and mark the field as "Data Workbench Enabled" (check this box).
5. Create the new service and click "Select Business Object".
6. Select the "BusinessPartnerRelationship" business object and the "Root" node.
7. Include the following fields in the OData service.
8. Root: UUID, Category Code, Default Indicator
9. FirstBusinessPartner: InternalID
10. SecondBusinessPartner: InternalID
11. Save and activate it.
--> Error: Properties InternalID and InternalID1 under entity BusinessPartnerRelationship have duplicate UI Text ID
Cause
The issue occurred because the fields InternalID and InternalID1 in the BusinessPartnerRelationship OData service were assigned the same UI text label, causing a duplicate label conflict during activation.
Resolution
- Open the custom OData service in Admin → OData Service Explorer.
- In the field list, select InternalID under FirstBusinessPartner.
- In the Properties panel on the right, change the UI Text Label from "ID" to a unique value (e.g., FirstPartnerID).
- Repeat the same steps for InternalID1 under SecondBusinessPartner, assigning a different unique label (e.g., SecondPartnerID).
- Save the changes and activate the service.
After assigning unique UI text labels to both fields, the duplicate label conflict was resolved.
Keywords
OData Service, BusinessPartnerRelationship, InternalID, InternalID1, Duplicate UI Text ID,Custom OData , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem
SAP Knowledge Base Article - Public