on 07-19-2007 7:22 AM
Hello All,
In Web Dynpro we are using JCo Connections for connectiong to the R/3 and we have configured our SLD as well.
From a developer stand point do we need to take special precautions while opening and closing the JCO Connections or is it being handled by the Web Dynpro Runtime.
Thanks and Regards
Pradeep Bhojak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
After excuting the RFC in the webdynpro application. in the finallay block you have to close the jco connection. If you failed to close it when ever it reach the maximum jco connection (Maximum JCO connection is defined during the creation of JCO Destination) it will through a error
try
{
// Rfc Exceting steps
}
catch (Exception e) {
}
finally
{
<ModelName> mm=(<ModelName>)WDModelFactory.getModelInstance(<ModelName>.class);
mm.disconnectIfAlive();
}
Hope this helps,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no precautions r required...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
From a developer perspective nothing is required.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.