Skip to Content
Author's profile photo Netanel Slomianski

Controling RFC connections lifetime in Visual Composer

Controlling the connectivity from SAP NetWeaver java server to your backend system is always an important topic.

In Visual Composer, connections to an R/3 or ECC backend systems are kept open and in a “used” state for as long as the application is still running. This can cause major performance problem and also consume huge amount of system resources since many connection objects need to exist in order to serve many users.
When your scenario does not require such state-full connection, you can configure the service to run in a state-less mode and reuse the connection pool.

So, how can you really control the way Visual Composer manages the connections of RFC / BAPIs? Here’s what you should do:

  1. Click on the Search panel.
  2. Search for a certain BAPI / RFC
    Search RFC
  3. Drag the service to the design board.
    Dragging the service to the design board
  4. 4.     Double click on the service and check / uncheck the Keep connection open checkbox.

Note: When this checkbox is ticked, the behavior is the same as before, i.e. the connections stays used as long as the application is running in the browser.
When this checkbox is unticked, the connection is returned to the connection pool immediately after it’s used.

That’s it! Easy, isn’t it?

*This feature is available from NetWeaver 7.2 SP4 and 7.3 SP2 onwards.

Assigned tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.