on 01-03-2015 7:41 AM
Hi,
Please suggest me the ways to read OData model entity set variables values directly.
Regards,
Koti Reddy
you can read odata model values by using the ODataModel.read operation, or using JQuery AJAX get/post and specifying the url to the OData Service. Please read on the developer guide or the odata web site for proper syntax.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for reply
Used below syntax and succesful in calling my odata service.
var serviceUrl = getUrl("/sap/opu/odata/sap/Z_SRV/");
var modelFieldDisplay = new sap.ui.model.odata.ODataModel(serviceUrl, true);
modelFieldDisplay.read("entitySet, null, null, false, function(response) {}
Regards,
Koti Reddy
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.