<?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: how to disable push button? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013462#M411207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are pushbuttons on the screen, not the toolbar right?&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>Fri, 23 Mar 2007 14:09:26 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-03-23T14:09:26Z</dc:date>
    <item>
      <title>how to disable push button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013461#M411206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;  we have two push buttons ADD and DELETE.Based on some condition we need to disable it.The foolowing code is not working.What could be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;      IF screen-name = 'ADD' or screen-name = 'DELETE'.&lt;/P&gt;&lt;P&gt;        screen-invisible = 1.&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;Thanks,&lt;/P&gt;&lt;P&gt;Rakesh More.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 14:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013461#M411206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable push button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013462#M411207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are pushbuttons on the screen, not the toolbar right?&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>Fri, 23 Mar 2007 14:09:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013462#M411207</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-23T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable push button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013463#M411208</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;try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;IF screen-name = 'ADD' or screen-name = 'DELETE'.&lt;/P&gt;&lt;P&gt;screen-invisible = '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;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 14:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013463#M411208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable push button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013464#M411209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works fine in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;        loop at screen.
          if screen-name = 'ACCEPTSHIPQTY'.
            screen-invisible  = 1.
            modify screen.
          endif.
        endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the buttons are on the application toolbar.  You must exclude them using the SET PF-STATUS statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set pf-status 'Test' excluding 'ADD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do more than one, you must use a table here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801e2d454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/801e2d454211d189710000e8322d00/frameset.htm&lt;/A&gt;&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>Fri, 23 Mar 2007 14:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013464#M411209</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-03-23T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to disable push button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013465#M411210</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 you want to make the buttons on application tool bar invisible or grayed out?&lt;/P&gt;&lt;P&gt;if you want to gray them out, then go to pf-status..&lt;/P&gt;&lt;P&gt;Go-&amp;gt; attributes-&amp;gt; push button assignment&lt;/P&gt;&lt;P&gt;select radiobutton display all and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, you can get the buttons that are excluded in pf-status as grayed out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 14:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-disable-push-button/m-p/2013465#M411210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T14:19:53Z</dc:date>
    </item>
  </channel>
</rss>

