Hi Guys,
I'm trying to get a simple data into my Personas textfield using RFC.
Same as showen in the link below:
How to use RFCs in Personas 3.0 - SAP Imagineering - SCN Wiki
var rfc = session.createRFC("BAPI_USER_GET_DETAIL", "");
rfc.setParameter("USERNAME", "XXXXXX");
rfc.requestResults(JSON.stringify(["ADDRESS", "RETURN"]));
rfc.send();
var address = JSON.parse(rfc.getResult("ADDRESS"));
session.utils.log(address.FULLNAME);
I'm getting an error when excuting my script
In Scripting editor session.createRFC is not found in the list of session.(objetcs)
Error during script execution:
TypeError: undefined is not a function
at eval (eval at <anonymous>
Can any one help me ?
Many thanks,
Medix