3 Replies Latest reply: Apr 30, 2012 9:54 AM by Vishvesh Shukla RSS

Unable to POST Data through JavaScript using screen scrapping REST Service.

Vishvesh Shukla
Currently Being Moderated

Dear Experts,

 

I have created a REST web service through screen scrapping. In which I created recording for READ and UPDATE of transaction TZ60 and TZ90.

 

Now as I am using this web service for reading and posting through java script. i.e Odata.read and Odata.request respectively.

 

Here READ is working fine, which is giving me exact data from the database. But when I try to POST the updated data i get an error like 'ERROR Occurred HTTP Request failed'.

 

I refereed this doc for writing java script.

[Document|http://wiki.sdn.sap.com/wiki/download/attachments/250646828/JavaScript-HowtoGuide.pdf?version=1&modificationDate=1318263992587]

 

Edited by: Vishvesh Shukla on Feb 9, 2012 8:19 AM

 

Edited by: Vishvesh Shukla on Feb 9, 2012 8:20 AM

Actions