on 12-16-2008 11:17 PM
Hi,
In my FPM component I want to ensure Connections are closed for each model.
I had written a method disconnectModel() in Fc - CC where I am disconnecting my models ( fpm.disconnectModel(model) )
Where I need to call this method in FPM so that my all connections to models are closed?
Thanks
Hi,
If you are getting connection explictly then you must call JCO.releaseClient(jcoClient)
If you are getting connection implictly via Adaptive RFC model then you should not close it but call disconnecteIfAlive on the model.
wdcontext.currentelement().modelObject().modelInstance().disconnectIfAlive();
it will close your connection to the SAP R/3.
Regards
Padma N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.