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.