<?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: Date from week nr in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607655#M597820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: v_start        LIKE SCAL-DATE,&lt;/P&gt;&lt;P&gt;          v_end        LIKE SCAL-DATE,&lt;/P&gt;&lt;P&gt;          v_week        LIKE SCAL-WEEK.  "Stores Year and Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_week = '200725' .  "25th week in 2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'WEEK_GET_FIRST_DAY'&lt;/P&gt;&lt;P&gt;           EXPORTING  WEEK                 = v_week&lt;/P&gt;&lt;P&gt;           IMPORTING  DATE                 = v_start&lt;/P&gt;&lt;P&gt;           EXCEPTIONS WEEK_INVALID         = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: v_start.&lt;/P&gt;&lt;P&gt;v_end = v_start + 5. "depends on the no of days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: This function returns the First day of the Week &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 09:06:34 GMT</pubDate>
    <dc:creator>varma_narayana</dc:creator>
    <dc:date>2007-08-01T09:06:34Z</dc:date>
    <item>
      <title>Date from week nr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607654#M597819</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;I need to calculate date range from week numer of current year. I was looking for any FM but no one was corresponding to my requirements &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 08:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607654#M597819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T08:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date from week nr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607655#M597820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: v_start        LIKE SCAL-DATE,&lt;/P&gt;&lt;P&gt;          v_end        LIKE SCAL-DATE,&lt;/P&gt;&lt;P&gt;          v_week        LIKE SCAL-WEEK.  "Stores Year and Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_week = '200725' .  "25th week in 2007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'WEEK_GET_FIRST_DAY'&lt;/P&gt;&lt;P&gt;           EXPORTING  WEEK                 = v_week&lt;/P&gt;&lt;P&gt;           IMPORTING  DATE                 = v_start&lt;/P&gt;&lt;P&gt;           EXCEPTIONS WEEK_INVALID         = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: v_start.&lt;/P&gt;&lt;P&gt;v_end = v_start + 5. "depends on the no of days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: This function returns the First day of the Week &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:06:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607655#M597820</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-01T09:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date from week nr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607656#M597821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;calendar related Function Modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WEEK_GET_FIRST_DAY&lt;/P&gt;&lt;P&gt;This function module returns the first day of the week passed. (This is always a Monday, regardless of whether it is a working day or a holiday.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FACTORYDATE_CONVERT_TO_DATE&lt;/P&gt;&lt;P&gt;This function module returns the calendar date for the factory date and the factory calendar passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_CONVERT_TO_FACTORYDATE&lt;/P&gt;&lt;P&gt;This function module returns the factory date for the date and factory calendar passed. You can specify with a parameter whether the next or the previous working day is returned if the day is not a working day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RP_CALC_DATE_IN_INTERVAL&lt;/P&gt;&lt;P&gt;Add/subtract years/months/days from a date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD_DATETIME_DIFFERENCE&lt;/P&gt;&lt;P&gt;Give the difference in Days and Time for 2 dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_PLUS_DETERMINE&lt;/P&gt;&lt;P&gt;Add or subtract months from a date. To subtract a month, enter a negative value for the 'months' parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_CHECK_PLAUSIBILITY&lt;/P&gt;&lt;P&gt;Check to see if a date is in a valid format for SAP. Works well when validating dates being passed in from other systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_CONV_EXT_TO_INT&lt;/P&gt;&lt;P&gt;Conversion of dates to SAP internal format e.g. '28.03.2000' -&amp;gt; 20000328&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATUMSAUFBEREITUNG&lt;/P&gt;&lt;P&gt;Format date as the user settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_NAMES_GET&lt;/P&gt;&lt;P&gt;It returns all the month and names in repective language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE_IN_FUTURE&lt;/P&gt;&lt;P&gt;Calculate a date N days in the future.&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;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*&lt;STRONG&gt;reward for useful answers&lt;/STRONG&gt;*&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607656#M597821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date from week nr</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607657#M597822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Use the FM WEEK_GET_FIRST_DAY : Get the first day of the week.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;For this FM pass year with week number.Ex;200704.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return start day of the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks CSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-from-week-nr/m-p/2607657#M597822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:11:42Z</dc:date>
    </item>
  </channel>
</rss>

