Skip to Content
author's profile photo Former Member
Former Member

RFC_ERROR_LOGON_FAILURE

Hi Forum,

I am trying to consume a BAPI from JAVA. For this, i copied a SAPJCO.JAR and two dlls by the name sapjco.dll and librfc.dll from SAP Market place. When i make a call to SAP, i am getting an error

"RFC_ERROR_LOGON_FAILURE" - : Name or password is incorrect (repeat logon)

I am very sure that the user name and password that i provided are correct. I tried with different user names which have administrator rights. I feel that there is some extra authentication required to connect to SAP remotely.

Can any one ever faced this problem ? Please help me in this regard.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:03 AM

    Have you already recorded a Authority Trace (Txn ST01), when calling this FM from Java?

    Also, keep in mind, that the user has to be authorized to call FMs from the according Function Group...

    Edited by: Mike Schernbeck on Jan 31, 2008 12:03 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:06 AM

    Hi,

    Pls check the length of the username/password fields you are passing against those of the server. A mismatch in this also can cause the problem.

    Regards,

    Renjith Michael.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Go to the transaction SM59 in SAP,

      take R3 connections and select the RFC Destination which you are using and try to 'REMOTE LOGON'. IF it is not login to the server, they try to change the user name and password in the logon&security tab and also check the IP Nmae in technical settings

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 11:14 AM

    Hi,

    I switched on the trace but i couldn't find any logs.

    Also, i checked the length of user name and password. There is no mismatch in that also.

    Mike.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.