Skip to Content
0
Sep 08, 2014 at 04:36 AM

Fiori - Bind oData to SAPUI5 - Table

363 Views

Dear All Gurus,

Need your expert knowledge on solving below simple matter..

I have created an oData(for customized app - Purchase Order Header and Line Items for MIGO transaction) and I am getting data successfully from oData but I am bit stuck in how to bind these Line Items Values to SAPUI5 table.

and below is a snapshot of Chrome Developer tool.

Code

var serviceURI = "proxy/http/--/sap/opu/odata/sap/ZMIGO_SRV/MIGOSet(GmCode='01',DocumentInput='2000006954')?$expand=MIGO_Navigation";

OData.request({ requestUri: serviceURI,

headers:{"X-Requested-With": "XMLHttpRequest",

"Content-Type": "application/atom+xml",

"DataServiceVersion": "2.0",

"X-CSRF-Token":"Fetch" },

method : "GET",

user: "ABC",

password: "PW" ,

recognizeDates: true,},

Plz help.....

Attachments

oData.JPG (79.2 kB)