Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: You cannot use the WCF-based SAP adapter to send multiple IDOCs as a batch in BizTalk Adapter Pack 2.0


View products that this article applies to.

This article applies to the following product:
  • BizTalk Adapter Pack 2.0

↑ Back to the top


Symptoms

Consider the following scenario:
  • You use the Microsoft Windows Communication Foundation (WCF)-based SAP adapter from Microsoft BizTalk Adapter Pack 2.0 to connect to an SAP system on a computer that is running Microsoft BizTalk Server.

    Note The WCF-based SAP adapter is also known as the Microsoft BizTalk Adapter for mySAP Business Suite 3.0.
  • You create a BizTalk project. Then, you use the Add adapter service reference wizard to create schemas for intermediate document (IDOC) inbound operations for the SAP system. The BizTalk project uses the WCF-based SAP adapter to receive IDOCs from the SAP system.
In this scenario, the maxOccurs setting for the iDocData node is set to 1 in the generated schema. For example, you receive the following message in the generated schema:
<idocData minOccurs="1" maxOccurs="1">
Therefore, you cannot send multiple IDOCs in a batch to the SAP system.

Notes
  • You cannot send multiple IDOCs as a batch even if you manually change the maxOccurs setting to a value that is larger than 1 in the generated schema.
  • The issue does not occur when you use the WCF-SAP adapter that is included in Microsoft BizTalk Adapter Pack 2010 because the maxOccurs setting is set to 2147483647.

↑ Back to the top


Resolution

Cumulative update information

BizTalk Adapter Pack 2.0

A hotfix is available to resolve this issue. This hotfix is available individually and is included in Cumulative Update 5 for BizTalk Adapter Pack 2.0. 

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:
2649848 Cumulative update package 5 for BizTalk Adapter Pack 2.0

↑ Back to the top


References

For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:

2003907 Information about BizTalk Server hotfixes

For more information about how to send IDOCs to an SAP system by Using BizTalk Server, visit the following MSDN website:

↑ Back to the top


Keywords: kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kbbiztalk2002presp1fix, kbbtsadapters, kb

↑ Back to the top

Article Info
Article ID : 2650377
Revision : 2
Created on : 9/11/2018
Published on : 9/11/2018
Exists online : False
Views : 151