<?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: Map structure against single value - SAP Cloud Platform Integration in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaa-p/725429#M201744</link>
    <description>&lt;P&gt;Thanks for the feedback on that functionality Sriprasad, here a screen capture of how it looks like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/257247-captura-de-pantalla-2018-12-21-a-las-102035-a-m.png" /&gt;&lt;/P&gt;&lt;P&gt;I believe it looks good, it is suppressing the data I don't need (some of the fields appear repeated, once normal once in italic, I don't think that really matters)&lt;/P&gt;&lt;P&gt;So the value 800000 should be reaching the BuyerPartyID, however when I run the simulate, I get an error saying that nothing is reaching there:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/257248-captura-de-pantalla-2018-12-21-a-las-102310-a-m.png" /&gt;&lt;/P&gt;&lt;P&gt;Do you have any more insights?&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 16:25:24 GMT</pubDate>
    <dc:creator>former_member197479</dc:creator>
    <dc:date>2018-12-21T16:25:24Z</dc:date>
    <item>
      <title>Map structure against single value - SAP Cloud Platform Integration</title>
      <link>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaq-p/725426</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt;I'm currently experiencing some issues with a message mapping in SAP Cloud Platform Integration, basically I have an XML that looks like this:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;        &amp;lt;javascript_variables&amp;gt;
            &amp;lt;name&amp;gt;name&amp;lt;/name&amp;gt;
            &amp;lt;value&amp;gt;Juan&amp;lt;/value&amp;gt;
        &amp;lt;/javascript_variables&amp;gt;
        &amp;lt;javascript_variables&amp;gt;
            &amp;lt;name&amp;gt;NumSuscriptor&amp;lt;/name&amp;gt;
            &amp;lt;value&amp;gt;8000000&amp;lt;/value&amp;gt;
        &amp;lt;/javascript_variables&amp;gt;
        &amp;lt;javascript_variables&amp;gt;
            &amp;lt;name&amp;gt;email&amp;lt;/name&amp;gt;
            &amp;lt;value&amp;gt;correo@correo.com&amp;lt;/value&amp;gt;
        &amp;lt;/javascript_variables&amp;gt;
        &amp;lt;javascript_variables&amp;gt;
            &amp;lt;name&amp;gt;description&amp;lt;/name&amp;gt;
            &amp;lt;value&amp;gt;alsoValue&amp;lt;/value&amp;gt;
        &amp;lt;/javascript_variables&amp;gt;


&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;As you can see, those javascript_variables contain both name and value underneath, what I am trying to accomplish is the following: My target message has, let's say a BuyerID where I want to assign the value of the tag, where the &lt;STRONG&gt;name is equals to 'NumSuscriptor', &lt;/STRONG&gt;that's the condition that makes the difference between assign it to the BuyerID, or to the Email target tag, for instance.&lt;/P&gt;
  &lt;P&gt;Within the Message Mapping I'm trying to do the following, validate if name == 'NumSuscriptor' then assign the Value, but it just doesn't work.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/255259-untitled.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 08:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaq-p/725426</guid>
      <dc:creator>former_member197479</dc:creator>
      <dc:date>2018-12-21T08:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Map structure against single value - SAP Cloud Platform Integration</title>
      <link>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaa-p/725427#M201742</link>
      <description>&lt;P&gt;Hello Melvin,&lt;/P&gt;&lt;P&gt;Can you check the context of name and value fields.You can use simulate and display queue function to check whether this field is resulting in proper output you are expected.&lt;/P&gt;&lt;P&gt;Below blog will help you to do the same.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2018/06/22/sap-cloud-platform-integration-message-mapping-display-queue/" target="_blank"&gt;https://blogs.sap.com/2018/06/22/sap-cloud-platform-integration-message-mapping-display-queue/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sriprasad Shivaram Bhat&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 08:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaa-p/725427#M201742</guid>
      <dc:creator>Sriprasadsbhat</dc:creator>
      <dc:date>2018-12-21T08:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Map structure against single value - SAP Cloud Platform Integration</title>
      <link>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaa-p/725428#M201743</link>
      <description>&lt;P&gt;As Sriprasad said, Check the context once.&lt;/P&gt;&lt;P&gt;I guess, current context of name is element . You can use remove context just after name and before equals. It should work.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Apu Das&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 11:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaa-p/725428#M201743</guid>
      <dc:creator>apu_das2</dc:creator>
      <dc:date>2018-12-21T11:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Map structure against single value - SAP Cloud Platform Integration</title>
      <link>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaa-p/725429#M201744</link>
      <description>&lt;P&gt;Thanks for the feedback on that functionality Sriprasad, here a screen capture of how it looks like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/257247-captura-de-pantalla-2018-12-21-a-las-102035-a-m.png" /&gt;&lt;/P&gt;&lt;P&gt;I believe it looks good, it is suppressing the data I don't need (some of the fields appear repeated, once normal once in italic, I don't think that really matters)&lt;/P&gt;&lt;P&gt;So the value 800000 should be reaching the BuyerPartyID, however when I run the simulate, I get an error saying that nothing is reaching there:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/257248-captura-de-pantalla-2018-12-21-a-las-102310-a-m.png" /&gt;&lt;/P&gt;&lt;P&gt;Do you have any more insights?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/map-structure-against-single-value-sap-cloud-platform-integration/qaa-p/725429#M201744</guid>
      <dc:creator>former_member197479</dc:creator>
      <dc:date>2018-12-21T16:25:24Z</dc:date>
    </item>
  </channel>
</rss>

