How to retrieve table values in SAP UI5 Fiori

Define your table at view.js   var oTable = new sap.m.Table(“oTable”,{ growingScrollToLoad : true, mode : sap.m.ListMode.MultiSelect, width : “700px”, columns : [ new sap.m.Column ({    header : new sap.m.Label({          text : “Col1”,          design : “Bold”    }),    width : ‘150%’,           resizable : false,           flexible… Continue reading How to retrieve table values in SAP UI5 Fiori

Way to call SAP Fiori

Job: Calls SAP service named ‘zanilfiori’ Calls method “CHECK_USER_AND_PASSWORD” in SAP service named ‘zanilfiori’ with input parameters: Username = username Password = password. Then gets a return named data. // Defining Parameters var oParameters = { “method” : “CHECK_USER_AND_PASSWORD”, “username” :  ‘username’, “password” :  ‘password’ }; oBusyDialog.open(); $.ajax({ url : “/zanilfiori/” , contentType : “application/json”,… Continue reading Way to call SAP Fiori