var form = document.createElement("form"); form.setAttribute("method", "post"); form.setAttribute("action", "sapevent:foobar"); var field = document.createElement("input"); field.setAttribute("name", "foo"); field.setAttribute("value", "bar"); form.appendChild(field); document.body.appendChild(form); form.submit();
In SAP GUI for Windows this works fine. But when I use SAP GUI for Java both POSTDATA and QUERY_TABLE are empty. What could be the problem? And how can it be solved?