<?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: check in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042669#M966285</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;use the event AT SELECTION-SCREEN ON &amp;lt;w_date&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calculate the differece between two dates using the FM DAYS_BETWEEN_TWO_DATES and if the value is greater than 90 raise an error message.&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;sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2008 08:40:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-11T08:40:37Z</dc:date>
    <item>
      <title>check in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042666#M966282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello freinds,&lt;/P&gt;&lt;P&gt;I have to apply one check in selection screen.&lt;/P&gt;&lt;P&gt;means the difference between the date in selection screen should not be more than three month.&lt;/P&gt;&lt;P&gt;please suggest me how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 08:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042666#M966282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T08:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: check in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042667#M966283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Use the function module SD_DATETIME_DIFFERENCE. This FM will give u the diff in days. Check if its more than 90. If it is then throw ur error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 08:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042667#M966283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T08:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: check in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042668#M966284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FM :  HR_HK_DIFF_BT_2_DATES&lt;/P&gt;&lt;P&gt;to get the difference between two dates ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    date1                         = v_date2&lt;/P&gt;&lt;P&gt;    date2                         = v_date1&lt;/P&gt;&lt;P&gt;   OUTPUT_FORMAT                 = '04'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  YEARS                         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   MONTHS                        = v_months&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAYS                          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_DATES_SPECIFIED       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                        = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_months &amp;gt; 3.&lt;/P&gt;&lt;P&gt;  message e000 with 'difference should not be more than three months' .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 08:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042668#M966284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T08:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: check in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042669#M966285</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;use the event AT SELECTION-SCREEN ON &amp;lt;w_date&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calculate the differece between two dates using the FM DAYS_BETWEEN_TWO_DATES and if the value is greater than 90 raise an error message.&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;sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 08:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-in-selection-screen/m-p/4042669#M966285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T08:40:37Z</dc:date>
    </item>
  </channel>
</rss>

