on 06-10-2020 9:44 AM
Hi expert ,
I want to retrieve the data from odata and want to set the value in table after changing eg. aggregation , conversion... .
I use the Get type of $.ajax . I can retrieve the data and put it to array after that I can manipulate the data .
But there is the problem , I don't want to retrieve all data from odata. I set the selection filed as parameter and want to retrieve the data that based on parameter . Although I set the data as parameter , It doesn't work and retrieve all data .
Could you please check my logic and give me any advice .
Best Regards,
Phyo
you shouldn't send the parameters in the body, try passing them in the URL as a filter as shown in the example below:
https://www.odata.org/documentation/odata-version-2-0/uri-conventions/
And any reason why are you not using odatamodel?
https://sapui5.hana.ondemand.com/#/api/sap.ui.model.odata.v2.ODataModel/methods/read
BR
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.