on 10-30-2008 12:44 PM
Hi everyone,
Do you know if is possible to change de user in a JCO destination at runtime?.
We created user password destinations.
Thanks and regards.
Hi,
technically speaking yes, API are available to do this. Not sure abt your requirement
Not tested sample code
try {
IWDJCOClientConnection clientConn = WDSystemLandscape.getJCOClientConnection("aa");
clientConn.update(maxPoolSize, appServerName, systemNumber, client, userDefinition, user, password, sncMode, sncSecurityLevel, sncPartnerName, sncName, sncLibraryPath, language)
} catch (WDSystemLandscapeException e) {
// TODO Auto-generated catch block
e.printStackTrace();
wdComponentAPI.getMessageManager().reportWarning("Erorr while retrieving the connection names");
}
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not answered, but i need to close it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check this links
The following source code example can be used to Change user in JCO Destination
http://help.sap.com/erp2005_ehp_03/helpdata/EN/25/19e7752be1c8459258a072d87e3a34/frameset.htm
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.