<?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: Screen 1000 - Select Options - Message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252363#M776642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using standard selection screen. write your code &lt;/P&gt;&lt;P&gt;&lt;EM&gt;if...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;warning messge&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;endif.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;in event AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using Call Screen, then mention your condition within module with CHAIN...ENDCHAIN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 11:12:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T11:12:17Z</dc:date>
    <item>
      <title>Screen 1000 - Select Options - Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252359#M776638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u tell how it's possible to perform a warning message when, for example, the user dont fill a condition made in the abap program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a simple report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B01 WITH FRAME TITLE text-t01.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 1.&lt;/P&gt;&lt;P&gt;Select-options:&lt;/P&gt;&lt;P&gt;  pa_datai for SWWWIHEAD-WI_CD.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can define a "obligatory" field and if the user doesnt fill this field a message will be displayed in the screen.&lt;/P&gt;&lt;P&gt;My problem is, if a have 2 fields in the selection screen which i define that the user can not  choose bothi have the following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If "example" is initial and "example2" is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message w001(zexample).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine, but the warning message is displayed in other screen, even if i put after the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- call screen 1000&lt;/P&gt;&lt;P&gt;- leave to screen 0&lt;/P&gt;&lt;P&gt;- return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can u display the message in the screen 1000, without goint to other screen ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mário.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252359#M776638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Screen 1000 - Select Options - Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252360#M776639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put the statement EXIT after you trigger the message.&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;Jos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:55:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252360#M776639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T10:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Screen 1000 - Select Options - Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252361#M776640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mário Ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use AT SELECTION-SCREEN event to validate screen field.&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 field1 is initial.&lt;/P&gt;&lt;P&gt;  if field2 is initial.&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252361#M776640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T10:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Screen 1000 - Select Options - Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252362#M776641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use At selection-screen event .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p1 type c ,&lt;/P&gt;&lt;P&gt;             p2 type c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen .&lt;/P&gt;&lt;P&gt;if p1 is initial and&lt;/P&gt;&lt;P&gt;   p2 is initial .&lt;/P&gt;&lt;P&gt;   message text-001 type 'W'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 11:03:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252362#M776641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T11:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Screen 1000 - Select Options - Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252363#M776642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using standard selection screen. write your code &lt;/P&gt;&lt;P&gt;&lt;EM&gt;if...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;warning messge&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;endif.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;in event AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using Call Screen, then mention your condition within module with CHAIN...ENDCHAIN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 11:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252363#M776642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T11:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Screen 1000 - Select Options - Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252364#M776643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;do the validation in&lt;/P&gt;&lt;P&gt;At Selction Screen Event&lt;/P&gt;&lt;P&gt;If field1 is initial and field2 is initial.&lt;/P&gt;&lt;P&gt;message w001.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;rewards points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 11:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-1000-select-options-message/m-p/3252364#M776643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T11:13:48Z</dc:date>
    </item>
  </channel>
</rss>

