<?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: Displaying message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961823#M395347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;AT selection-screen.
select * from mara where matnr = p_matnr.
if sy-subrc &amp;lt;&amp;gt; 0.
message e000 with text 'No Material Found'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;endif.&lt;/P&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>Wed, 07 Feb 2007 11:59:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-07T11:59:46Z</dc:date>
    <item>
      <title>Displaying message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961821#M395345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;      I need to display an error message if the input values which i took from the selection screen does not exists in the database.At present i am displaying this message on the next screen of the selection screen in the status bar.But I don't want to display this message in the next screen but I want this message to be displayed on the selection screen in the status bar.will u Please tell me how can i do this.I am getting data from database and comparing these values with the input values and displaying error message in the start-of-selection event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 11:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961821#M395345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T11:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961822#M395346</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;in At selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the validity of the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;display a error message there only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 11:58:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961822#M395346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T11:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961823#M395347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;AT selection-screen.
select * from mara where matnr = p_matnr.
if sy-subrc &amp;lt;&amp;gt; 0.
message e000 with text 'No Material Found'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;endif.&lt;/P&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>Wed, 07 Feb 2007 11:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961823#M395347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T11:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961824#M395348</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 any of the Report Events say -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on &amp;lt;parameter1&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on &amp;lt;select-option-low&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on &amp;lt;select-option-high&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on BLOCK &amp;lt;blk1&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can issue error message in this event, by creating a perform routine, under that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;- Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961824#M395348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961825#M395349</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;Put like this.  This may solve your problem.&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select statement.... &lt;/P&gt;&lt;P&gt;if sy-subrc&amp;lt;&amp;gt;0.&lt;/P&gt;&lt;P&gt;  message s000(00) with 'Record Not Found'. &lt;/P&gt;&lt;P&gt;  stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the process will not go to the next screen and let the user to correct the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U. Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:05:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961825#M395349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961826#M395350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use AT SELECTION-SCREEN ON Para or Select-option event and u can validate the screen values and display the 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;&lt;/P&gt;&lt;P&gt;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 12:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/1961826#M395350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T12:07:14Z</dc:date>
    </item>
  </channel>
</rss>

