Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Multiple iDocs in a single file

$
0
0

Hello,

I'm working on some integration to send a purchase order change file into SAP from BizTalk.  Everything works when we send every change as its own iDoc, or when we send all changes for a single PO in a single file, but when we try and include multiple iDocs in a single send, we get an error that it has to many elements.  The definition below is of the idocData element which indicates it can send more than one:

<xs:elementxmlns:q2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711"minOccurs="1" maxOccurs="2147483647" name="idocData" nillable="true"type="q2:PORDCH03">

A sample of the file:

<?xml version="1.0"?>
<ns0:Send xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:ns2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" xmlns:ns1="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711" xmlns:ns0="http://Microsoft.LobServices.Sap/2007/03/Idoc/3/PORDCH03//711/Send">
     <ns0:idocData>
        <ns1:EDI_DC40>
        ....
        </ns1:EDI_DC40>
        <ns1:E2PORDCH000GRP>
        ......
        </ns1:E2PORDCH000GRP>
    </ns0:idocData>
    <ns0:idocData>
        <ns1:EDI_DC40>
        ....
        </ns1:EDI_DC40>
        <ns1:E2PORDCH000GRP>
        ......
      
     </ns1:E2PORDCH000GRP>

    </ns0:idocData>
</ns0:Send>


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>