on 08-09-2019 4:10 PM
hi,
I have a problem in the call to rfc, I have migrated from screen personas 3.0 service pack 3 to screen personas 3.0 service pack 9. In the scripts I have calls to rfc using the XMLHttpReques method, as follows
var random = Math.random ();
var server = location.protocol + '//' + location.host;
var webrfcURL = "" + server + "/ sap (bD1lcyZjPTIwMQ ==) / bc / webrfc? _FUNCTION = Z_xxxx & _Name =" + v_pernr + "& _ random =" + random + "";
var request = new XMLHttpRequest ();
request.open ("GET", webrfcURL, false);
request.send ();
var results = request.responseText;
var arr = JSON.parse (results);
var arr_length = parseInt (arr.results.length);
but with the new service pack, it does not recognize the instructions
var server = location.protocol + '//' + location.host;
as well as neither
var request = new XMLHttpRequest ();
How can i solve this problem?
from already very grateful
Greetings.
Hello,
It is been a while, any chance you solved this please ?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.