<?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: Checkbox Property in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263592#M148404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the MODIF ID of the checkboxes and when one is checked&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; IF screen-group = 'MOD'.&lt;/P&gt;&lt;P&gt;  screen-invisible = '1'.&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>Tue, 28 Mar 2006 06:44:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-28T06:44:12Z</dc:date>
    <item>
      <title>Checkbox Property</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263591#M148403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frnd's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had 6 checkboxes in a program.&lt;/P&gt;&lt;P&gt;If i select 1 checkbox field the other should be made invisible.&lt;/P&gt;&lt;P&gt;help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 06:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263591#M148403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T06:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox Property</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263592#M148404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the MODIF ID of the checkboxes and when one is checked&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; IF screen-group = 'MOD'.&lt;/P&gt;&lt;P&gt;  screen-invisible = '1'.&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>Tue, 28 Mar 2006 06:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263592#M148404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T06:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox Property</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263593#M148405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but the checkboxes are not created in groups, created as individual checkboxes,then how can i do it.&lt;/P&gt;&lt;P&gt;it is an modulepool program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 06:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263593#M148405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T06:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox Property</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263594#M148406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;parameters: p1 as checkbox user-command chk,
            p2 as checkbox user-command chk,
            p3 as checkbox user-command chk,
            p4 as checkbox user-command chk,
            p5 as checkbox user-command chk,
            p6 as checkbox user-command chk.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF p1 = 'X'.
      IF SCREEN-NAME = 'P2' OR
         SCREEN-NAME = 'P3' OR
         SCREEN-NAME = 'P4' OR
         SCREEN-NAME = 'P5' OR
         SCREEN-NAME = 'P6'.
        SCREEN-ACTIVE = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 06:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263594#M148406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T06:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox Property</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263595#M148407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the function code attribute of the checkbox on your screen and then in your PBO, just apply the logic as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 06:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263595#M148407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T06:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox Property</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263596#M148408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi suganya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working fine..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
parameters : chk1 as checkbox modif id B1 user-command com1.
parameters : chk2 as checkbox modif id B2 user-command com1.
parameters : chk3 as checkbox modif id B3 user-command com1.
parameters : chk4 as checkbox modif id B4 user-command com1.
parameters : chk5 as checkbox modif id B5 user-command com1.
parameters : chk6 as checkbox modif id B6 user-command com1.

at selection-screen output.
loop at screen.
 if chk1 is not initial or  chk2 is not initial or chk3 is not initial
or  chk4 is not initial or chk5 is not initial or chk6 is not initial.

   if chk1 NE 'X' and screen-group1 = 'B1'.
     screen-input = '0'.
     screen-invisible = '1'.
   endif.

   if chk2 NE 'X' and screen-group1 = 'B2'.
   screen-input = '0'.
     screen-invisible = '1'.
   endif.
   if chk3 NE 'X' and screen-group1 = 'B3'.
      screen-input = '0'.
     screen-invisible = '1'.

   endif.

   if chk4 NE 'X' and screen-group1 = 'B4'.
      screen-input = '0'.
     screen-invisible = '1'.

   endif.

   if chk5 NE 'X' and screen-group1 = 'B5'.
      screen-input = '0'.
     screen-invisible = '1'.

   endif.

   if chk6 NE 'X' and screen-group1 = 'B6'.
      screen-input = '0'.
     screen-invisible = '1'.

   endif.
endif.
modify screen.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward points if it helps you&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 07:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263596#M148408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T07:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox Property</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263597#M148409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suganya,&lt;/P&gt;&lt;P&gt; the above code works for all check boxes.. not only for the first one..&lt;/P&gt;&lt;P&gt; clicking on any one of them will make all others invisible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 07:13:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-property/m-p/1263597#M148409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T07:13:20Z</dc:date>
    </item>
  </channel>
</rss>

