on 05-26-2008 11:17 AM
Hello! I can't log on to sap system. What I have to configure?? I know my credentials are korrekt!!!
Thanks!!
mConnection =
JCO.createClient("100", // SAP client
"XXXX", // userid
"XXXX", // password
"DE", // language
"192.168.2.10", // application server host name
"00"); // system number
mConnection.connect();
When I start the connection:
JCo Version 2.0.12 (2005-06-20)
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name oder Kennwort
ist nicht korrekt (Wiederholen Sie die Anmeldung)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(Unknown Source)
at com.sap.mw.jco.JCO$Client.connect(Unknown Source)
at MainJavaFTP.<init>(MainJavaFTP.java:67)
at MainJavaFTP.main(MainJavaFTP.java:128)
Press any key to continue...
Hi,
have you checked if the user has been locked? This can happen if your loging fails 3 times. Another possibility might be that the user is not an RFC user.
T00th
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Andrei,
Under SU01, you can manage your user. I am not familiar with where exactly you can check if the user is a dialog user or a service user, but I think this is under the "Logon Data" tab. I don't have access to an R/3 system right now so I cannot check.
I would suggest that you talk to your user/system administrator(s) about it.
T00th.
P.S - also try to get the latest version of JCo - 2.1.8 rather than the one you are using. 2.0 is quite old.
Edited by: Sameer Jagirdar on May 26, 2008 12:55 PM
Hi Andrei,
if you want to read a JCO.Table. The code should be like this:
JCO.Table table= function.getTableParameterList().getTable("PROFILEVALUES");
if (table.getNumRows()> 0)
{
table.firstRow();
do
{
System.out.println(tableData.getString("NAME_FIELD"));
}
while (table.nextRow());
}
Best regards,
Mathieu
PS : reward points if helpful
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.