<?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: Disable single selection input based on check box selection. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957639#M697707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters : chk as checkbox user-command u1.&lt;/P&gt;&lt;P&gt;parameters : inp type c modif id MD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if chk = 'X'.&lt;/P&gt;&lt;P&gt;loop screen.&lt;/P&gt;&lt;P&gt; if screen-group1 = 'MD1'.&lt;/P&gt;&lt;P&gt;   screen-input = 0.&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt;   screen-input = 1.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2007 13:13:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-16T13:13:51Z</dc:date>
    <item>
      <title>Disable single selection input based on check box selection.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957634#M697702</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;I need to disable only one selection input based on a check box,&lt;/P&gt;&lt;P&gt;if the check box is selected then the input should be enabled else it should be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 12:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957634#M697702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T12:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disable single selection input based on check box selection.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957635#M697703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shedon ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution to your problem is quite simple &amp;lt;b&amp;gt;if ur working on dialog programming.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;u can &amp;lt;b&amp;gt;perform the following in the PBO&amp;lt;/b&amp;gt; of the screen containing the check box :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;IF CHECK EQ 'X' .                       " if checked &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME EQ 'EID'.      " 1st element that is enabled after by checkbox&lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = 0 .&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME EQ 'WEMP'. " 2nd element that is enabled                     SCREEN-INVISIBLE = 0 .&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME EQ 'SUBMIT'.  " 2nd element that is enabled  &lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = 0 .&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;  ENDLOOP .&lt;/P&gt;&lt;P&gt;ELSE .&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME EQ 'EID'.&lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = 1 .&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME EQ 'WEMP'.&lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;        SCREEN-INPUT = 0 .&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME EQ 'SUBMIT'.&lt;/P&gt;&lt;P&gt;        SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN .&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;&lt;/P&gt;&lt;P&gt;you can continue with ur selection criteria in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REVERT BACK FOR ANY QUERY.......................&lt;/P&gt;&lt;P&gt;DO REWARD POINTS IF USEFUL &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 12:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957635#M697703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T12:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Disable single selection input based on check box selection.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957636#M697704</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;Thanks for the reply, but im not working on dialog programming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 12:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957636#M697704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T12:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disable single selection input based on check box selection.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957637#M697705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can try this&lt;/P&gt;&lt;P&gt;    at selection screen.&lt;/P&gt;&lt;P&gt;       if checkbox = 'X'.&lt;/P&gt;&lt;P&gt;           loop at screen.&lt;/P&gt;&lt;P&gt;             if screen-name = the name of ur field which u want 2 hide.&lt;/P&gt;&lt;P&gt;                screen-invisible = 1.&lt;/P&gt;&lt;P&gt;                screen-active = 0.&lt;/P&gt;&lt;P&gt;                modify screen.&lt;/P&gt;&lt;P&gt;           endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also in place of  ' at selection screen '  try this ' at selection screen output '&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 12:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957637#M697705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T12:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disable single selection input based on check box selection.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957638#M697706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheldon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the event &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN OUTPUT.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN. &lt;/P&gt;&lt;P&gt;IF SCREEN_NAME = &amp;lt;the one which you want to blank&amp;gt;&lt;/P&gt;&lt;P&gt;IF P_YOUR_CHECKBOX = 'X' .&lt;/P&gt;&lt;P&gt;Change SCREEN-VISIBLE or SCREEN-INPUT whichever is relevant&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 12:35:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957638#M697706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T12:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Disable single selection input based on check box selection.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957639#M697707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters : chk as checkbox user-command u1.&lt;/P&gt;&lt;P&gt;parameters : inp type c modif id MD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if chk = 'X'.&lt;/P&gt;&lt;P&gt;loop screen.&lt;/P&gt;&lt;P&gt; if screen-group1 = 'MD1'.&lt;/P&gt;&lt;P&gt;   screen-input = 0.&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt;   screen-input = 1.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 13:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957639#M697707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T13:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disable single selection input based on check box selection.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957640#M697708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seldon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           The below code will solve your proble. Please reward if your problem is solved.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block b1.
parameters: v_chk as checkbox user-command rad,
            v_matnr type mara-matnr modif id M1 .
selection-screen end of block b1.


AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
if v_chk = 'X'.
  IF SCREEN-GROUP1 = 'M1'.
    SCREEN-active = 1.
    MODIFY SCREEN.
  ENDIF.
else.
 IF SCREEN-GROUP1 = 'M1'.
    SCREEN-active = 0.
    MODIFY SCREEN.
  ENDIF.
endif.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suma.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 13:26:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-selection-input-based-on-check-box-selection/m-p/2957640#M697708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T13:26:04Z</dc:date>
    </item>
  </channel>
</rss>

