<?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: radio button and selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372774#M525811</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 at selection-screen.This will solve the exit problem.Kindly reward point if it helps, by clicking the star on the left of reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if nrw = 'X' and p_augru-low EQ 'MWD'.&lt;/P&gt;&lt;P&gt;MESSAGE e000(oo) WITH '&amp;lt;Please Enter the correct Order Reason&amp;gt;'.&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>Wed, 06 Jun 2007 02:07:34 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2007-06-06T02:07:34Z</dc:date>
    <item>
      <title>radio button and selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372770#M525807</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 requirement is that if the user enters some particular combination of value in the select options and clicks a particular radio button there should be an error message displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  I am getting the error message in the form a dialog box , but it has only option of  exit , and the user is thrown of the screen. my requirement is that after the error message the user must still be at the same screen so that he can enter new values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)  the code that i have written also has one more anamoly that the displaying of error depends upon the sequence of  actions .&lt;/P&gt;&lt;P&gt;  if  i enter the value in the select option first and then click the radio button then the error message is displayed which is correct.&lt;/P&gt;&lt;P&gt; but it doesnt work i click the radio button first and then enter the value, the program is executed and NO ERROR message is flashed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is what i have written &lt;/P&gt;&lt;P&gt;**********************************************************************************************&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE  text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: p_year  for  s021-spmon obligatory ,&lt;/P&gt;&lt;P&gt;                p_kunag  FOR vbrk-kunag  ,&lt;/P&gt;&lt;P&gt;                p_matnr  FOR vbrp-matnr  ,&lt;/P&gt;&lt;P&gt;                p_augru  FOR vbrp-augru_auft modif id a1 ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                p_vbeln  FOR vbrk-vbeln  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE  text-002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:  nrw RADIOBUTTON GROUP g1 user-command check,&lt;/P&gt;&lt;P&gt;             mwd RADIOBUTTON GROUP g1 ,&lt;/P&gt;&lt;P&gt;             rws RADIOBUTTON GROUP g1 ,&lt;/P&gt;&lt;P&gt;          edu RADIOBUTTON GROUP g1 ,&lt;/P&gt;&lt;P&gt;         standard RADIOBUTTON GROUP g1 default 'X' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;   loop at screen.&lt;/P&gt;&lt;P&gt;   if nrw = 'X' and p_augru-low EQ 'MWD'.&lt;/P&gt;&lt;P&gt;       MESSAGE e000(oo) WITH '&amp;lt;Please Enter the correct Order Reason&amp;gt;'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE 'X'.&lt;/P&gt;&lt;P&gt; WHEN nrw.&lt;/P&gt;&lt;P&gt; PERFORM set_dates_nrw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM load_data_nrw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM get_cust_info_nrw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM set_alv_field_cat_nrw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM display_alv_nrw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 01:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372770#M525807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T01:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: radio button and selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372771#M525808</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;Instead of doing the validation the AT SELECTION-SCREEN OUTPUT..do it at AT SELECTION..event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also remove the LOOP AT SCREEN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modified code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.  " Commented OUTPUT&lt;/P&gt;&lt;P&gt;if nrw = 'X' and p_augru-low EQ 'MWD'. " Removed LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;MESSAGE e000(oo) WITH '&amp;lt;Please Enter the correct Order Reason&amp;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;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 01:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372771#M525808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T01:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: radio button and selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372772#M525809</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 this piece of code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if nrw = 'X' and p_augru-low EQ 'MWD'.&lt;/P&gt;&lt;P&gt;MESSAGE e000(oo) WITH '&amp;lt;Please Enter the correct Order Reason&amp;gt;'.&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;by&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;if nrw = 'X' and p_augru-low EQ 'MWD'.&lt;/P&gt;&lt;P&gt;MESSAGE e000(oo) WITH '&amp;lt;Please Enter the correct Order Reason&amp;gt;'.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 01:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372772#M525809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T01:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: radio button and selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372773#M525810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write all the validations in the event AT-SELECTION SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will display the error message and still keep you on the same screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 01:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372773#M525810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T01:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: radio button and selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372774#M525811</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 at selection-screen.This will solve the exit problem.Kindly reward point if it helps, by clicking the star on the left of reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if nrw = 'X' and p_augru-low EQ 'MWD'.&lt;/P&gt;&lt;P&gt;MESSAGE e000(oo) WITH '&amp;lt;Please Enter the correct Order Reason&amp;gt;'.&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>Wed, 06 Jun 2007 02:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372774#M525811</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-06-06T02:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: radio button and selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372775#M525812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys for ur very quick and very helpful replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points given to everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;closing this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 02:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-and-selection-screen/m-p/2372775#M525812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T02:46:08Z</dc:date>
    </item>
  </channel>
</rss>

