Problem solve Get help with specific problems with your technologies, process and projects.

JCO connector fails to read data from SAP

Single sign-on could be a reason why JCo won't read SAP data, says Thomas Schuessler.

Username used in JCO connector appears to be replaced by Windows login name when connecting to SAP system. For example in JCO code I specify username 'test', login into Windows box as 'winuser' and run JCO connector. Connector fails to read data from SAP and on SAP side I see user 'winuser' (instead of 'test') trying to connect. Any specific env variable, property I need to set?
This is very strange, because JCo does not even know that Windows exists. Have you included Single-Sign-On stuff in your JCo application? Otherwise, we would have to see the source code of your application. Or you may want to try one of my sample programs that come with JCo to see whether they show the same kind of behavior.
This was last published in December 2003

Dig Deeper on SAP Java and J2EE

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.