SAPUI5 - oDataV4 - Query with $top=500

 var sPath = "/ToBeApprovedList",         oModel = this.getView().getModel(),         oListBinding = oModel.bindList(sPath);

oListBinding.requestContexts(0, 500).then(oResult => {          oResult = { value: oResult.map( x => x.getObject()) };
         if (oResult.value) {         that.setModel(new JSONModel({ value: oResult.value }), "approvalData");
} });

Popular posts from this blog

SAP CPI - Loop Process Call with SuccessFactor (oData V2)

C# - MD5 in BASE64

HTML - ToolTip