Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Consume response from Odata using sapui5

$
0
0

Hi everyone, can someone help me to consume response given after authenticating gateway using sapui5

 

var oModel = new sap.ui.model.odata.ODataModel("http://server:8000/sap/opu/odata/MOBPOPR/POPRAPP_SRV/ValidateApproverCollection/?$filter=Approverid eq 'supervisor' and Password eq 'welcome1'&$format=json", true, "mobtest", "welcome1")

 

here i have the url and how can I get http response from the server.And so that I can store the data into a string for parsing. The response will be like this..


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>