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.
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.