Dear All,
Recently we had upgraded our web system from Visual Studio 2003 to Visual Studio 2013. At the same time, we also applied the SAP.NET connector 3.0 instead of RFC call from the SAP function control to connect to the SAP system.
The method that we used to call SAP basically is register RFC -> Call BAPI -> Unregister RFC
<QUOTE>
...
RfcDestinationManager.RegisterDestinationConfigguration(objDestConfig)
...
bapiSOGetDetail.Invoke(destination1)
...
RfcDestinationManager.UnregisterDestinationConfiguration(objDestConfig)
...
<UNQUOTE>
Attached please find the VB source code for your reference.
For single user calling, there is no problem. However, when there are more than one user calling the BAPI at the same time. The register will be failed.
Error : Destination configuration already inialized.
Since we need multiple users to call and update SAP system from web system. Please let me know there is any solution for us.
Look forward to your information. Thank you very much.
Best Regards
David