cancel
Showing results for 
Search instead for 
Did you mean: 

Change user in JCO Destination

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

It is not answered, but i need to close it.

former_member192434
Active Contributor
0 Kudos

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