<?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: Mapping on complex to simple tree structure in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245726#M4585387</link>
    <description>Thank you, Anupam. That is a very smart solution. It works great. Thank you again.</description>
    <pubDate>Fri, 30 Oct 2020 13:28:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-10-30T13:28:01Z</dc:date>
    <item>
      <title>Mapping on complex to simple tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaq-p/12245722</link>
      <description>&lt;P&gt;Hi experts&lt;/P&gt;
  &lt;P&gt; Please help on the following mapping requirement: input structure&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1856665-7afwm.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Output:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1856667-szwfi.png" /&gt;&lt;/P&gt;
  &lt;P&gt;The output invoice_detail is mapped to input3-dat-invoices-record-invoice. invoiceid is mapped to invoiceid. However, the input invoices node can have cardinality 1..3 and the record may not exist. The first available invoice value is mapped to invoice_detail. If there is no invoice node available, no mapping should happen.&lt;/P&gt;
  &lt;P&gt;For example: input&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1856669-brodu.png" /&gt;&lt;/P&gt;
  &lt;P&gt;output should be:&lt;/P&gt;
  &lt;P&gt;mt_output3&lt;/P&gt;
  &lt;P&gt;data &lt;/P&gt;
  &lt;P&gt;invoiceid x1&lt;/P&gt;
  &lt;P&gt;invoice_detail inv11&lt;/P&gt;
  &lt;P&gt;data&lt;/P&gt;
  &lt;P&gt;invoiceid x2&lt;/P&gt;
  &lt;P&gt;invoide_detail inv21&lt;/P&gt;
  &lt;P&gt;data&lt;/P&gt;
  &lt;P&gt;invoiceid x3&lt;/P&gt;
  &lt;P&gt;I would like to stay with graphical mapping. If I change it to XSLT, there are too many changes. Note that this is just a small portion of the real mapping.&lt;/P&gt;
  &lt;P&gt;Your help is much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 22:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaq-p/12245722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-10-27T22:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping on complex to simple tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245723#M4585384</link>
      <description>&lt;P&gt;The biggest issue is that data-invoices-record may not exist. That makes most of the node functions not working when I tried to align the invoice node against the data node. The invoice node tends to shift out of context position whenever we have blank record node. &lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 22:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245723#M4585384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-10-27T22:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping on complex to simple tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245724#M4585385</link>
      <description>&lt;P&gt;Anyone can help?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 13:17:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245724#M4585385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-10-28T13:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping on complex to simple tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245725#M4585386</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;jonathanma&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;please try following mapping&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1857761-map1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1857762-map2.png" /&gt;&lt;/P&gt;&lt;P&gt;record node's context should also be "data". &lt;/P&gt;&lt;P&gt;result &lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1857766-map3.png" /&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anupam &lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 07:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245725#M4585386</guid>
      <dc:creator>anupam_ghosh2</dc:creator>
      <dc:date>2020-10-30T07:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping on complex to simple tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245726#M4585387</link>
      <description>Thank you, Anupam. That is a very smart solution. It works great. Thank you again.</description>
      <pubDate>Fri, 30 Oct 2020 13:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245726#M4585387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-10-30T13:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping on complex to simple tree structure</title>
      <link>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245727#M4585388</link>
      <description>&lt;P&gt;Great to know , solution worked for you. All the best. Keep smiling.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anupam&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 03:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/mapping-on-complex-to-simple-tree-structure/qaa-p/12245727#M4585388</guid>
      <dc:creator>anupam_ghosh2</dc:creator>
      <dc:date>2020-11-12T03:58:51Z</dc:date>
    </item>
  </channel>
</rss>

