Home > Ask the SAP software/management Experts > Java/SAP development Questions & Answers > Workaround for an error connecting to SAP using SAPjco.jar
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Workaround for an error connecting to SAP using SAPjco.jar

Austin Sincock EXPERT RESPONSE FROM: Austin Sincock

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


SAP news, tips and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 20 December 2005
When I connect to my SAP system from a Java application using SAPjco.jar, it throws the following exception:

"103) RFC_ERROR_LOGON_FAILURE: You are not authorized to logon to the target system (error code 1)."

I have a user ID and password through which I can access SAP system by the Web environment. To access the SAP system by SAPjco.jar, what type of user ID should be used? Is there any other access method to be used?


>
Make sure that your user has access to RFC_SYST in the user profile. You can use a dialog user, as long as that user can execute an RFC. Try executing the same RFC through SE37 to make sure you user can call that function module.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Java/SAP development
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
With Java development experience, should I go into SAP XI?
Answering basic BAPI questions
Viewing a list of SAP interfaces
Which SAP implementation phase is Java necessary for?
Interface a locally developed application with SAP
Should an ABAP professional know Java?
Storing SAP information from a JCo connector
Integrating SAP with C++, Java, and Powerbuilder on Sybase and Oracle DBs

SAP Java and J2EE
SAP CTO Sikka: SAP's innovation gets overlooked
SAP CTO expects today's SAP applications to be running in 2020
Tips on SAP ABAP
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
SAP NetWeaver Configuration and Customization
Is C, C++ and Java knowledge required when learning SAP?
How to be a self-taught NetWeaver and ABAP expert
Getting started with a NetWeaver career
An ABAP user wants to learn XI

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts