Skip to Content
0
Former Member
Jun 03, 2009 at 01:47 PM

JCO Connection Pool Problem

57 Views

Hello Sir/Madame,

We use connection pools successfully in J2EE application for log on to the SAP Server with generic user as shown "http://help.sap.com/saphelp_nw04/helpdata/en/bc/eedf3d0eb8af5ee10000000a114084/frameset.htm". Through this application, we connect to the backend system and create Purchase Requisition via using 'BAPI_PR_CREATE' function. Program test was successful. The past days, we started to users training about 30 persons, when users pressed save button at the same time, each of them successfully create PR, BAPI return message "xxx number Purchase Requisition was created", but for a problem emerges: BAPI returning in the message, user A creates requisition with number xxx, user B creates requisition with number yyy. But when we look at SAP, xxx requisition has been created by user B and yyy requisition has been created by user A.

When we tried this scenario with 4-5 persons, its ok, we donu2019t have a problem. Each person create Purchase Requisition with own user name. So while many users have built (about over 20 persons) connections with connection pool are involved.

Do you have a suggestion for this situation?