I have a requirement such that I have to connect to different SAP instance @ runtime.

Architecture :-
-----------------
We have many number of SAP instances running on different servers.  Our ND
application connects to a specific SAP instance using an attribute called 
"SAPSERVER" defined in a .cfg file, in our login page.  And from then on all SAP 
connections & Data Objects execution are carried out against that SAP instance.

Problem :-

We have a requirement, that demands flexibility to connect to a different SAP instance
within the same session.  Hence I have
  1) created 2 other .cfg files with different SAPSERVERNAMEs in the same directory
  2) Included a combo box list in the login page, that allows the user to select a 
.cfg file
     and then
    (The Idea is to setup the SAPSERVERNAME from the user selected .cfg file!!!)
This logic works but for first time only.  If the user gets into the page with a 
selected .cfg file, 
Nd connects this user to the specified SAP instance and access all data objects 
(BAPIs) to
generate results that are displayed on the page. 
***  The problem is when the user logs out of  this app and in the login page (within 
the
same session),  if he selects a different .cfg file, and try to access any SAP 
data objects (Procedures/BAPIs) the server seems to be stalled, and comes out with
"Out of System's Virtual Memory" error messages, and on clicking "OK" proceeds 
further to kill the entire server and hangs.  An important observation regarding this 
problem is the WindowsNT process manager shows, one of saprfc.exe being 
constantly increasing its share of memory occupied and the CPU being utilized 100%
for most of this time for this process..
However, If the user selects this second .cfg file for the first time he gets into the 
browser, this connection works fine.  The problem occurs only when the user logout and
selects the other .cfg file to connect to another SAP instance.
I believe that this could be one of the Data Caching issues ???

If anyone has any better ideas, please let me know.

Thanks in advance,

_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to