<?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: Function Module which will take Wekk No &amp; Return date range (from &amp; To dat) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419648#M1549142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Please check FM &lt;STRONG&gt;LAST_WEEK&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Pass the year and week number in input ( YYYYWK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anmol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Nov 2010 12:35:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-02T12:35:15Z</dc:date>
    <item>
      <title>Function Module which will take Wekk No &amp; Return date range (from &amp; To dat)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419646#M1549140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a Function Module which will take Week No as an input Parameter &amp;amp; return me the date range &lt;/P&gt;&lt;P&gt;(From date &amp;amp; To date of that week) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: date calculation questions = FAQ, please search before posting.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Nov 2, 2010 5:25 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 11:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419646#M1549140</guid>
      <dc:creator>former_member405799</dc:creator>
      <dc:date>2010-11-02T11:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module which will take Wekk No &amp; Return date range (from &amp; To dat)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419647#M1549141</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 dont think you will get in Standard, Please find available FM here &lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/Important" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/Important&lt;/A&gt;&lt;EM&gt;Function&lt;/EM&gt;Module+Names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;GK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 12:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419647#M1549141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T12:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module which will take Wekk No &amp; Return date range (from &amp; To dat)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419648#M1549142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Please check FM &lt;STRONG&gt;LAST_WEEK&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Pass the year and week number in input ( YYYYWK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anmol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 12:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419648#M1549142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T12:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module which will take Wekk No &amp; Return date range (from &amp; To dat)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419649#M1549143</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;     Please write the below logic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_date11 type sy-datum,&lt;/P&gt;&lt;P&gt;          monday    type sy-datum,&lt;/P&gt;&lt;P&gt;          sunday  type sy-datum,&lt;/P&gt;&lt;P&gt;          v_count1 type i .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*v_count1 = 20 * 7.            "   Say U want details for 20th week , or give a parameter for week and multiply with 7*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;v_date11 = '20100101'.     "   take the starting day of the year ....&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;v_date11 = v_date11 + v_count1.   " add to the date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GET_WEEK_INFO_BASED_ON_DATE'   &lt;STRONG&gt;&amp;lt;-- call this FM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   DATE          = v_date11&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WEEK          = WEEK&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   &lt;STRONG&gt;MONDAY        = MONDAY&lt;/STRONG&gt; &amp;lt;-- will have the week starting day&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;SUNDAY        = SUNDAY&lt;/STRONG&gt;&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;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 12:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-which-will-take-wekk-no-return-date-range-from-to-dat/m-p/7419649#M1549143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T12:45:58Z</dc:date>
    </item>
  </channel>
</rss>

