<?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 disable fields on selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784676#M1308901</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 have 4 input fields on selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I select field1, f2, f3 and f4 should be disabled and vice versa. I should allow user to enter value for only 1 input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2009 19:19:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-06T19:19:08Z</dc:date>
    <item>
      <title>disable fields on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784676#M1308901</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 have 4 input fields on selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I select field1, f2, f3 and f4 should be disabled and vice versa. I should allow user to enter value for only 1 input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 19:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784676#M1308901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T19:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: disable fields on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784677#M1308902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search this forum for  "LOOP AT SCREEN".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 19:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784677#M1308902</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2009-07-06T19:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: disable fields on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784678#M1308903</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;By creating the radio Buttons you can acheive this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

PARAMETERS: p_rb1  RADIOBUTTON GROUP gr1 USER-COMMAND cde DEFAULT 'X',
                         p_rb2  RADIOBUTTON GROUP gr1 ,
                         p_rb3  RADIOBUTTON GROUP gr1 ,
                         p_rb4  RADIOBUTTON GROUP gr1 .
PARAMETERS: field1 mod-id id1,
                         field2 mod-id id2,
                         field3 mod-id id3,
                         field4 mod-id id4.



at selection-screen output.

if p_rb1 = 'X'.

loop at screen.
  disable id2 id3 id4.
Endif.
endif.
"do the same for if p_rb2.p_rb3.p_rb4.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;prabhudas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prabhu Das on Jul 7, 2009 12:59 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 19:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784678#M1308903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T19:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: disable fields on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784679#M1308904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;u need to make it inside of AT SELECTION-SCREEN OUTPUT. Try to do sth like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: p_pfile TYPE rlgrap-filename MODIF ID ccc, 
                         p_afile TYPE rlgrap-filename MODIF ID aaa. 

AT SELECTION-SCREEN OUTPUT.

    LOOP AT SCREEN.
      CASE screen-group1.
        WHEN 'CCC'.
          screen-input = 1.
          screen-invisible = 0.
          MODIFY SCREEN.
      WHEN 'AAA'.
          screen-input = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
      ENDCASE.
    ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;probably u will need to add extra code, but that is how to modify the screen.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 19:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields-on-selection-screen/m-p/5784679#M1308904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-06T19:34:27Z</dc:date>
    </item>
  </channel>
</rss>

