on 08-02-2019 2:35 PM
I´m trying to expose a OData service on CPI.
This Odata coming from a CDS view with parameters....
For READ operation, it´s ok.
For QUERY, CPI doesn´t accept parameters in ResourcePath.
The URL seems like that
https://<URL>/sap/opu/odata/sap/YY1_<ODATA-SERVICE>/YY1_<NAME>(P_1='<WHATEVER-VALUE>',P_2='<WHATEVER-VALUE>')/<RESULTNAME>?$top=1
I already read the sap note "2600276 - Exposing a CDS view with parameters as OData error code LCX_MISSING_PARAMETER"
Hi,
I am facing the issue similar that i have created the custom extension for standard CDS view with 3 parameters. Now, when i created custom OData service,it is not loading the data and exception thrown with LCX_MISSING_PARAMETER at get_entityset() for one of CDS view parameter. how to trigger call for this custom OData service?
i am in s4hana 1711 version, the note is not helping me even to fix this issue. this i need to create custom fiori application.
#s4hanacloud #customcdsodata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
As per the documentation for Configuring OData V2 Receiver Adapter, "Navigation entities in the resource path are not supported".
Here are some options which may be helpful for you.
Option 1:
Read operation with
Option 2:
Query operation with
Option 3:
HTTPS Adapter with
HTTPS Adapter would not provide nice XML payload in response.
Hope this helps,
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.