on 04-21-2020 5:28 AM
My oData service works perfectly when tested on its own, but after it is not fetching any data when that UI5 is used as standard takk,
following is my oData get call
oModel.read( sPath, {
urlParameters: {
//"$format": "JASON"
// "$expand": "doc_descr,doc_longtext,doc_objectlinks"
},
error: function (oError) {
console.log("Error", oError);
},
success: function (oData, response) {
console.log("oData", oData);
console.log("Description", oData.Documentdata);
console.log("Description2", oData.Documentdata.Description);
// console.log("Description", oData.doc_descr.results);
// console.log("Longtext", oData.doc_longtext.results);
// console.log("Object Links", oData.doc_objectlinks.results);
var oDescrModel = new sap.ui.model.json.JSONModel(oData.Documentdata);
// var oLongTextModel = new sap.ui.model.json.JSONModel(oData.doc_longtext);
oTable.setModel(oDescrModel);
console.log("oDescrModel" , oDescrModel);
}
});
what could be issue? i checked NEO-APP Jason file for my APP it seens correct? please suggest and help in troubleshooting
Hi Niketan,
have you read this:
looks like you have the same Problem that I answered there.
Regards,
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Niketan,
you should check the destination that is used for the HTTP request that triggers that popup. As it is a browser popup, I suppose you should see a 401 status code in the network console for the relevant request.
One of the reasons for that popup can be that SSO does not work, because the destination is not of type App2AppSSO:
See
Regards,
Tobias
User | Count |
---|---|
69 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.