<?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: problm in displaying error msg in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750248#M1303052</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;Change your code like this&lt;/P&gt;&lt;P&gt;&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;      IF not s_fevor-low in s_fevor.&lt;/P&gt;&lt;P&gt;               SELECT fevor&lt;/P&gt;&lt;P&gt;                             from afko&lt;/P&gt;&lt;P&gt;                             INTO TABLE t_fevor&lt;/P&gt;&lt;P&gt;                            WHERE fevor in s_fevor.&lt;/P&gt;&lt;P&gt;         IF sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;             MESSAGE e001.&lt;/P&gt;&lt;P&gt;         ENDIF.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2009 04:43:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-02T04:43:46Z</dc:date>
    <item>
      <title>problm in displaying error msg</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750245#M1303049</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;i hav written error message for production sheduler...&lt;/P&gt;&lt;P&gt;if the input is wrong i want the errror to be displayed as invalid input...&lt;/P&gt;&lt;P&gt;if they dnt enter any data then no need to display any error msg i hav written this below code...&lt;/P&gt;&lt;P&gt;here im getting error if i dont enter account group and if i enter correct group also it is giving error msg...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wt is wrong in my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN on s_fevor.
  s_fevor-sign = 'I'.
  s_fevor-option = 'EQ'.
  s_fevor-low = s_fevor.
  s_fevor-high = s_fevor.
  APPEND s_fevor.
  CLEAR s_fevor.

  IF not s_fevor-low in s_fevor.
    SELECT fevor
      from afko
      INTO TABLE t_fevor
      WHERE fevor in s_fevor.
      IF sy-subrc ne 0.
          MESSAGE e001.
      ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 03:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750245#M1303049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T03:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: problm in displaying error msg</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750246#M1303050</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;  INITIALIZATION.&lt;/P&gt;&lt;P&gt;  s_fevor-sign = 'I'.&lt;/P&gt;&lt;P&gt;  s_fevor-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  s_fevor-low = 'Give value here'.&lt;/P&gt;&lt;P&gt;  s_fevor-high = 'Give value here'.&lt;/P&gt;&lt;P&gt;  APPEND s_fevor.&lt;/P&gt;&lt;P&gt;  CLEAR s_fevor.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  IF not s_fevor-low in s_fevor.&lt;/P&gt;&lt;P&gt;    SELECT fevor&lt;/P&gt;&lt;P&gt;      from afko&lt;/P&gt;&lt;P&gt;      INTO TABLE t_fevor&lt;/P&gt;&lt;P&gt;      WHERE fevor in s_fevor.&lt;/P&gt;&lt;P&gt;      IF sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;          MESSAGE e001.&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;Regards,&lt;/P&gt;&lt;P&gt;Kumar Bandanadham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Velangini Showry Maria Kumar Bandanadham on Jun 2, 2009 5:59 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 03:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750246#M1303050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T03:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: problm in displaying error msg</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750247#M1303051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;Please modify your code as below .WHICH WIll work for all scenarios i mean even if you give Option as EXCLUSIVE also .....&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 s_fevor.&lt;/P&gt;&lt;P&gt;   DATA : l_t_fevor TYPE TABLE OF afko-fevor WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT fevor INTO TABLE l_t_fevor FROM afko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT s_fevor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF NOT s_fevor-low IS INITIAL.&lt;/P&gt;&lt;P&gt;      READ TABLE l_t_fevor WITH KEY = s_fevor-low.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        SET CURSOR FIELD 'S_FEVOR-LOW'.&lt;/P&gt;&lt;P&gt;        MESSAGE e&amp;lt;&amp;gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF NOT s_FEVOR-high IS INITIAL.&lt;/P&gt;&lt;P&gt;      READ TABLE l_t_fevor WITH KEY = s_fevor-high.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        SET CURSOR FIELD 'S_FEVOR-HIGH'.&lt;/P&gt;&lt;P&gt;        MESSAGE e&amp;lt;&amp;gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 04:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750247#M1303051</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2009-06-02T04:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: problm in displaying error msg</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750248#M1303052</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;Change your code like this&lt;/P&gt;&lt;P&gt;&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;      IF not s_fevor-low in s_fevor.&lt;/P&gt;&lt;P&gt;               SELECT fevor&lt;/P&gt;&lt;P&gt;                             from afko&lt;/P&gt;&lt;P&gt;                             INTO TABLE t_fevor&lt;/P&gt;&lt;P&gt;                            WHERE fevor in s_fevor.&lt;/P&gt;&lt;P&gt;         IF sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;             MESSAGE e001.&lt;/P&gt;&lt;P&gt;         ENDIF.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 04:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problm-in-displaying-error-msg/m-p/5750248#M1303052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T04:43:46Z</dc:date>
    </item>
  </channel>
</rss>

