Hi All,
I,m trying to read data from SAP AS java system.
var formModel = sap.ui.model.odata.ODataModel("proxy/http/XXXXXXXXXXXXX/service", "username", "pwd");
var path = "/mycollection?$expand=abc&$format=json";
formModel.read(path,auth,true, function(oData, oResponse){
console.log(oData);
},function(){
alert("Read Unsuccessful");
});
i tried using above code but its working fine and showing 200 statusCode but the problem is empty object even though i have data.
for more information PFA.
so any suggestions.
Thanks & Regards
Venkat.