<?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: how to create duplicate node at target in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479674#M4271833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Justin. I talked with client on Date field, they told that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We should use the "end"&amp;nbsp; field from the Fiscal Monthly under the required Handle for the current month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; we will only ever map one Fiscal Monthly set of exchange rates for the current month if and only if the daily "date" is the end of the month. Otherwise, we will not be mapping the Fiscal Monthly values at all. I have done the below mapping:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date format: YYYY-MM-DD&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863468" width="450" /&gt;&lt;/P&gt;&lt;P&gt;in fixed value, I have given all month end dates like: 01-31,02-28,03-31..etc. For testing purpose , I have used constant here but I will use Current date. My mapping not working. I changed the context of date but no 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/jiveimages/863469" width="450" /&gt;&lt;/P&gt;&lt;P&gt;sample file will be like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863470" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 10:43:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-01-07T10:43:22Z</dc:date>
    <item>
      <title>how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaq-p/11479655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing some issue in PI mapping where I want to generate the nodes twice at target structure based on condition.&lt;/P&gt;&lt;P&gt;At source, API_RESPONSE can come once or multiple times. If ratetype is Daily then one EXCHANGE_LIST will be generated. If ratetype is monthly, we need both EXCHANGE_LISTs.&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/jiveimages/862493" width="450" /&gt;&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/jiveimages/862494" width="450" /&gt;&lt;/P&gt;&lt;P&gt;In mapping, I created duplicate sub tree and did mapping giving condition but while testing, I am not getting two EXCHANGE_LIST.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862502" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need both Daily and Monthly data differently in both structures.&amp;nbsp; Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swapnashree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 06:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaq-p/11479655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479656#M4271815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapnashree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be due to incorrect context. Change context of "@rate_type" to one level higher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Eng Swee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 06:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479656#M4271815</guid>
      <dc:creator>engswee</dc:creator>
      <dc:date>2016-01-06T06:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479657#M4271816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I assume you don't have any problem in generating the Daily type ExchangeList node. The problem is with Monthly - ExchangeList node correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Mapping on&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"then" - remove the API_RESPONSE - Map With Default.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"then" - Just put a empty Constant there.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that Please right click on If then step and Choose Display queue and give us the screenshot. It will help us to see where is the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479657#M4271816</guid>
      <dc:creator>justin_santhanam</dc:creator>
      <dc:date>2016-01-06T07:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479658#M4271817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, issue is with Montlhy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you talking about this:&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/jiveimages/862503" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not working&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862504" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479658#M4271817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T07:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479659#M4271818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed it to API_RESPONSES but no result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479659#M4271818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T07:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479660#M4271819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the Context of @rate_type to API_RESPONSES and follow the below one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@rate_type - UDF - EXCHRATE_LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UDF:&lt;/P&gt;&lt;P&gt;Create UDF with type of Queue and import 1 parameter (name - input type-&amp;nbsp; string)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for (int i =0; i&amp;lt; input.length;i++)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;if(input[i].equals("Monthly"))&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.addValue("");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question for you - Based on the queue I can see there are 3 API_RESPONSE , there will only 1 Monthly and 2 Daily? But still you are creating only one EXCHRATE_LIST for daily?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479660#M4271819</guid>
      <dc:creator>justin_santhanam</dc:creator>
      <dc:date>2016-01-06T07:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479661#M4271820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The occurrence of EXCHRATE_LIST is 1..1 , you need to change this.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862553" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Manoj &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479661#M4271820</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2016-01-06T07:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479662#M4271821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapna,&lt;/P&gt;&lt;P&gt;you have to change change context for @rate_type as mentioned by Eng. Use node function createIf for better readability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below:&lt;/P&gt;&lt;P&gt;(right-click, change @rate_type context to one level higher API_RESPONSE)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@rate_type&lt;/EM&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; | ------------- equalS ------------createIf--------- EXCHRATE_LIST (1st)&lt;/P&gt;&lt;P&gt;"D" ---------------|&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(right-click, change @rate_type context to one level higher API_RESPONSE)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;@rate_type&lt;/EM&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; | ------------- equalS ------------createIf--------- EXCHRATE_LIST (2nd)&lt;/P&gt;&lt;P&gt;"M" ---------------|&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yee Loon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479662#M4271821</guid>
      <dc:creator>yeeloon-khoo</dc:creator>
      <dc:date>2016-01-06T07:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479663#M4271822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and change the EXCHRATE_LIST mentioned by Manoj as well.. you have at least 2, daily n monthy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yee Loon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479663#M4271822</guid>
      <dc:creator>yeeloon-khoo</dc:creator>
      <dc:date>2016-01-06T07:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479664#M4271823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good catch Manoj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Justin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 07:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479664#M4271823</guid>
      <dc:creator>justin_santhanam</dc:creator>
      <dc:date>2016-01-06T07:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479665#M4271824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually we have one daily, one Monthly and one is Fiscal Monthly. Fiscal Monthly is replica of Monthly. It is coming with same records of Monthly but we need some calculation based on fiscal month for some fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But at target we need 2 ECHANGE_LIST.. fiscal month calculated bid value will move to Monthly EXCHANGE_LIST bid field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target is a BAPI, I can not change the occurrence. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 08:44:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479665#M4271824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T08:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479666#M4271825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is not working. The occurrence of EXCHANGE_LIST is 1:1. Do I have to create two separate mappings - one for Daily and other for Monthly/Fiscal Monthly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 09:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479666#M4271825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T09:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479667#M4271826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As this is BAPI you need to ask ABAP team to change the occurrence and then re-import it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 09:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479667#M4271826</guid>
      <dc:creator>manoj_khavatkopp</dc:creator>
      <dc:date>2016-01-06T09:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479668#M4271827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP team saying they can not accept two EXCHRATE_LIST tables. But requirement is to send both daily and Monthly data. Do I have to create two mappings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 10:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479668#M4271827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T10:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479669#M4271828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,Or if the input is same,you can split to two.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 10:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479669#M4271828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479670#M4271829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know ABAP is not accepting multiple ECXHRATE_LIST nodes, i just want to give you the solution as per your original question incase the requirement changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below UDF to set the occurrence of the target node as explained in below blog.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="74549" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="Message Mapping : Play around with target structure" href="https://community.sap.com/" modifiedtitle="true" title="Message Mapping : Play around with target structure"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excecution Type : Single Values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;public String setOccurences(String sourcenode, String monthlyRateExist, Container container)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; throws StreamTransformationException {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; StructureNode node = ((StructureNode) container.getParameter("STRUCTURE_NODE"));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if (monthlyRateExist.equals("true"))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; node.setOccurences(0, 2);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; node.setOccurences(0, 1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; return "";&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Mapping for EXCHRATE_LIST node:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862866" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Mapping Result:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862867" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Praveen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 13:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479670#M4271829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T13:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479671#M4271830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no point in duplicating EXCHRATE_LIST if your BAPI is not going to accept it. Instead you can try below (Multimapping).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the occurrence of BAPI (to make it as multiple message)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863006" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Now duplicate the BAPI Message&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863007" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first BAPI Message Node , map a constant(this is for DAILY, and I assume "DAILY" Rate type will definitely be there)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863008" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For the second BAPI Message Node , map as following (this is for MONTHLY, and I assume "MONTHLY" Rate type may or may not be there)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863009" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UDF for generating second BAPI node&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863010" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's it. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; .. But remember we have mapped only the message level. You need to take care of the context inside the mapping to map the corresponding DAILY and MONTHLY data to the corresponding target messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if this solves your purpose (I hope it definitely will), then we can take a look at the field level mapping to get this one going!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 17:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479671#M4271830</guid>
      <dc:creator>justin_santhanam</dc:creator>
      <dc:date>2016-01-06T17:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479672#M4271831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Justin for your help. I already did the multi mapping and able to generate the second BAPI with out UDF. Facing issue with some field mapping of second BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a Date field coming in Daily node but that is not coming in Monthly API_RESPONSE. But in target Monthly BAPI , I have to sent date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using context change, but field not coming, when I am using MapWithDefault it is giving blank value.&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863120" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 23:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479672#M4271831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T23:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479673#M4271832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great to hear Swapna. For the field mapping issue, can you please give the sample source xml and how would you want to see it in the BAPI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will help to give proper inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 00:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479673#M4271832</guid>
      <dc:creator>justin_santhanam</dc:creator>
      <dc:date>2016-01-07T00:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to create duplicate node at target</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479674#M4271833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Justin. I talked with client on Date field, they told that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We should use the "end"&amp;nbsp; field from the Fiscal Monthly under the required Handle for the current month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; we will only ever map one Fiscal Monthly set of exchange rates for the current month if and only if the daily "date" is the end of the month. Otherwise, we will not be mapping the Fiscal Monthly values at all. I have done the below mapping:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date format: YYYY-MM-DD&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863468" width="450" /&gt;&lt;/P&gt;&lt;P&gt;in fixed value, I have given all month end dates like: 01-31,02-28,03-31..etc. For testing purpose , I have used constant here but I will use Current date. My mapping not working. I changed the context of date but no 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/jiveimages/863469" width="450" /&gt;&lt;/P&gt;&lt;P&gt;sample file will be like:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/863470" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 10:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-create-duplicate-node-at-target/qaa-p/11479674#M4271833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-07T10:43:22Z</dc:date>
    </item>
  </channel>
</rss>

