<?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: help in selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970092#M398145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need for low and high as u have specified in SELCT-options no intervals and no-extentions so only general check is fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON c_course.
IF NOT c_course[] IS INITIAL.
 SELECT objid FROM XXXX
              INTO z_course_table-objid
              WHERE objid IN c_course.
IF sy-subrc NE 0.
 message e000 WITH 'Cousre ID not valid'.
ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXX refers to the check table for the field objid in z_couse_table. If no check table then use z_course_table instead of XXXX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Feb 2007 13:45:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-19T13:45:39Z</dc:date>
    <item>
      <title>help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970082#M398135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallow every one I have a program that check if employee do course and employee don't.&lt;/P&gt;&lt;P&gt;For that u have to choose course num ,the problem is that when the user choose course that not &amp;lt;b&amp;gt;valid&amp;lt;/b&amp;gt; how can I bring error message for that tanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my declaration &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS c_course FOR z_course_table-objid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBLIGATORY NO INTERVALS NO-EXTENSION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970082#M398135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970083#M398136</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 have to validate the COURSE like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select objid from z_course_table&lt;/P&gt;&lt;P&gt;Up to 1 rows where objid in c_couse.&lt;/P&gt;&lt;P&gt;If sy-subrc &amp;lt;&amp;gt; o.&lt;/P&gt;&lt;P&gt;  Message &amp;lt; Course doesn't exist&amp;gt;&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;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970083#M398136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970084#M398137</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;perform validations and print the erroe message at the event &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;hope this helps.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970084#M398137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970085#M398138</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 following code.&lt;/P&gt;&lt;P&gt; At selection-screen on c_course .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check for course if entered is valid on or not .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider this sample example.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON p_carrid. &lt;/P&gt;&lt;P&gt;  IF p_carrid IS INITIAL. &lt;/P&gt;&lt;P&gt;    MESSAGE 'Please enter a value' TYPE 'E'. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;  AUTHORITY-CHECK OBJECT 'S_CARRID' &lt;/P&gt;&lt;P&gt;                      ID 'CARRID' FIELD p_carrid &lt;/P&gt;&lt;P&gt;                      ID 'ACTVT'  FIELD '03'. &lt;/P&gt;&lt;P&gt;  IF sy-subrc = 4. &lt;/P&gt;&lt;P&gt;    MESSAGE 'No authorization for carrier' TYPE 'E'. &lt;/P&gt;&lt;P&gt;  ELSEIF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;    MESSAGE 'Error in authority check' TYPE 'A'. &lt;/P&gt;&lt;P&gt;  ELSE. &lt;/P&gt;&lt;P&gt;    IF sy-ucomm = 'ONLI'. &lt;/P&gt;&lt;P&gt;      CALL SELECTION-SCREEN '0500'. &lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN. &lt;/P&gt;&lt;P&gt;  IF sy-dynnr = '0500'. &lt;/P&gt;&lt;P&gt;    IF s_conn IS INITIAL. &lt;/P&gt;&lt;P&gt;      MESSAGE 'Please enter values' TYPE 'W'. &lt;/P&gt;&lt;P&gt;    ELSE. &lt;/P&gt;&lt;P&gt;      SELECT * &lt;/P&gt;&lt;P&gt;             FROM sflight &lt;/P&gt;&lt;P&gt;             INTO TABLE sflight_tab &lt;/P&gt;&lt;P&gt;             WHERE carrid = p_carrid AND &lt;/P&gt;&lt;P&gt;                   connid IN s_conn. &lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;        MESSAGE 'No flights found' TYPE 'E'. &lt;/P&gt;&lt;P&gt;      ENDIF. &lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970085#M398138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970086#M398139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN.

*Validate material no details
  PERFORM validate_matno.
FORM validate_matno.
  SELECT SINGLE matnr INTO v_matnr
         FROM mara
         WHERE matnr IN s_matnr.

  IF sy-subrc NE 0.
    MESSAGE i128.
    LEAVE LIST-PROCESSING.
  ENDIF.

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that u are validating against the header table.&lt;/P&gt;&lt;P&gt;say eg if u wnat t validate matnr in marc, then do as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS: s_matnr FOR  marc-matnr.                  "Material No
AT SELECTION-SCREEN.

*Validate material no details
  PERFORM validate_matno.
FORM validate_matno.
DATA: v_matnr LIEK mara-matnr.
  SELECT SINGLE matnr INTO v_matnr
         FROM &amp;lt;b&amp;gt;mara&amp;lt;/b&amp;gt;
         WHERE matnr IN s_matnr.

  IF sy-subrc NE 0.
    MESSAGE i128.
    LEAVE LIST-PROCESSING.
  ENDIF.

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont select from marc.&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See ur code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON c_course.
IF NOT c_course[] IS INITIAL.
 SELECT objid FROM XXXX
              INTO z_course_table-objid
              WHERE objid IN c_course.
IF sy-subrc NE 0.
 message e000 WITH 'Cousre ID not valid'.
ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXX refers to the check table for the field objid in z_couse_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Judith Jessie Selvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970086#M398139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970087#M398140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  You can validate the course using the below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select &amp;lt;course&amp;gt; from &amp;lt;table which consists of valid values for this course&amp;gt;&lt;/P&gt;&lt;P&gt;Up to 1 rows &lt;/P&gt;&lt;P&gt;where course in &amp;lt;c_couse&amp;gt;.&lt;/P&gt;&lt;P&gt;If sy-subrc &amp;lt;&amp;gt; o.&lt;/P&gt;&lt;P&gt;Message&amp;lt; Couse doesn't exist&amp;gt;&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;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970087#M398140</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-02-19T11:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970088#M398141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think u can use &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;use a select statement.....to find with selection as course id and  employee id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then u can trow a message accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970088#M398141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970089#M398142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;validate course details in AT Selection-Screen event block and if there is erro u can display using 'MESSAGE'....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:59:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970089#M398142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970090#M398143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use At selection screen event for this  - &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;select field1 from dbtab where field1 in c_course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;message e000(000) with 'No course exists,enter valid course'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here field1 is like course name.&lt;/P&gt;&lt;P&gt;dbtab is table storing course.&lt;/P&gt;&lt;P&gt;and c_course is select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 11:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970090#M398143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T11:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970091#M398144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do course validation like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on c_course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at c_course.&lt;/P&gt;&lt;P&gt; if not c_course-low is initial.&lt;/P&gt;&lt;P&gt;  select single objid from z_course_table where objid = c_course-low.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message e000(0) 'invalid code'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if not c_course-high is initial.&lt;/P&gt;&lt;P&gt;  select single objid from z_course_table where objid = c_course-high.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message e000(0) 'invalid code'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 12:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970091#M398144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T12:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970092#M398145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need for low and high as u have specified in SELCT-options no intervals and no-extentions so only general check is fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON c_course.
IF NOT c_course[] IS INITIAL.
 SELECT objid FROM XXXX
              INTO z_course_table-objid
              WHERE objid IN c_course.
IF sy-subrc NE 0.
 message e000 WITH 'Cousre ID not valid'.
ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XXXX refers to the check table for the field objid in z_couse_table. If no check table then use z_course_table instead of XXXX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 13:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970092#M398145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T13:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970093#M398146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  judith &lt;/P&gt;&lt;P&gt;I try your suggestion and it still don&amp;#146;t working maybe u have idea why&lt;/P&gt;&lt;P&gt;And when I try with this kind of messege(message e000 WITH 'Cousre ID not valid'.) I have this error &lt;/P&gt;&lt;P&gt;A message ID has not been entered. You can specify this entry for thewhole program using the "MESSAGE-ID msgid" addition with the statment			&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I change the messege for new and I don&amp;#146;t have error but it not work&lt;/P&gt;&lt;P&gt;and when i put break point its not going to this place .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;regards&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR c_course-low.&lt;/P&gt;&lt;P&gt;*======================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT c_course[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT objid FROM hrp1001&lt;/P&gt;&lt;P&gt;                 INTO z_course_table-objid&lt;/P&gt;&lt;P&gt;                 WHERE objid IN c_course.&lt;/P&gt;&lt;P&gt;      IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;        MESSAGE 'Pleas enter the value for course' TYPE 'E'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; REFRESH: c_course.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CLEAR:  c_course.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM get_objid USING 'D'&lt;/P&gt;&lt;P&gt;                    CHANGING c_course-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR c_course-high.&lt;/P&gt;&lt;P&gt;*======================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF c_course-high IS INITIAL.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE 'Pleas enter the value for course' TYPE 'E'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH: c_course.&lt;/P&gt;&lt;P&gt;  CLEAR:  c_course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM get_objid USING 'D'&lt;/P&gt;&lt;P&gt;                    CHANGING c_course-high.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 14:25:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970093#M398146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T14:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970094#M398147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every one I try your suggestion and I do like that but its not working what is the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT c_course.&lt;/P&gt;&lt;P&gt;    IF  c_course-low IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE objid&lt;/P&gt;&lt;P&gt;        FROM hrp1001&lt;/P&gt;&lt;P&gt;        INTO wa_s_tab&lt;/P&gt;&lt;P&gt;        WHERE objid = c_course-low.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE 'Vaild Course' TYPE 'E'.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;      ENDIF.&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;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2007 14:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970094#M398147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-19T14:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: help in selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970095#M398148</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;My code will work exactly, u have to include ur message id in ur REPORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YTEST &amp;lt;b&amp;gt;MESSAGE-ID zc.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto &amp;lt;b&amp;gt;SE91&amp;lt;/b&amp;gt; and search for a message class. Specify in the place of Zc.&lt;/P&gt;&lt;P&gt;Then see the message number which is having &amp;lt;b&amp;gt;&amp;amp; &amp;amp;&amp;lt;/b&amp;gt; either one or more should be there, take that message number and use it inplace of 000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Message e000(zc) WITH 'Pleas enter the value for course' .
OR
Message e000 WITH 'Pleas enter the value for course'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u are clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have the same text message in the Message class u can direclty specify the number as &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Message e210(zc).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply me if u need clarification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2007 05:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-selection-screen/m-p/1970095#M398148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-20T05:58:15Z</dc:date>
    </item>
  </channel>
</rss>

