<?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: reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432293#M206544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use function module &lt;/P&gt;&lt;P&gt;BWSO_DATE_GET_FIRST_WEEKDAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and enter the date u will get the first day of the week &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time i think u can hard code and fetch the required jobs in it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2006 11:11:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-19T11:11:56Z</dc:date>
    <item>
      <title>reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432292#M206543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i got a requirement as given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; (A)	If job run date is July 13, 2006 (Thursday) 2:00 AM, report should fetch the data from July 10, 2006 (Monday) 2:00AM till July 13, 2006 1:59AM.&lt;/P&gt;&lt;P&gt;(B)	If job run date is July 10, 2006 (Monday) 2:00 AM, report should fetch the data from July 03, 2006 (Monday of last week) 2:00AM till July 10, 2006 1:59AM.&lt;/P&gt;&lt;P&gt;Can  u pls ell me the logic behind this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 11:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432292#M206543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T11:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432293#M206544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use function module &lt;/P&gt;&lt;P&gt;BWSO_DATE_GET_FIRST_WEEKDAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and enter the date u will get the first day of the week &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time i think u can hard code and fetch the required jobs in it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 11:11:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432293#M206544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T11:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432294#M206545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) pass job run date to the fm GET_WEEK_INFO_BASED_ON_DATE, to get the last monday&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 11:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432294#M206545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432295#M206546</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;You can use the FM WEEK_GET_FIRST_DAY to get the first day (monday) fo the week. You have to pass the week to get the date. Use FM 'DATE_GET_WEEK' to get the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill the range as I BT 'date of monday' 'sy-datum'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the date of latest monday and do the selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 11:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432295#M206546</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-07-19T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432296#M206547</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 think your requirement is to fetch the data from the week's first day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use function module WOD1_GET_FIRST_DAY&lt;/P&gt;&lt;P&gt;to get the first day of the week. Use the Job run date and get first day of week using this function module. If the Function module returns the same day as first day, then consider the previous weeks first day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example - When Job run on July 13th, the function module would return Jul 10th as first day.&lt;/P&gt;&lt;P&gt;When the Job run date is Jul10, function module would return Jul 10 itself. In this case, feed Job run date - 1 to the function module, so that you get previous week's first day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;HR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 11:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1432296#M206547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-19T11:31:46Z</dc:date>
    </item>
  </channel>
</rss>

