04-20-2006 6:51 PM
Hello,
i want to develop a java-application around cFolders calling RFCs with JCO.
I get the following error code from JCO:
"[code]com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The function module "CFX_API_USER_GET_LIST" cannot be used for 'remote' calls.
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)[/code]
Is there an easy ABAP-code example which offers the function modules in the cfx_*-namespace remotable to bind it in the JAVA-Code?
04-20-2006 7:40 PM
Hi,
You can refer to java programming forum with Subject "Need RFC Function Modules for LOCK and UNLOCK Database Tables".
Here i have answered your question.
Regards,
Tanveer.
Please reward some points if found helpful.
04-20-2006 7:00 PM
Hi,
For some reason I cannot see the entire error message that you have posted, but sounds like you are calling a function that is NOT remote enabled, that means you can call it only from inside SAP.
If you look at the attributes of the function, it should be remote enabled, only then you can call it from an external system.
Regards,
Ravi
Note : Please mark the helpful answers
04-20-2006 7:17 PM
Hello thx!
Remote isn't enabled. Is there a possibility to offer that function modules programming a "gateway module" or a module which gives access to the function modules in cfx*-namespace?
04-20-2006 7:24 PM
Hi,
A work around could be wrap this function with a custom one which will be Remote enabled. The custom function could be create with exactly same parameters as the standard one.
In the current situation I don't think SAP offers any other solution.
Regards,
Ravi
Note : Please close the thread if this resolves the issue.
04-20-2006 7:40 PM
Hi,
You can refer to java programming forum with Subject "Need RFC Function Modules for LOCK and UNLOCK Database Tables".
Here i have answered your question.
Regards,
Tanveer.
Please reward some points if found helpful.