Hello,
I have created simple ABAP CDS view using table sflight with parameter Conn_ID. Then i have generated Odata service.
I am getting the error message "Invalid Key Predicate" when i tried to publish the service in Portal using the Parameter. Find the attached file.
@OData.publish: true
define view Zcds_Para_Odata
with parameters P_Conn_ID : S_CONN_ID
as select from sflight {
key sflight.carrid,
key sflight.connid,
key sflight.fldate
}
where connid = $parameters.P_Conn_ID
Please Suggest me.
Thanks & Regards
Arun