Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9269

Re: CRUD using UI5+NW Gateway

$
0
0

I'll just mention the changed onInit funtion here, too.

 




onInit: function(){   
var oModel = new sap.ui.model.odata.ODataModel( "proxy/http://<host>:<port>/sap/opu/odata/sap/Y_BANK_RFC_DATA_01",false, "username", "password");
var oTable = sap.ui.getCore().byId("bank_key");
oTable.setModel(oModel);
var FilterOperator = sap.ui.model.FilterOperator;
var filter = new sap.ui.model.Filter("bank_ctry",FilterOperator.EQ, "IN");
oTable.bindRows("/y_bank_rfc_data_01Collection()", null, null,[ filter ]);
},

Viewing all articles
Browse latest Browse all 9269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>