cancel
Showing results for 
Search instead for 
Did you mean: 

JCo connections keep alive

Former Member
0 Kudos

Hi Forum,

In a Web Dynpro project, we have a number of JCo connections making calls to RFC Functions of a SAP ECC 5 system.

We are using a common comunication(RFC) SAP user to create this connections. Using SM04 transaction we realized that the RFC connections keep alive even the JCo connection is finished.

Did anybody have this problem before?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gustavo,

yes these connections keep alive after executing model also.

If you want to close this connection explicitly then write following code after executing your model.

wdContext.current<Node name>Element().modelObject().modelInstance().disconnectIfAlive();

Regards,

Bhavik

Answers (0)