<?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: error message for the select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-the-select-options/m-p/4829075#M1129897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: PERNR.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS VO_PERNR FOR PERNR-PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VO_PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF VO_PERNR IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Enter some employee IDs' TYPE 'E' DISPLAY LIKE 'S'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    IF '000001' NOT IN VO_PERNR.&lt;/P&gt;&lt;P&gt;      MESSAGE 'Employee id: 1, not selected' TYPE 'E' DISPLAY LIKE 'S'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 13:07:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-02T13:07:35Z</dc:date>
    <item>
      <title>error message for the select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-the-select-options/m-p/4829073#M1129895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi.&lt;/P&gt;&lt;P&gt;i want to throw thw error message if the user enters the value not valid(not in the range) for the zregion1 of zbwcntry of the select options.&lt;/P&gt;&lt;P&gt;and user should be able to correct it before moving ahead.&lt;/P&gt;&lt;P&gt;Also,iis not a mandatory field,So if it is initial,it can b blank.&lt;/P&gt;&lt;P&gt;but if the input doesnot lie in the range,it should give error message on the selction screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guid with the line of codes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:51:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-the-select-options/m-p/4829073#M1129895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T12:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: error message for the select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-the-select-options/m-p/4829074#M1129896</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_...[] IS NOT INITIAL.
SELECT COUNT( * ) FROM ... WHERE field IN s_...
IF sy-subrc NE 0.
==&amp;gt; issue error message, that entered values are wrong
ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 12:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-the-select-options/m-p/4829074#M1129896</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-12-02T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: error message for the select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-the-select-options/m-p/4829075#M1129897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: PERNR.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS VO_PERNR FOR PERNR-PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VO_PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF VO_PERNR IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Enter some employee IDs' TYPE 'E' DISPLAY LIKE 'S'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    IF '000001' NOT IN VO_PERNR.&lt;/P&gt;&lt;P&gt;      MESSAGE 'Employee id: 1, not selected' TYPE 'E' DISPLAY LIKE 'S'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 13:07:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-the-select-options/m-p/4829075#M1129897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-02T13:07:35Z</dc:date>
    </item>
  </channel>
</rss>

