SAP Knowledge Base Article - Public

3000179 - OData Receiver Adapter causes issue for auto generated key property

Symptom

 The Auto generated Key properties in the payload cause issue like

The metadata constraints '[Precision=0]' do not allow to format the value

Environment

SAP Cloud Platform Integration

Cause

If the key properties are not present in the payload, the Olingo library creates a default value for the respective EDM file type.

This default value is added to the generated (atom+xml)/ json payload as part of the payload metadata. This caused an issue at the server side or at the parsing side.

Resolution

Set the message Property SAP_ODataV2ExcludeAutoKey to boolean value true.

ExcludeAutoKey.PNG

Keywords

KBA , LOD-HCI-PI-CON-OD , CPI OData Adapters , Problem

Product

SAP S/4HANA Cloud 2008