<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Message mapping error in Iflow in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/message-mapping-error-in-iflow/qaa-p/13924256#M4890568</link>
    <description>&lt;P&gt;You'll want to use the general splitter instead of the iterating splitter if you want to keep the parent hierarchy in the XML... see the help on usage here -&amp;nbsp;&lt;A href="https://help.sap.com/docs/cloud-integration/sap-cloud-integration/general-and-iterating-splitter" target="_blank"&gt;https://help.sap.com/docs/cloud-integration/sap-cloud-integration/general-and-iterating-splitter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2024 19:16:11 GMT</pubDate>
    <dc:creator>Ryan-Crosby</dc:creator>
    <dc:date>2024-10-30T19:16:11Z</dc:date>
    <item>
      <title>Message mapping error in Iflow</title>
      <link>https://community.sap.com/t5/technology-q-a/message-mapping-error-in-iflow/qaq-p/13924255</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;In the message mapping there is an error message&lt;/P&gt;&lt;P&gt;This is the iflow&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Consultor2024_3-1730315194797.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/185356iDE35291E8A653D8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Consultor2024_3-1730315194797.png" alt="Consultor2024_3-1730315194797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am converting a csv file to an xml file&lt;/P&gt;&lt;P&gt;The xml file structure is as follows:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dataset&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;record&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Usuario&amp;gt;XXXXX&amp;lt;/Usuario&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IPGlobal&amp;gt;XXXXX&amp;lt;/IPGlobal&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Estatus&amp;gt;XXXXX&amp;lt;/Estatus&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IdDiv&amp;gt;XXXXX&amp;lt;/IdDiv&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/record&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/dataset&amp;gt;&lt;/P&gt;&lt;P&gt;The file has more than 5000 records so I'm going to split it into blocks of 500 records.&lt;/P&gt;&lt;P&gt;This is the definition of the iterating splitter&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Consultor2024_1-1730315162186.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/185354i247353761C8AF671/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Consultor2024_1-1730315162186.png" alt="Consultor2024_1-1730315162186.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the xml file structure after splitting it into blocks&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;record&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Usuario&amp;gt;XXXXX&amp;lt;/Usuario&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IPGlobal&amp;gt;XXXXX&amp;lt;/IPGlobal&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Estatus&amp;gt;XXXXXe&amp;lt;/Estatus&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IdDiv&amp;gt;XXXX&amp;lt;/IdDiv&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/record&amp;gt;&lt;/P&gt;&lt;P&gt;In this structure the &amp;lt;dataset&amp;gt; node is no longer there&lt;/P&gt;&lt;P&gt;With this structure configure the xsd file that is needed for the message mapping&lt;/P&gt;&lt;P&gt;This is the message mapping&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Consultor2024_2-1730315162189.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/185355i2C469A60ED67E7F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Consultor2024_2-1730315162189.png" alt="Consultor2024_2-1730315162189.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in the Iflow simulation there is this error:&lt;/P&gt;&lt;P&gt;The markup in the document following the root element must be well-formed&lt;/P&gt;&lt;P&gt;I think it's because the &amp;lt;dataset&amp;gt; node is needed in the xml file&lt;/P&gt;&lt;P&gt;I did a test without the splitter (with few records) and it works fine,&lt;/P&gt;&lt;P&gt;Is there any way to add the &amp;lt;dataset&amp;gt; node in the blocks of the XML files?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 19:12:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-mapping-error-in-iflow/qaq-p/13924255</guid>
      <dc:creator>Consultor2024</dc:creator>
      <dc:date>2024-10-30T19:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Message mapping error in Iflow</title>
      <link>https://community.sap.com/t5/technology-q-a/message-mapping-error-in-iflow/qaa-p/13924256#M4890568</link>
      <description>&lt;P&gt;You'll want to use the general splitter instead of the iterating splitter if you want to keep the parent hierarchy in the XML... see the help on usage here -&amp;nbsp;&lt;A href="https://help.sap.com/docs/cloud-integration/sap-cloud-integration/general-and-iterating-splitter" target="_blank"&gt;https://help.sap.com/docs/cloud-integration/sap-cloud-integration/general-and-iterating-splitter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ryan Crosby&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2024 19:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-mapping-error-in-iflow/qaa-p/13924256#M4890568</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2024-10-30T19:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Message mapping error in Iflow</title>
      <link>https://community.sap.com/t5/technology-q-a/message-mapping-error-in-iflow/qaa-p/13924278#M4890577</link>
      <description>Thanks for your help</description>
      <pubDate>Wed, 30 Oct 2024 20:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/message-mapping-error-in-iflow/qaa-p/13924278#M4890577</guid>
      <dc:creator>Consultor2024</dc:creator>
      <dc:date>2024-10-30T20:43:22Z</dc:date>
    </item>
  </channel>
</rss>

