<?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: Node Functions in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002120#M1563552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sravaya Talanki- Message Mapping(Node Function) Part-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sravaya Talanki- Message Mapping(Node Function) Part-2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Standard Functions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Advanced mapping function(mapwithdefault,formatbyexample,sort,sortbykey)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mapping- createif, removecontext,splitbyvalue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/yukai.shi/blog/2006/06/02/b2b-mapping-techniques-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mapping- createif, removecontext,splitbyvalue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="429861"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jun 2008 11:15:30 GMT</pubDate>
    <dc:creator>GabrielSagaya</dc:creator>
    <dc:date>2008-06-16T11:15:30Z</dc:date>
    <item>
      <title>Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaq-p/4002116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;What is the need of node functions?&lt;/P&gt;&lt;P&gt;why we use Node functions?&lt;/P&gt;&lt;P&gt;Any real example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please I am very much confusing with These concepts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sushma.Maganti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaq-p/4002116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002117#M1563549</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;This should solve your Confussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Seshagiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002117#M1563549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002118#M1563550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sushma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go thru these stuff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forum post in Exchange Infrastructure: Re: node functions&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2823952"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these...&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002118#M1563550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002119#M1563551</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; If we have a requirement one node at sender side occurs only once but many times it needs at receiver side then this case we need node functions.&lt;/P&gt;&lt;P&gt;  For sorting the data either ascending/decending order, remove the context of particular node.&lt;/P&gt;&lt;P&gt;  We have one node at sender side that is not mandatory at sender side but it is mandatory at receiver side then we can use map with default node function.&lt;/P&gt;&lt;P&gt;Below are node function with explanation&lt;/P&gt;&lt;P&gt;Node functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort : sort the values in each context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Collapse context : It removes the supress and empty values that are in the same context. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove Context : It producess plain stream of values. It removes all level contexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map with default : Inserts default value specified in the function properties into empty contexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split by value : It inserts the context after events specified. events are each value, value changed and empty value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exists : It ckecks weather the node exists or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace value : It replacess the value of the source field to the value specified in the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort by key : Sort values in second queue by keys from first queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create If : It producess the nodes based on the IF condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Format by example : Takes values from first queue and inserts them in structure of second queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more details&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i&lt;/P&gt;&lt;P&gt;/people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/4b/d11e3e1c3b120ae10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/4b/d11e3e1c3b120ae10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002119#M1563551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002120#M1563552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sravaya Talanki- Message Mapping(Node Function) Part-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sravaya Talanki- Message Mapping(Node Function) Part-2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Standard Functions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Advanced mapping function(mapwithdefault,formatbyexample,sort,sortbykey)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mapping- createif, removecontext,splitbyvalue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/yukai.shi/blog/2006/06/02/b2b-mapping-techniques-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mapping- createif, removecontext,splitbyvalue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="429861"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002120#M1563552</guid>
      <dc:creator>GabrielSagaya</dc:creator>
      <dc:date>2008-06-16T11:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002121#M1563553</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;Please refer these links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/b9af5e71-0701-0010-d0b8-f612fb6593dd" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/b9af5e71-0701-0010-d0b8-f612fb6593dd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/ef/df564b6aa24fc9ab0d685460747de5/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication&lt;/P&gt;&lt;P&gt;/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi&lt;/A&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aashish Sinha&lt;/P&gt;&lt;P&gt;PS ; reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002121#M1563553</guid>
      <dc:creator>aashish_sinha</dc:creator>
      <dc:date>2008-06-16T11:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002122#M1563554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI SUSHMA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAPPINGS STANDARD NODE FUNCTIONS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove Contexts:	We use it to remove Header Contexts from source side. If we donu2019t want header context to repeat in target structure, use this. It removes repeated header contexts and all the items come under the same contexts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split by Value:	This is counter part of remove context. Use this to add the header context at the target side. Suppose if we wan to separate header contexts for every value of item at source use this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy Value: We can use this to copy the value of a position in the source structure and assign it to a target field for  frequently occurring source structure element. The value is copied each time the target field occurs in the target structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Createif ():	Use it to create a tag in the target structure depending on the condition. Use it, if the nodes at the target side have to be created only after certain condition is true. If value type is u2018INTENALu2019 Internal request node is created and if value type is u2018EXTERNALu2019 external request node is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Collapse Context:	We use it, if we have to create empty tags in target for every context change in the source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exists: While mapping idoc structure to file structure, Lot of times we come across a scenario where the fields (occurrence=0) are not mandatory in the idoc. They are not populated in the source xml and they are required in the target xml (occurrence=1) which gives runtime exception that target element canu2019t be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer the following links for further assitance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/08/15/duplicating-subtrees-and-numbering-them-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i&lt;/P&gt;&lt;P&gt;/people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1f/ea0fb12403844bbb6c4cbc8a00cda9/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/4b/d11e3e1c3b120ae10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/4b/d11e3e1c3b120ae10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;reward points if found useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: vemuganti naga phalguna on Jun 16, 2008 1:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002122#M1563554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002123#M1563555</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;&lt;STRONG&gt;Have a look at this help link -&lt;/STRONG&gt; &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also these weblogs will help you -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;/people/stefan.grube/blog/2005/12/29/new-functions-in-the-graphical-mapping-tool-xi-30-sp13&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Split by value -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;U can also refer to the follwoing link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii&lt;/P&gt;&lt;P&gt;/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002123#M1563555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002124#M1563556</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;One as Many : we have one value in the source side, but we can use that many times in the target sede in this&lt;/P&gt;&lt;P&gt;               conditions we can use this node function.&lt;/P&gt;&lt;P&gt;                   Here it takes 3 inputs, first value represents the value to populate in the target side&lt;/P&gt;&lt;P&gt;                second value represents howmany times the first value occur in the target side and the&lt;/P&gt;&lt;P&gt;                third value represents where the context should change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  watch this blog for one as many node function.   /people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002124#M1563556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002125#M1563557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts thanks to all&lt;/P&gt;&lt;P&gt;just reading the stuff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 11:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002125#M1563557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T11:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Node Functions</title>
      <link>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002126#M1563558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;     1. remove context:&lt;/P&gt;&lt;P&gt;You use removeContexts () to delete all the top contexts for an element. This removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advanced user-defined functions can import either just one context into the input arrays, or complete queues. Make your selection by selecting or deselecting the Save Entire Queue in Cache checkbox in the function editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. split by value:&lt;/P&gt;&lt;P&gt;The SplitByValue() function is the counterpart to removeContexts(): Instead of deleting a context, you can insert a context change in the source value queue. You then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be &amp;gt;0. You can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. collapse context:&lt;/P&gt;&lt;P&gt;Using collapseContexts() puts the first values of all contexts into a context. Empty contexts are replaced with an empty string:&lt;/P&gt;&lt;P&gt;This can be useful if an upper-level node is to be created each time a lower-level node exists, for example. The function is useful in combination with the SplitByValue function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Use one as many&lt;/P&gt;&lt;P&gt;You require the function useOneAsMany() if a field that only occurs once needs to be replicated as often as another field occurs in the outbound message so that the fields can be written to the target structure in pairs as a record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Map with default&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.copyValue &lt;/P&gt;&lt;P&gt;You use CopyValue() for a frequently occurring element to copy the value of a position in the source structure and assign it to a target field. The value is copied each time the target field occurs in the target structure. However, it is copied a maximum of maxOccurs times&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7.createIf &lt;/P&gt;&lt;P&gt;You use createIf() to create a tag in the target structure depending on a condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8.exists &lt;/P&gt;&lt;P&gt;You use this function to determine whether a particular source field exists in the XML instance to be processed. If it does, exists() returns the value true, otherwise it returns the value false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9.Use&lt;/P&gt;&lt;P&gt;You use this function if you need to synchronize two queues of equal length with reference to their context change. The mapping runtime takes the values from the first queue, and the context change from the second queue. If the two inbound queues do not have the same number of values, the mapping runtime triggers an exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link for Node function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;removeContext:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use remove context to remove the context of a queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A -&amp;gt;removeContext-&amp;gt; A &lt;/P&gt;&lt;P&gt;B B&lt;/P&gt;&lt;P&gt;C C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here each line &lt;SPAN __jive_emoticon_name="minus"&gt;&lt;/SPAN&gt; under an alphabet denotes context change.&lt;/P&gt;&lt;P&gt;One thing about context change is it will not show you null values coming in input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A -&amp;gt;removeContext-&amp;gt; A &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C &lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in above example -- represents only context change no value in this place(null).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Collapscontext :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works very much same way of removecontext but it also considers null values and gives [] for null values (if Context of Field is on its Preceeding parent otherwice it will work as remove context)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A -&amp;gt;CollapsContext-&amp;gt; A &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[] (Blank value) &lt;/P&gt;&lt;P&gt;C C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more chane is if there are multiple values in a context then it will only select first value from that queue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A -&amp;gt;CollapsContext-&amp;gt; A &lt;/P&gt;&lt;P&gt;D B&lt;/P&gt;&lt;P&gt;B C&lt;/P&gt;&lt;P&gt;C &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in above example A &amp;amp; D falls under one context hence D is Removed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split ByValue :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used to Chnage the Context of Input &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has three options in it&lt;/P&gt;&lt;P&gt;1)each value&lt;/P&gt;&lt;P&gt;2)value change&lt;/P&gt;&lt;P&gt;3)emptyValue &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link given by Rohit is Self Explanatry for this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FormateByExample :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it changes the Context of input1 as per the Context of Second input but the number of values in both the input must be same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input1 Input2 -&amp;gt;FormateByExample-&amp;gt; Out&lt;/P&gt;&lt;P&gt;A P A&lt;/P&gt;&lt;P&gt;B Q B&lt;/P&gt;&lt;P&gt;C R C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see Context of input1 is Changed as per input 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry Guest Seems To Be Some Problem With Formating&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.&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;     Milan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kenny Scott on Jun 17, 2008 11:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 12:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/node-functions/qaa-p/4002126#M1563558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-16T12:03:09Z</dc:date>
    </item>
  </channel>
</rss>

