Skip to Content
0
Former Member
Jan 25, 2010 at 06:21 PM

webdynpro JCO - RFC Connections are not closing in back end ECC (SM51)

105 Views

Hi Experts,

we are running ESS/MSS and some custom webdynpro applications in our portal (EP 7 SP 13). When users login to portal and click on ESS and custom webdynpro applications , we can see RFC connections are being created in back end SM 51. when user logoff from portal, we can see few rfc (probably ESS/MSS) are getting closed and few are not (custom webdynpro apps).

i have included below code in component controller doexit method. But it didn't help . I can still see RFC connections running in back end ECC (SM 51)

try {

PmpFormsProModel svModel =

(PmpFormsProModel) WDModelFactory.getModelInstance(

PmpFormsProModel.class);

PMPSalesModel slsModel =

(PMPSalesModel) WDModelFactory.getModelInstance(

PMPSalesModel.class);

svModel.disconnectIfAlive();

slsModel.disconnectIfAlive();

logger.setDescription(

"dosconnected models(PmpFormsProModel,PMPSalesModel)rfc connections successfully.....");

} catch (Exception e) {

}

Please suggets.