<?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: check box in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173170#M461147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: P_C1 AS CHECKBOX USER-COMMAND USR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_C1 = 'X'. &lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2007 11:08:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-02T11:08:46Z</dc:date>
    <item>
      <title>check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173167#M461144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got a requirement like..i have three checkboxes..by default if i click on one check box it should be in disabled mode..i mean it should be grayed out..pls help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;malath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 11:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173167#M461144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T11:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173168#M461145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters: p_cb as checkbox user-command uc1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if p_cb = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'P_CB'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;screen-output = 1.&lt;/P&gt;&lt;P&gt;*screen-active = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 11:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173168#M461145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T11:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173169#M461146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in pbo you have to write the code..  if it is selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ch1 = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen name = 'CH1'.&lt;/P&gt;&lt;P&gt;screen-input = '0'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 11:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173169#M461146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T11:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173170#M461147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: P_C1 AS CHECKBOX USER-COMMAND USR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_C1 = 'X'. &lt;/P&gt;&lt;P&gt;SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful, reward&lt;/P&gt;&lt;P&gt;Sathish. R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 11:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173170#M461147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T11:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173171#M461148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take a flag and assign that flag into that check box,check the condition if that flag is trure than activate the checkbox otherwise just deactivate the checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 11:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173171#M461148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T11:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: check box</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173172#M461149</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;  If it is a module pool program then U need to first palce 3 check boxes with the FCT code for all as 'BUT' (Some function code which U like-Meaningful).&lt;/P&gt;&lt;P&gt;Let us assume the buttons names are w_but1,w_but2,w_but3.&lt;/P&gt;&lt;P&gt;In the PBO.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF  sy-ucomm = 'BUT' and &lt;/P&gt;&lt;P&gt; ( screen-name1 = w_butt1 or&lt;/P&gt;&lt;P&gt;   screen-name1 = w_butt2 or&lt;/P&gt;&lt;P&gt;   screen-name1 = w_butt3 ).&lt;/P&gt;&lt;P&gt;If  w_but1 = 'X'  and &lt;/P&gt;&lt;P&gt;   screen-name1 = w_butt1 .&lt;/P&gt;&lt;P&gt;    screen-input = 0.&lt;/P&gt;&lt;P&gt;   modify screen.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;screen-input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;If  w_but2 = 'X'  and &lt;/P&gt;&lt;P&gt;   screen-name1 = w_butt2 .&lt;/P&gt;&lt;P&gt;    screen-input = 0.&lt;/P&gt;&lt;P&gt;   modify screen.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;screen-input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;If  w_but3 = 'X'  and &lt;/P&gt;&lt;P&gt;   screen-name1 = w_butt3.&lt;/P&gt;&lt;P&gt;    screen-input = 0.&lt;/P&gt;&lt;P&gt;   modify screen.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;screen-input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;I have written this code from my understanding that:&lt;/P&gt;&lt;P&gt;U have  3 check boxes. Once U select a check box that should be disabled.&lt;/P&gt;&lt;P&gt;U have to replace the sy-UCOMM with the ok_code which u set in the element list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 12:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-box/m-p/2173172#M461149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T12:06:43Z</dc:date>
    </item>
  </channel>
</rss>

