<?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: Need UDF help to implement logic in message mapping t... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/need-udf-help-to-implement-logic-in-message-mapping-to-increment-sequence/qaa-p/14106121#M4914476</link>
    <description>&lt;P&gt;Hi Varun&lt;/P&gt;&lt;P&gt;solve this with XSLT and &lt;A href="https://www.jenitennison.com/xslt/grouping/muenchian.html" target="_self"&gt;Muenchian&lt;/A&gt; grouping. That is very easy code (even complex to understand). If you like to have everything else in the graphical playground, it's possible to combine the two technologies.&lt;/P&gt;&lt;P&gt;BR Helmut&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 05:06:16 GMT</pubDate>
    <dc:creator>helmut_skolaut3</dc:creator>
    <dc:date>2025-05-20T05:06:16Z</dc:date>
    <item>
      <title>Need UDF help to implement logic in message mapping to increment sequence based on Context value</title>
      <link>https://community.sap.com/t5/technology-q-a/need-udf-help-to-implement-logic-in-message-mapping-to-increment-sequence/qaq-p/14105344</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have requirement as below where I need to add increment number sequence based on the context value.&lt;/P&gt;&lt;P&gt;1st value should have sequence as 1 and if it has same value in next context, it should increment by 1 (for all the values in that context)&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;20996_1&lt;BR /&gt;20996_1&lt;/P&gt;&lt;P&gt;&amp;lt;Context Change&amp;gt; (below 2 entries should be increment by 1 and should have same increment value)&lt;BR /&gt;20996_2&lt;BR /&gt;20996_2&lt;/P&gt;&lt;P&gt;I am already sorting the records and this is a sample output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="varun_k_0-1747652687379.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/263021iDF1AC68C55E19D4E/image-size/medium?v=v2&amp;amp;px=400" alt="varun_k_0-1747652687379.png" title="varun_k_0-1747652687379.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Expected Output is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;20917_1&lt;BR /&gt;20918_1&lt;BR /&gt;20919_1&lt;BR /&gt;20992_1&lt;BR /&gt;20992_2&lt;BR /&gt;20992_2&lt;BR /&gt;20920_1&lt;BR /&gt;20921_1&lt;BR /&gt;20922_1&lt;BR /&gt;20990_1&lt;BR /&gt;20990_1&lt;BR /&gt;20914_1&lt;BR /&gt;20915_1&lt;BR /&gt;20916_1&lt;BR /&gt;20996_1&lt;BR /&gt;20996_1&lt;BR /&gt;20996_2&lt;BR /&gt;20996_2&lt;BR /&gt;20999_1&lt;BR /&gt;20999_1&lt;BR /&gt;20999_1&lt;BR /&gt;20999_1&lt;/P&gt;&lt;P&gt;I think this can't be achieved with standard functions, please help with UDF to achieve it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 11:14:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-udf-help-to-implement-logic-in-message-mapping-to-increment-sequence/qaq-p/14105344</guid>
      <dc:creator>varun_k</dc:creator>
      <dc:date>2025-05-19T11:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need UDF help to implement logic in message mapping t...</title>
      <link>https://community.sap.com/t5/technology-q-a/need-udf-help-to-implement-logic-in-message-mapping-to-increment-sequence/qaa-p/14106121#M4914476</link>
      <description>&lt;P&gt;Hi Varun&lt;/P&gt;&lt;P&gt;solve this with XSLT and &lt;A href="https://www.jenitennison.com/xslt/grouping/muenchian.html" target="_self"&gt;Muenchian&lt;/A&gt; grouping. That is very easy code (even complex to understand). If you like to have everything else in the graphical playground, it's possible to combine the two technologies.&lt;/P&gt;&lt;P&gt;BR Helmut&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 05:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-udf-help-to-implement-logic-in-message-mapping-to-increment-sequence/qaa-p/14106121#M4914476</guid>
      <dc:creator>helmut_skolaut3</dc:creator>
      <dc:date>2025-05-20T05:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need UDF help to implement logic in message mapping t...</title>
      <link>https://community.sap.com/t5/technology-q-a/need-udf-help-to-implement-logic-in-message-mapping-to-increment-sequence/qaa-p/14110412#M4914954</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have managed the logic using standard functions and its working fine.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 14:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-udf-help-to-implement-logic-in-message-mapping-to-increment-sequence/qaa-p/14110412#M4914954</guid>
      <dc:creator>varun_k</dc:creator>
      <dc:date>2025-05-23T14:46:04Z</dc:date>
    </item>
  </channel>
</rss>

