Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Query template returning "object object " with ajax call.

Hi Experts,

I called the xacute query in ajax and tried to bind with sap ui table.

But I could not get json data from query template,Instead it ruturning result as [object,object],[object,object],[object,object]

With static data Ui5 table is working fine but if bind it  following way is  working .

Pls help me to resolve it.

var oModel = new sap.ui.model.json.JSONModel();


   type: "POST",


success: function (data) {


var rows = data.Rowsets.Rowset[0].Row;

alert("rows"+rows);// returning object...... instead of actual results...

oModel.setData({modelData: rows});




error: function (err) {

    alert("Local error callback.");


     });//ajax close  



Former Member
Not what you were looking for? View more on this topic or Ask a question