on 12-04-2008 4:49 PM
Hello everyone,
I need to create a WD app, for internal (employees) and external user (clients over internet), this app, read some data from ECC.
The internal users have user en ECC, but the external users don't have user in ECC, is it possible at runtime change the JCO destination? for user Logon Tickets for Internal user and user/password for external user. Because I don't want to create diferent apps, or create diferent models.
Regards.
Hi,
Someting about this?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Hi,
Jco destination can be set during runtime also. The following is the code to connect to R3 system in APC.
private void connect() {
try {
jcoClient =
JCO.createClient("<client>","<username>","<password>","<language>","<server name>","<sys no>");
jcoClient.connect();
} catch (Exception e) {
System.out.println("Error connecting to SAP ::" + e.getMessage());
e.printStackTrace();
}
}
private void disconnect() {
try {
jcoClient.disconnect();
} catch (Exception e) {
System.out.println(
"Error dis-connecting to SAP ::" + e.getMessage());
e.printStackTrace();
}
}
Thanks
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.