on 12-21-2006 2:12 PM
Dear All,
In our scenario, we use the JCO in WebDynpro to make connection with SAP R/3 to access the BAPIs.
For every BAPI call in the Portal, a new connection is established with SAP R/3.
The number of connections established through the portal can be viewed using the SAP transaction SM04 in SAP R/3.
The connections get closed only if the user log off from the portal.
If the user closes the portal without logging off, then the connections are not closed.
Is there any method/procedure to close the SAP R/3 connection explicitly in the WebDynpro source code after executing each BAPI call?
best regards,
Thangesh
Hi Maran,
Add
jcoclientobject(of type JCO.Client).disconnect() in ur code
Thanks
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this.
wdContext.current<BAPI INPUT>Element().modelObject().modelInstance().disconnectIfAlive();
This might helps you.
thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.