<?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 error message on screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-error-message-on-screen/m-p/3277719#M783764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Janardhan. That did it and rewarded full points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 21:40:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T21:40:10Z</dc:date>
    <item>
      <title>Displaying error message on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-error-message-on-screen/m-p/3277717#M783762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All:&lt;/P&gt;&lt;P&gt;      I have couple of fields on selections screen that I need to validate at least one of them is populated. Making them mandatory is not an option for them but I have some code below, I have put in Start-of-selection event:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF p_full EQ 'X'.&lt;/P&gt;&lt;P&gt;    IF S_PERNR-LOW IS INITIAL&lt;/P&gt;&lt;P&gt;       AND S_KOSTL-LOW IS INITIAL.&lt;/P&gt;&lt;P&gt;      v_error = 'X'.&lt;/P&gt;&lt;P&gt;      MESSAGE E002(sy) WITH 'Pernr or costctr must be entered to run full file'.&lt;/P&gt;&lt;P&gt;      STOP.&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;It works fine with displaying error message on the bottom but it takes me to the blank screen instead of staying on the selection screen. I already tried "at selection screen output event" but doesn't work for me! If anyone has any suggestions, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;--Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 21:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-error-message-on-screen/m-p/3277717#M783762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T21:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying error message on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-error-message-on-screen/m-p/3277718#M783763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put your validation in 'at selection-screen' Then error messg is displayed at the bottom and you will be in selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 21:34:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-error-message-on-screen/m-p/3277718#M783763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T21:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying error message on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-error-message-on-screen/m-p/3277719#M783764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Janardhan. That did it and rewarded full points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 21:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-error-message-on-screen/m-p/3277719#M783764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T21:40:10Z</dc:date>
    </item>
  </channel>
</rss>

