Hello all,
Following our discussion with Gerhard Steinhuber on the very nice tutorial from Horst Schaude , "How to upload mass data via XML File Input" , I am starting this new discussion.
In the comments section of this previous cited tutorial, Rufat Gadirov explains how to use a generated XML from Eclipse instead of your XSD file as your source in Excel.
However, in spite of all the instructions, I am still facing the same issue in Excel when I try to save my file as XML : "The XML maps in this workbook are not exportable".
What I try to do is to create one or more Sales Orders with multiple Items in it from a XML File Input, using excel to enter data.
The part with the File input is working (if I directly upload my file to the webDAV, it creates a sales order instance with multiple items).
The only missing part is the Excel data input that I cannot make work. Any help on this matter would be greatly appreciated.
Here is my XML file that I try to use as a source in Excel before inputing data from Excel:
<?xml version="1.0" encoding="UTF-8"?><p:MySalesOrderUploadedIntegrationInputRequest xmlns:p="http://001365xxx-one-off.sap.com/YUUD0G3OY_" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><MessageHeader> <CreationDateTime>2015-03-02T12:00:00.000Z</CreationDateTime></MessageHeader> <List actionCode="01" listCompleteTransmissionIndicator="true" reconciliationPeriodCounterValue="0"> <MySalesOrderUploaded> <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID> <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID> <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime> <MyName languageCode="EN">MyName</MyName> <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty> <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered> <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible> <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit> <MyItem> <MyItemID>token</MyItemID> <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID> <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription> <MyProductTypeCode>token</MyProductTypeCode> <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity> <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity> <MyNetAmount currencyCode="token">0.0</MyNetAmount> </MyItem> </MySalesOrderUploaded> <MySalesOrderUploaded> <MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID> <MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID> <MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime> <MyName languageCode="EN">MyName</MyName> <MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty> <MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered> <MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible> <MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit> <MyItem> <MyItemID>token</MyItemID> <MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID> <MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription> <MyProductTypeCode>token</MyProductTypeCode> <MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity> <MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity> <MyNetAmount currencyCode="token">0.0</MyNetAmount> </MyItem> </MySalesOrderUploaded> </List></p:MySalesOrderUploadedIntegrationInputRequest>
Thank you all for your attention.
Best regards.
Jacques-Antoine Ollier