<?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>topic Dates Agregation with gaps between days in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716556#M2019495</link>
    <description>&lt;P&gt;Hi, I have itab with 3 columns: pernr, begda, endda. I have also data in itab:&lt;/P&gt;
  &lt;P&gt;pernr | begda | endda&lt;/P&gt;
  &lt;P&gt;123 | 01.12.2022 | 01.12.2022&lt;BR /&gt;123 | 02.12.2022 | 02.12.2022&lt;/P&gt;
  &lt;P&gt;123 | 12.12.2022 | 12.12.2022&lt;BR /&gt;123 | 13.12.2022 | 13.12.2022&lt;BR /&gt;123 | 14.12.2022 | 14.12.2022&lt;BR /&gt;123 | 15.12.2022 | 15.12.2022&lt;BR /&gt;123 | 16.12.2022 | 16.12.2022&lt;/P&gt;
  &lt;P&gt;123 | 28.12.2022 | 28.12.2022&lt;BR /&gt;123 | 29.12.2022 | 29.12.2022&lt;BR /&gt;123 | 30.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;456 | 13.12.2022 | 13.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 05.12.2022 | 05.12.2022&lt;BR /&gt;789 | 06.12.2022 | 06.12.2022&lt;BR /&gt;789 | 07.12.2022 | 07.12.2022&lt;BR /&gt;789 | 08.12.2022 | 08.12.2022&lt;BR /&gt;789 | 09.12.2022 | 09.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 12.12.2022 | 12.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 27.12.2022 | 27.12.2022&lt;BR /&gt;789 | 28.12.2022 | 28.12.2022&lt;BR /&gt;789 | 29.12.2022 | 29.12.2022&lt;BR /&gt;789 | 30.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;All i have to do, is to combine adjacent dates for every pernr. &lt;BR /&gt;Finally, ja have to get result as below:&lt;/P&gt;
  &lt;P&gt;123 | 01.12.2022 | 02.12.2022&lt;/P&gt;
  &lt;P&gt;123 | 12.12.2022 | 16.12.2022&lt;BR /&gt;123 | 28.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;456 | 13.12.2022 | 13.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 05.12.2022 | 09.12.2022&lt;BR /&gt;789 | 12.12.2022 | 12.12.2022&lt;BR /&gt;789 | 27.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;I can`t find useful function module, or solution of similar problem.&lt;BR /&gt;How can i solve this task? Any suggestions?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 07:29:12 GMT</pubDate>
    <dc:creator>stepniake73</dc:creator>
    <dc:date>2023-01-19T07:29:12Z</dc:date>
    <item>
      <title>Dates Agregation with gaps between days</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716556#M2019495</link>
      <description>&lt;P&gt;Hi, I have itab with 3 columns: pernr, begda, endda. I have also data in itab:&lt;/P&gt;
  &lt;P&gt;pernr | begda | endda&lt;/P&gt;
  &lt;P&gt;123 | 01.12.2022 | 01.12.2022&lt;BR /&gt;123 | 02.12.2022 | 02.12.2022&lt;/P&gt;
  &lt;P&gt;123 | 12.12.2022 | 12.12.2022&lt;BR /&gt;123 | 13.12.2022 | 13.12.2022&lt;BR /&gt;123 | 14.12.2022 | 14.12.2022&lt;BR /&gt;123 | 15.12.2022 | 15.12.2022&lt;BR /&gt;123 | 16.12.2022 | 16.12.2022&lt;/P&gt;
  &lt;P&gt;123 | 28.12.2022 | 28.12.2022&lt;BR /&gt;123 | 29.12.2022 | 29.12.2022&lt;BR /&gt;123 | 30.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;456 | 13.12.2022 | 13.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 05.12.2022 | 05.12.2022&lt;BR /&gt;789 | 06.12.2022 | 06.12.2022&lt;BR /&gt;789 | 07.12.2022 | 07.12.2022&lt;BR /&gt;789 | 08.12.2022 | 08.12.2022&lt;BR /&gt;789 | 09.12.2022 | 09.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 12.12.2022 | 12.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 27.12.2022 | 27.12.2022&lt;BR /&gt;789 | 28.12.2022 | 28.12.2022&lt;BR /&gt;789 | 29.12.2022 | 29.12.2022&lt;BR /&gt;789 | 30.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;All i have to do, is to combine adjacent dates for every pernr. &lt;BR /&gt;Finally, ja have to get result as below:&lt;/P&gt;
  &lt;P&gt;123 | 01.12.2022 | 02.12.2022&lt;/P&gt;
  &lt;P&gt;123 | 12.12.2022 | 16.12.2022&lt;BR /&gt;123 | 28.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;456 | 13.12.2022 | 13.12.2022&lt;/P&gt;
  &lt;P&gt;789 | 05.12.2022 | 09.12.2022&lt;BR /&gt;789 | 12.12.2022 | 12.12.2022&lt;BR /&gt;789 | 27.12.2022 | 30.12.2022&lt;/P&gt;
  &lt;P&gt;I can`t find useful function module, or solution of similar problem.&lt;BR /&gt;How can i solve this task? Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 07:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716556#M2019495</guid>
      <dc:creator>stepniake73</dc:creator>
      <dc:date>2023-01-19T07:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dates Agregation with gaps between days</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716557#M2019496</link>
      <description>&lt;P&gt;Code it yourself, it is not so difficult&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 07:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716557#M2019496</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2023-01-19T07:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dates Agregation with gaps between days</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716558#M2019497</link>
      <description>&lt;P&gt;Sort the table and delete the adjacent duplicates.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Sort Itab by PERNR begda endda.&lt;BR /&gt;Delete Adjacent Duplicate from ITAB Comparing pernr  begda  endda.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Jan 2023 10:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716558#M2019497</guid>
      <dc:creator>shantraj6</dc:creator>
      <dc:date>2023-01-19T10:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dates Agregation with gaps between days</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716559#M2019498</link>
      <description>&lt;P&gt;not working 01.12.2022 - 01.12.2022   and 02.12.2022 02.12.2022    should give you 01.12.2022 - 02.12.2022&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 10:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dates-agregation-with-gaps-between-days/m-p/12716559#M2019498</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2023-01-19T10:40:30Z</dc:date>
    </item>
  </channel>
</rss>

