Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

XMLHTTP Request can not load error in sapui5

$
0
0

Hi All,

 

I am trying to call oData services to  get the data from backend but I am facing an issue meanwhile I am unable to get data.

Below is the screen snap for your reference.

SearchHelpTest.png

Below is my code in controller

 

var oModel = sap.ui.model.odata.ODataModel("http://######:#####/sap/opu/odata/sap/ZSEARCH_HELP_SRV",false,"username","password")

sap.ui.getCore().setModel(oModel);

sap.ui.controller("searchhelptest.main", {

 

});

 

 

Could you please help me to rectify.


Viewing all articles
Browse latest Browse all 2638

Trending Articles



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