Symptom
The BCOText property is not being formed in the metadata of a custom OData service. This prevents the use of the custom OData in integration scenarios that depend on this property.
The following error message may appear when the property is missing:
- org.apache.olingo.odata2.api.uri.UriNotMatchingException: Could not find property with name
"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 Cloud for Customer
Reproducing the Issue
- Go to Administrator > OData Service Explorer view.
- Create a custom OData service.
- Add a BCO property to the collection.
- Check the service metadata.
- The BCOText property is not present in the metadata.
Cause
The "Include Code Descriptions" option is disabled in the Header section of the custom OData service. This prevents the BCOText property from being exposed in the service metadata.
Resolution
- Open the OData editor for the custom OData service.
- In the Header section, enable the "Include Code Descriptions" option.
- Reactivate the custom OData service.
- Verify the updated metadata to confirm the BCOText property is now visible.
Keywords
PDI, SDK, BCOText, custom OData, metadata, Include Code Descriptions, OData editor, BCO property, CPI, Data Workbench , KBA , LOD-CRM-INT-DWB , Data Workbench , LOD-CRM-INT-API , OData API (C4C Only) , Problem
Product
Attachments
| Pasted image.png |
SAP Knowledge Base Article - Public