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