Skip to Content
author's profile photo Former Member
Former Member

Connection Pooling


I have two doubts.

1) I am building a web application which hasan SAP system as backend .The web application basically delivers a web front end for some of the underlying SAP transactions. The web application utilises the SAP JCO to call the backend BAPIs. Can I create a pool of RFC connections by supplying only a single userid and password and use that pool for multiple users logged into the web application.

2)In another case I decide to log in to the web application with an SAP userid and password ,user validation done against SAP backend. I would like to use these individual userids and passwords to create pooled connections to backend. Would this mean that if there are N users N pools needs be created .

Kindly clarify



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2004 at 04:16 PM

    Hello Pran,

    Regarding your questions (I suppose it is regarding JCO outside of the Web Dynpro world, right?):

    1) Yes, this is possible, a pool is always bound to ONE userid and password meaning that all connections taken from this pool will also always use these credentials. It is a peculiarity of a SAP connection that it is always bound to a SAP User-ID and a SAP Client number.

    2) Yes, you are right, you have to create N pools for N different users. If you will need only one connection per user it would be easier not to create a pool but creating a JCO.Client directly.

    More documentation is available within the download files for the JCO. Please take a look at

    the Service Marketplace -> SAP Java Connector -> Tools & Services. FAQs are available here as well.

    But there is also some documentation available with a Web Dynpro based JCO Connection Service. If you are interested in that also, please let me know.

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Karin...that was right to the point .

      Yes I would like to know how connection handling is done in the Web Dynpro world or please direct me to some documentation.

      Are there any license implications in sharing a single connection pool(based on single userid and password) for multiple web users



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.