I'm running a test class that calls into SAP via JCo. I'm getting the following error: Error authenticating to...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
SAP host: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: User XXXXXXXX has no RFC authorization for function group SYST. Looks to me like the user doesn't have rights to make RFC calls -- would that be correct?
The user you are using to create the JCo connection instance does not have authority to access that specific RFC. Depending on what the function is, you will need to update the connecting user's profile in SAP. If you have access to a sandbox, try testing with a user that has the 'SAP_ALL' profile.
Related Q&A from Austin Sincock
How to provide an SAP R/3 4.5B application server with a Web service interfacecontinue reading
A reader wants to know how to consume a Web service from an SAP 4.6c R/3 application server.continue reading
Are you a Java/J2EE developer interested in SAP? This expert tip lists the most relevant SAP modules and technologies for you.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.