Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Visual Composer - Closing connections

Hello everybody,

the RFC connections to the R/3 backend system are not closed when I close my iviews which are created in the Visual Composer. Each time the iview is reloaded, an additional RFC connection is opened.

Someone in the forum reply to same issue:

The connector pool keep the connection alive to be reused by the model iViews datasource, those connections will be closed at the timeout or when CLEANUP runs. It's not a problem is the way how the connector framework works.

Adapt the timeout according to the following SAP Notes: SAP NW Portal Connectivity - Central Note 913483

I've checked the expiration setting of my sap connector SAPFactory:

Connection lifetime: 3600

Cleanup Thread: 5

So why my RFC connection to backend system aren't closed?

I've found this info looking on the help sap...

Visual Composer on NetWeaver 2004s maintains an open connection when using RFC and BAPI calls in one transaction. Visual Composer on NetWeaver 2004 closes the connection after every RFC / BAPI call to the back end regardless of the transaction.

Is it true? If Yes How can I force closing connections?

Best regards.

Tiziano Cracco

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question