Hello,
i'm trying to send formular data via ajax to an bsp page.
The problem is, that the bsp site does not even start 😔
here is my ajax part from the html page:
url = 'kommentar_id=' + comment_id + '&comment=' + escape(document.getElementById(my_id).value); http_request.open('POST', '/sap/bc/bsp/zre_kommentare2/kommentar_speichern.htm', true); http_request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); http_request.setRequestHeader("Content-length", url.length); http_request.send(url);
In the onRequest event of the bsp page i have an infinite loop. But there is no process in SM66 when i submit the html formular.
When i use the GET method, the bsp page is called, and there is a process in the infinite loop.
Result: when i use GET, it works
when i use POST, it doesn't work 😔
Any ideas ?
Regards,
Tobias