Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Fiori - Bind oData to SAPUI5 - Table

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.


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.....

Not what you were looking for? View more on this topic or Ask a question