<?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 fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354603#M520083</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;    For disabling the fields no need of writing code in MPP . Go to special attributes here u can find the many check boxes for declaring the field as mandatory , invisible , password..... U check the check box mentioned for invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2007 04:12:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-13T04:12:54Z</dc:date>
    <item>
      <title>Disable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354600#M520080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want disable some fields in Module pool selection screen am writing ths code but not triggering... plz any one help me about on this issusse.. here is the code&lt;/P&gt;&lt;P&gt;Data: v_find TYPE c value 'X',&lt;/P&gt;&lt;P&gt;        ok_code LIKE sy-ucomm.&lt;/P&gt;&lt;P&gt;Case ok_code.&lt;/P&gt;&lt;P&gt; WHEN 'SEL_ARCHIVE'.&lt;/P&gt;&lt;P&gt;      IF NOT v_find IS INITIAL.&lt;/P&gt;&lt;P&gt;        LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;          IF screen-group1 = 'MOD'.&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;        ENDLOOP.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;Endcase.&lt;/P&gt;&lt;P&gt;here the program is Syntactically right but when am debugging its not triggering....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 03:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354600#M520080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T03:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Disable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354601#M520081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the changing of screen attributes should not be done in the USER_COMMAND. where as it should be done only in the PBO of that particular screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 03:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354601#M520081</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-06-13T03:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354602#M520082</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;Do the same code in the PROCESS BEFORE OUTPUT event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 03:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354602#M520082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T03:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354603#M520083</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;    For disabling the fields no need of writing code in MPP . Go to special attributes here u can find the many check boxes for declaring the field as mandatory , invisible , password..... U check the check box mentioned for invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 04:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354603#M520083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T04:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Disable fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354604#M520084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Murali , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For disabling any screen field element you should write SCREEN-INPUT = '0', where you have mentioned as 1 .change it and try again .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    There are few  methods which are supposed to be followed duing module pool programming . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 ) Do not do tyhe data declaration anywhere except in  the TOP include or at the begining of your program whcih you need to check in your code . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Any operation related to the screens should be done in separate module in the PBO and PAI events .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try this code and write it in the PAI of your screen flow logic  :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: v_find TYPE c value 'X',&lt;/P&gt;&lt;P&gt;ok_code LIKE sy-ucomm.&lt;/P&gt;&lt;P&gt;Case ok_code.&lt;/P&gt;&lt;P&gt;WHEN 'SEL_ARCHIVE'.&lt;/P&gt;&lt;P&gt;IF NOT v_find IS INITIAL.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'MOD'.&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;Endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Revert if further assistance needed !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 04:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-fields/m-p/2354604#M520084</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-06-13T04:14:40Z</dc:date>
    </item>
  </channel>
</rss>

