<?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 regarding selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197438#M1375553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;     i have 2 check boxes on selection screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user checks both the check boxes&lt;/P&gt;&lt;P&gt;then i have to throw an error message  that only one check box should be selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam getting error with the below code&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 ( ( p_check1 = 'X' ) and &lt;/P&gt;&lt;P&gt;    ( p_check2= 'X' )).&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;    WRITE:/ 'Please choose only one option''(e04) COLOR COL_NEGATIVE INVERSE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 01:29:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-08T01:29:18Z</dc:date>
    <item>
      <title>regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197438#M1375553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;     i have 2 check boxes on selection screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user checks both the check boxes&lt;/P&gt;&lt;P&gt;then i have to throw an error message  that only one check box should be selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam getting error with the below code&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 ( ( p_check1 = 'X' ) and &lt;/P&gt;&lt;P&gt;    ( p_check2= 'X' )).&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;    WRITE:/ 'Please choose only one option''(e04) COLOR COL_NEGATIVE INVERSE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 01:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197438#M1375553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T01:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197439#M1375554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;&amp;lt;li&amp;gt;Error because of WRITE statement. WRITE statements must not be written at AT SELECTION-SCREEN event.
&amp;lt;li&amp;gt;Instead you can write like below.
&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN.
  IF p_check1 = 'X' AND
     p_check2 = 'X'.
    MESSAGE 'Please choose only one option' TYPE 'E'.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 01:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197439#M1375554</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-08T01:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197440#M1375555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your requirement is such why dont you use radio buttons instead checkbox. No extra code needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 04:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197440#M1375555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T04:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197441#M1375556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your requirement is such why dont you use radio buttons instead checkbox. No extra code needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 04:05:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/6197441#M1375556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T04:05:09Z</dc:date>
    </item>
  </channel>
</rss>

