<?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: Selection-Screen Validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929071#M1149903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on value of month you can create 2 variable l_start and l_end where l_start is the first day of the month and l_end is the last day. This last day can be calculated by using function RP_LAST_DAY_OF_MONTHS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these values you can read the MKPF table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2008 06:59:07 GMT</pubDate>
    <dc:creator>h_senden2</dc:creator>
    <dc:date>2008-12-10T06:59:07Z</dc:date>
    <item>
      <title>Selection-Screen Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929070#M1149902</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;        In selection screen i'm passing month  nad year field.&lt;/P&gt;&lt;P&gt;if it 03 2008 means. it should fetch the values of mkpf from 01.03.2008 to 31.03.2008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suprith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 06:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929070#M1149902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T06:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-Screen Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929071#M1149903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on value of month you can create 2 variable l_start and l_end where l_start is the first day of the month and l_end is the last day. This last day can be calculated by using function RP_LAST_DAY_OF_MONTHS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these values you can read the MKPF table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 06:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929071#M1149903</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2008-12-10T06:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-Screen Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929072#M1149904</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;in the selection screen you can give the date field as S_DATE and then you can directly provide the input valuse in S_Date-low and S_date-high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 06:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929072#M1149904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T06:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-Screen Validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929073#M1149905</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 are getting the month and year from the selection screen like 03.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the program split the month and year &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ranges r_date  for sy-datum.&lt;/P&gt;&lt;P&gt;p_month = p_date(2).&lt;/P&gt;&lt;P&gt;p_year   = p+3(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To build the dates &lt;/P&gt;&lt;P&gt;From date&lt;/P&gt;&lt;P&gt;CONCATENATE p_year p_month(2) '01' INTO g_begda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Date&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LAST_DAY_OF_MONTHS' "#EC&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;day_in = g_begda&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;last_day_of_month = g_endda&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;day_in_no_date = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_date-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_date-option = 'BT'.&lt;/P&gt;&lt;P&gt;r_date-low = g_begda .&lt;/P&gt;&lt;P&gt;r_date-high = g_endda .&lt;/P&gt;&lt;P&gt;append r_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use the r_date in mkpf data selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: avinash kodarapu on Dec 10, 2008 12:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 06:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validation/m-p/4929073#M1149905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-10T06:59:42Z</dc:date>
    </item>
  </channel>
</rss>

