<?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 push button in menu bar in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-push-button-in-menu-bar/m-p/3014393#M712389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to know the Function Code(FCODE) for the button which you want to disable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check the authorization.&lt;/P&gt;&lt;P&gt;If the authorization is not there then execute this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: itab TYPE TABLE OF sy-ucomm. 
APPEND 'DELE' TO itab. " To be excluded
APPEND 'PICK' TO itab.  " To be excluded.
SET PF-STATUS 'STA3' EXCLUDING itab.  "Replace STA3 with your PF-STATUS.  
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2007 08:06:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-02T08:06:49Z</dc:date>
    <item>
      <title>Disable push button in menu bar</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-push-button-in-menu-bar/m-p/3014392#M712388</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;         requriment that if authorized user runs the transaction code than a push button is enabled.&lt;/P&gt;&lt;P&gt;if he is not he authorized person the that push button on menu bar is disabled&lt;/P&gt;&lt;P&gt;         please this is very urgent.&lt;/P&gt;&lt;P&gt;                                                                                thanx for all guru's &lt;/P&gt;&lt;P&gt;                                       in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 07:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-push-button-in-menu-bar/m-p/3014392#M712388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T07:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disable push button in menu bar</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-push-button-in-menu-bar/m-p/3014393#M712389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to know the Function Code(FCODE) for the button which you want to disable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then check the authorization.&lt;/P&gt;&lt;P&gt;If the authorization is not there then execute this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: itab TYPE TABLE OF sy-ucomm. 
APPEND 'DELE' TO itab. " To be excluded
APPEND 'PICK' TO itab.  " To be excluded.
SET PF-STATUS 'STA3' EXCLUDING itab.  "Replace STA3 with your PF-STATUS.  
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 08:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-push-button-in-menu-bar/m-p/3014393#M712389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T08:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disable push button in menu bar</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-push-button-in-menu-bar/m-p/3014394#M712390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiron,&lt;/P&gt;&lt;P&gt;Can you please mark this thread as answered and close it?&lt;/P&gt;&lt;P&gt;I am sure the answer would have solved your question &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 09:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-push-button-in-menu-bar/m-p/3014394#M712390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T09:35:12Z</dc:date>
    </item>
  </channel>
</rss>

