I'm prototyping SAUUI5 connect with SAP RFC
I just successed to call rfc and get the xml data that was extracted from internal table
below var that name is 'data' has xml data but I can't show the data at web page
What is wrong?$.get('MyFinanceCardList', { strFrDate: frDate, strToDate: toDate }, function(data) { //Create a model and bind the table rows to this model var oModel = new sap.ui.model.xml.XMLModel(); oModel.setXML(data);
oTable.setModel(oModel); oTable.bindRows("/ZSA0FIHFLX0054"); // binding all the rows into the model
});
Assuming that the your model has the correct data, your binding might be the problem.
You might need to check the code where you create your table. Columns and their templates must be defined and bound to the properties of your model.
You already have an active moderator alert for this content.
Add comment