I tried to do this all from within the application but found it easier to just start with a JSON file. But, you can use a JS library to convert your CSV into JSON from within the application like this one:
I just converted my CSV to JSON. Once you have that, all you need to do is instantiate a model for it and bind to table.
onInit: function () { var oModel = new sap.ui.model.json.JSONModel("PATH TO YOUR JSON FILE"); this.getView().setModel(oModel); } });
<Table id="idProductsTable" inset="false" items="{ path: '/ProductCollection', sorter: { path: 'Name' } }">
The UI5 demo kit is a good resource. I believe it'll be same/similar for SAPUI5:
See here for example of defining your model and binding to a table: