SAP Knowledge Base Article - Preview

3297127 - Custom OData service error: Property xxx has invalid value


You created your own oDATA service based on a CDS view in which the key fields are defined as RAW data type.

When testing the service the below errors occurs:

Property %KEY% has invalid value 'xxxx' -- %KEY% is the key field with RAW type

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

This document is meant only for custom Z* namespace oData services. Do not regenerate SAP delivered oData services as it may prevent further note implementation and cause application errors.



  • SAP Netweaver
  • BW/4HANA


SAP BW/4HANA all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions


Property, RAW, KEY1, odata, "has invalid value",  MATDOC,  Edm.String, /IWFND/ERROR_LOG  , KBA , BW-WHM-DBA-ODA , Operational Data Provider for ABAP CDS, HANA & BW , BC-BW-ODP , Operational Data Provisioning (ODP) and Delta Queue (ODQ) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.