<?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 selection screen help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001853#M1164673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In report program, how can i get the default screen values as current month's low and high values as sy-datum will only give current date. i. e. suppose today it is dec 30 then, default low value should show dec 01 and high should show dec 31. please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2008 07:45:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-30T07:45:08Z</dc:date>
    <item>
      <title>selection screen help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001853#M1164673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In report program, how can i get the default screen values as current month's low and high values as sy-datum will only give current date. i. e. suppose today it is dec 30 then, default low value should show dec 01 and high should show dec 31. please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 07:45:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001853#M1164673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T07:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001854#M1164674</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;write the coding in the initialization to have default screen values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 07:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001854#M1164674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T07:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001855#M1164675</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;You need to write your code in the event INITIALIZATION to get the default values in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM to be used is HRWPC_BL_DATES_MONTH_INTERVAL. this returns the first day and last day of the month for the given date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 07:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001855#M1164675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001856#M1164676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you write the code please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 07:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001856#M1164676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T07:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001857#M1164677</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;Write ur coding in AT SELECTION SCREEN OUTPUT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM to be used is HRWPC_BL_DATES_MONTH_INTERVAL. this returns the first day and last day of the month for the given date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will give the first day and last day of the current month that you will get from sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it will get displayed on your selection screen.&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;Bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 07:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001857#M1164677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T07:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001858#M1164678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it goes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lv_begda TYPE sy-datum,
      lv_endda TYPE sy-datum.

INITIALIZATION.

  CALL FUNCTION 'HRWPC_BL_DATES_MONTH_INTERVAL'
    EXPORTING
      datum          = sy-datum
      month_pst      = 0
      month_ftr      = 0
    IMPORTING
      begda          = lv_begda
      endda          = lv_endda
    EXCEPTIONS
      invalid_values = 1
      OTHERS         = 2.
  IF sy-subrc = 0.
    WRITE: lv_begda,
          / lv_endda.
  ENDIF.

START-OF-SELECTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 08:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001858#M1164678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T08:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001859#M1164679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the default value assignment in the INITIALIZATION event, use the function REAL_ESTATE_CALC_DATE_SLST to get the first and the last day of the month by passing the current date as the input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use LAST_DAY_OF_MONTHS. Keeping 1st as the first day of month always &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 08:03:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-help/m-p/5001859#M1164679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-30T08:03:24Z</dc:date>
    </item>
  </channel>
</rss>

