Article ID: 2530219 - View products that this article applies to.
Applies toThis article applies to the following:
This article describes an update that is included in a cumulative update to add the ClearRfcContext binding property to the Microsoft Windows Communication Foundation (WCF)-based SAP adapter from Microsoft BizTalk Adapter Pack.
Consider the following scenario:
In this scenario, you notice that the data that is returned by the RFCs is not what you expected. Additionally, the data that is returned seems to be affected by a previous call that was made to the same RFCs.
The ClearRfcContext binding property can prevent problems similar to those that occur in this scenario.
This problem occurs because, when connection pooling is enabled, the corresponding SAP connection is returned to the connection pool after an RFC call on the SAP R/3 server is executed. When the next RFC call arrives, the same SAP connection is retrieved from the connection pool and is used to execute the call.
If the RFC uses some global variables, and if they are not cleaned up appropriately, the next call to the RFC uses the values that are stored in the global variables from the previous call. This situation could lead to unexpected results.
Note This problem occurs only if the RFC uses global variables and if the global variables are not cleaned up appropriately by the RFC.
To resolve this problem, apply this update. Then, set the ClearRfcContext binding property to True.
Cumulative update information
BizTalk Adapter Pack 2010The hotfix that resolves this issue is included in Cumulative Update 1 for BizTalk Adapter Pack 2010.
For more information about how to obtain the cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/2539794/ )Cumulative update package 1 for BizTalk Adapter Pack 2010
BizTalk Adapter Pack 2.0This fix was first released in Cumulative update package 2 for BizTalk Adapter Pack 2.0. For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/2531605/ )Cumulative update package 2 for BizTalk Adapter Pack 2.0
Notes about this update
For more information about how to establish a connection to the SAP system, visit the following Microsoft Developer Network (MSDN) website:
Establishing a Connection to the SAP SystemFor more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/2003907/ )Information about BizTalk Server hotfixes
Article ID: 2530219 - Last Review: May 31, 2011 - Revision: 2.0