on 11-27-2015 8:17 AM
Hello Team,
I created one remote enabled function module and registered that in persons whitelisted group. I am calling that FM in personas 3.0 javascript code. still I am getting the error that "FM is not remote enabled". can anybody suggest me the solution.
PFB code.
Var rfc1 = session.createRFC("zfm_get_date");
rfc1.requestResults(JSON.stringify["e_date" , "RETURN"]));
rfc1.send();
var param1 = JSON.parse(rfc1.getResult("e_date"));
Regards,
Sunayanah
Hi Sunayana,
Please use the below script and try.
FM name and parameter name should be in upper case.
Var rfc1 = session.createRFC("ZFM_GET_DATE");
rfc1.requestResults(JSON.stringify["E_DATE" , "RETURN"]));
rfc1.send();
var param1 = JSON.parse(rfc1.getResult("E_DATE"));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunayana,
These are case sensitive as mentioned by shailaja.
How to call Remote Enabled ABAP Function Modules in Personas 3.0 - SAP Imagineering - SCN Wiki
Sample Script:
var rfc = session.createRFC( "BAPI_USER_GET_DETAIL" );
|
Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Open Se37 --> open FM --> under the attribute tab there is one option enable remote enable option and check the same.
Thanks & Regards,
Krunal Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.