<?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: Enable &amp; Disable fields on screen. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-disable-fields-on-screen/m-p/2816196#M658635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do it using Selection screen then it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that you have to use AT SELECTION-SCREEN output. event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below code and use it according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: pa0000, pa0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_rad1 radiobutton group rad1 default 'X' user-command rusr,&lt;/P&gt;&lt;P&gt;p_rad2 radiobutton group rad1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk1 with frame.&lt;/P&gt;&lt;P&gt;select-options: s_pernr for pa0000-pernr modif id ABC.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk2 with frame.&lt;/P&gt;&lt;P&gt;select-options: s_stat2 for pa0000-stat2 modif id DEF.&lt;/P&gt;&lt;P&gt;select-options: s_werks for pa0001-werks modif id DEF.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk2.&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 SCREEN-GROUP1 = 'ABC'.&lt;/P&gt;&lt;P&gt;IF p_rad1 = 'X'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = 'DEF'.&lt;/P&gt;&lt;P&gt;IF p_rad2 = 'X'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&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;&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh Nandaniya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 20:09:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-24T20:09:18Z</dc:date>
    <item>
      <title>Enable &amp; Disable fields on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-disable-fields-on-screen/m-p/2816195#M658634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to disable the block in the screen as per the selection of radiobutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible ? How ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx in advance.&lt;/P&gt;&lt;P&gt;raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 20:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enable-disable-fields-on-screen/m-p/2816195#M658634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T20:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Enable &amp; Disable fields on screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enable-disable-fields-on-screen/m-p/2816196#M658635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do it using Selection screen then it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that you have to use AT SELECTION-SCREEN output. event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below code and use it according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: pa0000, pa0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_rad1 radiobutton group rad1 default 'X' user-command rusr,&lt;/P&gt;&lt;P&gt;p_rad2 radiobutton group rad1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk1 with frame.&lt;/P&gt;&lt;P&gt;select-options: s_pernr for pa0000-pernr modif id ABC.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block blk2 with frame.&lt;/P&gt;&lt;P&gt;select-options: s_stat2 for pa0000-stat2 modif id DEF.&lt;/P&gt;&lt;P&gt;select-options: s_werks for pa0001-werks modif id DEF.&lt;/P&gt;&lt;P&gt;selection-screen: end of block blk2.&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 SCREEN-GROUP1 = 'ABC'.&lt;/P&gt;&lt;P&gt;IF p_rad1 = 'X'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SCREEN-GROUP1 = 'DEF'.&lt;/P&gt;&lt;P&gt;IF p_rad2 = 'X'.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;ENDIF.&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;&lt;/P&gt;&lt;P&gt;=====================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh Nandaniya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 20:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enable-disable-fields-on-screen/m-p/2816196#M658635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T20:09:18Z</dc:date>
    </item>
  </channel>
</rss>

