Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Bind oData(Line Item Values) to Table

$
0
0

Dear All Gurus,

Need your expert knowledge on solving below simple matter..

 

Below is my Odata request code

 

and I am getting data successfully and below is a snapshot of Chrome Developer tool

 

oData.JPG

 

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", // HTTP method (GET, POST, PUT, DELETE)

                                        user: "ABC",

                                        password: "PW" ,

                                   recognizeDates: true,

  },

 

 

 

How do I bind the Line Item Data("Migo_Navigation" Object as above image) into my Tabel ("oTable1")  ??

 

 

 

Plzz help...


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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