Hi Experts,
I get this error when trying to read the data via the key. ( Invalid key name in key predicate. Expected name is 'Partner, KzAnsprechpartner' )
I have seen that with one Key it works fine
When working with multiple keys it does not work.
The names of the KEYS are fine.
More details below.
Here is the URL that I am trying to use.
/sap/opu/odata/SAP/ZCR_CUST_FACT_PRINT_URL_SRV/PRintSet(Partner ='10001', KzAnsprechpartner = ' a' )/$value
and here is the Meta data.
-<edmx:DataServices m:DataServiceVersion="2.0">
-<Schema xml:lang="en" xmlns="http://schemas.microsoft.com/ado/2008/09/edm" sap:schema-version="1" Namespace="ZCR_CUST_FACT_PRINT_URL_SRV">
-<EntityType sap:content-version="1" m:HasStream="true" Name="PRint">
-<Key>
<PropertyRef Name="Partner"/>
<PropertyRef Name="KzAnsprechpartner"/>
</Key>
<Property sap:updatable="false" sap:creatable="false" Name="Partner" sap:filterable="false" sap:sortable="false" sap:label="BusinessPartner" MaxLength="10" Nullable="false" Type="Edm.String"/>
<Property sap:updatable="false" sap:creatable="false" Name="KzAnsprechpartner" sap:filterable="false" sap:sortable="false" sap:label="Checkbox" MaxLength="1" Nullable="false" Type="Edm.String"/>
------
Thanks!
Rajesh