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

Article ID: 2650377
Expand all | Collapse all

On This Page

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

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.

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

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:
How to send IDOCs to an SAP system by Using BizTalk Server

Properties

Article ID: 2650377 - Last Review: January 20, 2012 - Revision: 1.0
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew kbbiztalk2002presp1fix kbbtsadapters KB2650377

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com