<?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: Report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803167#M344793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use Fm HR_JP_MONTH_BEGIN_END_DATE to get first and last day of the month and then you can use initialization event to set these values for select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below code:&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_date FOR  sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: s_date_low TYPE d, s_date_high TYPE d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      iv_date             = sy-datum&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ev_month_begin_date = s_date_low&lt;/P&gt;&lt;P&gt;      ev_month_end_date   = s_date_high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  s_date-low = s_date_low.&lt;/P&gt;&lt;P&gt;  s_date-high = s_date_high.&lt;/P&gt;&lt;P&gt;  APPEND s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*Please mark all the helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 06:00:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T06:00:22Z</dc:date>
    <item>
      <title>Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803164#M344790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've select option in which I want first date of the current month in LOW of select option and Last date of current month in HIGH of select month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i achieve that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 05:38:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803164#M344790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T05:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803165#M344791</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;U can achieve this by using the variant ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create the variant and then u go in to the selections S, in the variant and then u go to dynamic date caluculations,&lt;/P&gt;&lt;P&gt;there u can able to see many options for date..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or u can assign it manually in the &amp;lt;b&amp;gt;Initialization&amp;lt;/b&amp;gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Taking the values of the select-options low and high values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 05:44:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803165#M344791</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2006-12-05T05:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803166#M344792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the initilization write so-low = sy-datum,&lt;/P&gt;&lt;P&gt;                                 so-high = sy-datum etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 05:52:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803166#M344792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T05:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803167#M344793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use Fm HR_JP_MONTH_BEGIN_END_DATE to get first and last day of the month and then you can use initialization event to set these values for select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below code:&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_date FOR  sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: s_date_low TYPE d, s_date_high TYPE d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      iv_date             = sy-datum&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ev_month_begin_date = s_date_low&lt;/P&gt;&lt;P&gt;      ev_month_end_date   = s_date_high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  s_date-low = s_date_low.&lt;/P&gt;&lt;P&gt;  s_date-high = s_date_high.&lt;/P&gt;&lt;P&gt;  APPEND s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*Please mark all the helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 06:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803167#M344793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T06:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803168#M344794</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;First of all use the FM , 'HR_JP_MONTH_BEGIN_END_DATE' t get the begining and ending dates of a month and then initalize the HIGH and LOW option of the SELECT-OPTIONS , like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_var-low = .. " begining date&lt;/P&gt;&lt;P&gt;s_var-high = .. " ending date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where S_VAR is the select-options variable declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shehryar Dahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 06:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803168#M344794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T06:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803169#M344795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any other function module because the function module  'HR_JP_MONTH_BEGIN_END_DATE'  doesnt exist in my system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 09:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/1803169#M344795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T09:32:13Z</dc:date>
    </item>
  </channel>
</rss>

