cancel
Showing results for 
Search instead for 
Did you mean: 

how to make a java application to connect SAP ABAP server through SAP JCO ?

Former Member
0 Kudos

i am new to SAP Jco....................

i have two servers, one SAP production server and another SAP quality server...............

i am developing a JAVA program which will connect to SAP through SAP Jco..............

when i am connecting to SAP Production server through java program it works fine

but when i trying to connect to SAP Quality server it gives this error :

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)

so, please tell me why this error is coming if all required details are correct........

i searched a lot but nothing found.........

so, please help me, i am very thankful to you......

and give me details for developing a java Jco application from scratch.......

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member214651
Active Contributor
0 Kudos

Hi,

Under content administration --> WebDynpro, check for the JCO destination which you are using for connecting to the backend system.

Select the destination name and click on "Test connection" to see if the ping is successful. if there are any errors while connection, notify your portal administrator / BASIS team to resolve the issue.


Poojith MV

vijay_kumar49
Active Contributor
0 Kudos

Rajesh,

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)

Solution :
Correct the username
Correct the password

While Creating JCO's to SAP Quality System, that time give  SAP Quality System username and password.

Hope this helps!!

Regards

Vijay Kalluri

Former Member
0 Kudos

hi,

thanks for your reply....

i am giving correct username and password ......

and through sap quality server gui sap user is able to login......

so, please tell me if any configurations which i have to do in sap server for user authentication to connect through SAP Jco or any security issue.....

or i have do something with sap librfc32.dll file in sap server...............

Regards,

Rajesh Thakur

jimguo
Advisor
Advisor
0 Kudos

Hi,

Possibilities should be:

1. You have connected to wrong application server.

Enable security audit log in SM19 and see if there is entry recorded in SM20 after logon failed.

2. You are using old java connector and incompatible password.

See note 1023437 and 792850.

You can also use note 495911 for trouble shooting.

Thanks.

Jim