<?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 Re: Custom Week - ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637825#M2013964</link>
    <description>&lt;P&gt;So you know that first week in the year (2021.01) starts on 06.01.2021.&lt;/P&gt;&lt;P&gt;Week 2021.02 starts on 13.01.2021.&lt;/P&gt;&lt;P&gt;Week 2021.03 starts on 20.01.2021.&lt;/P&gt;&lt;P&gt;I think that &lt;SPAN class="mention-scrubbed"&gt;frdric.girod&lt;/SPAN&gt; won the price!&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 16:59:29 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-10-13T16:59:29Z</dc:date>
    <item>
      <title>Custom Week - ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637820#M2013959</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;Previously I asked for a way to derive Year and Week number respecting the following specifications:&lt;/P&gt;
  &lt;OL&gt;
   &lt;LI&gt;The first week of the year is the one that starts on Sunday&lt;/LI&gt;
   &lt;LI&gt;The first day of the week is Sunday&lt;/LI&gt;
  &lt;/OL&gt;
  &lt;P&gt;Here is an example screen:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2102769-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I was advised to use the following method and it works: (Number of week in 'v_week' variable)&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2102770-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Now I need a way to calculate the data (YYYYMMDD) starting from Year and Week (YYYYWW) respecting the same specifications above&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Francesco&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 11:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637820#M2013959</guid>
      <dc:creator>f_allocca</dc:creator>
      <dc:date>2022-10-13T11:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Week - ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637821#M2013960</link>
      <description>&lt;P&gt;If you know which day of the week is January 1st, as a number between 1 and 7 (not sure in your case which number is Sunday), then you can determine how many days are to be added to reach Sunday. Can't you? Is there any problem.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637821#M2013960</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-10-13T12:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Week - ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637822#M2013961</link>
      <description>&lt;P&gt;from 2021.02 (YYYY.WW) Wednesday I need to calculate what date corresponds, for example 13.01.2021 (DD.MM.YYYY)&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637822#M2013961</guid>
      <dc:creator>f_allocca</dc:creator>
      <dc:date>2022-10-13T12:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Week - ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637823#M2013962</link>
      <description>&lt;P&gt;number of week * 7  &lt;/P&gt;&lt;P&gt;I win the price ?? &lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 14:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637823#M2013962</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-10-13T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Week - ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637824#M2013963</link>
      <description>&lt;P&gt;You may just want to create a custom table with Year, Week &amp;amp; date of first &amp;amp; last date of the week for next 100 years (you may write a script for that). There will be about 5200 - 5300 records in it. This will help with performance if you are using CDS views and want to use it in a JOIN.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 14:12:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637824#M2013963</guid>
      <dc:creator>swapan_sarkar1</dc:creator>
      <dc:date>2022-10-13T14:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Week - ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637825#M2013964</link>
      <description>&lt;P&gt;So you know that first week in the year (2021.01) starts on 06.01.2021.&lt;/P&gt;&lt;P&gt;Week 2021.02 starts on 13.01.2021.&lt;/P&gt;&lt;P&gt;Week 2021.03 starts on 20.01.2021.&lt;/P&gt;&lt;P&gt;I think that &lt;SPAN class="mention-scrubbed"&gt;frdric.girod&lt;/SPAN&gt; won the price!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 16:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-week-abap/m-p/12637825#M2013964</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-10-13T16:59:29Z</dc:date>
    </item>
  </channel>
</rss>

