Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all articles
Browse latest Browse all 5806

Create Records through OData using Jquery

$
0
0

Hi All,

 

 

I have created a OData Service in SAP ECC system in format

 

 

http://hostname:portno/sap/opu/odata/sap/Z_PORDER_SRV/PurchaseOrderHeaderCollection

 

I am trying to create a record from front end using JQuery.   I am able to retrieve all the records, but creation of records using Method "POST" fails.

 

For creating records, using the method "GET", i fetch the token "X-CSRF-Token" and then pass the token to the "POST" method.

 

 

 

I am getting an Exception "No Handler for Data" error is coming.   I am accessing the OData Service using the datajs framework.

(datajs-1.1.1.min.js).

 

 

 

Please help me in resolving this issue.

 

 

Thanks,

Divya

               


Viewing all articles
Browse latest Browse all 5806

Trending Articles



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