<?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 Offset for week in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-for-week/m-p/975075#M70666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the function 'DATE_GET_WEEK' I get for a specific date a calender week. Is there a function to get an offset from 143 weeks from the calculatet result? &lt;/P&gt;&lt;P&gt;Backround information:&lt;/P&gt;&lt;P&gt;The Problem we have, is that we have a job, which runs once a week, but not on a fixed time. With this job we select customer with a contract which was purchased in a specific week in the past. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Holger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2005 14:51:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-24T14:51:21Z</dc:date>
    <item>
      <title>Offset for week</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-for-week/m-p/975075#M70666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the function 'DATE_GET_WEEK' I get for a specific date a calender week. Is there a function to get an offset from 143 weeks from the calculatet result? &lt;/P&gt;&lt;P&gt;Backround information:&lt;/P&gt;&lt;P&gt;The Problem we have, is that we have a job, which runs once a week, but not on a fixed time. With this job we select customer with a contract which was purchased in a specific week in the past. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Holger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 14:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-for-week/m-p/975075#M70666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T14:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Offset for week</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-for-week/m-p/975076#M70667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get a week date range by date using this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_WEEK_INFO_BASED_ON_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will take the imported date,  call the function module  DATE_GET_WEEK to get the week,  then call WEEK_GET_FIRST_DAY to get the date of the first day of the week,  then will add 6 to that to get the last day of the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If will return the start and end dates of the week.&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;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 15:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-for-week/m-p/975076#M70667</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-24T15:00:43Z</dc:date>
    </item>
  </channel>
</rss>

