I'm running a test class that calls into SAP via JCo. I'm getting the following error:
Error authenticating to 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.
Dig Deeper on SAP Java and J2EE
Related Q&A from Austin Sincock
How to provide an SAP R/3 4.5B application server with a Web service interface Continue 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.