<?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: Date interval check on selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810329#M347468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN.
 
 If s_date-high is initial.
   *display error message here
 endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2006 15:05:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-07T15:05:31Z</dc:date>
    <item>
      <title>Date interval check on selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810328#M347467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, How can I check on the selection-screen if the s_date (high part) is filled out or not? s_date is an interval. If the high field is not filled, the program don't allowed to run. So I have to check it is a single date or an interval.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 15:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810328#M347467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date interval check on selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810329#M347468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN.
 
 If s_date-high is initial.
   *display error message here
 endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 15:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810329#M347468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date interval check on selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810330#M347469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;IF s_date-high is initial.&lt;/P&gt;&lt;P&gt; message e ....&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 15:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810330#M347469</guid>
      <dc:creator>LucianoBentiveg</dc:creator>
      <dc:date>2006-12-07T15:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date interval check on selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810331#M347470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Check wheter it is filled or not this way ..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;at selection-screen.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if s_field-high is initial.

  message e100 ' Do Not Proceed.'.

endif. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 15:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810331#M347470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T15:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date interval check on selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810332#M347471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jakob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the date fiels is specified as no-extension then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If s_date-high is initial.&lt;/P&gt;&lt;P&gt;   *display error message here&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is with extension then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop s_date.&lt;/P&gt;&lt;P&gt;       if not s_data-high is initial.&lt;/P&gt;&lt;P&gt;          lv_high = s_date-high.&lt;/P&gt;&lt;P&gt;          exit.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if lv_high is initial.&lt;/P&gt;&lt;P&gt;   *display error message here&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 15:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810332#M347471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T15:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date interval check on selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810333#M347472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For completeness sake, you will have to loop through the select-option and validate each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use FM SELECT_OPTIONS_RESTRICT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rob Burbank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 15:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810333#M347472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T15:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date interval check on selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810334#M347473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u r referring to a field of date in select options just dont ignore the case that if u r not entering any field in the high interval its value will be '00000000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to check this .&lt;/P&gt;&lt;P&gt;execute the code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select-options : s_date for sy-datum.
initialization.
at selection-screen .

if s_date-high eq '00000000'.

message e999(zd) with 'Cannot Run'.

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 15:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-interval-check-on-selection-screen/m-p/1810334#M347473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-07T15:19:17Z</dc:date>
    </item>
  </channel>
</rss>

