<?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: Disabling the function keys in GUI status in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631582#M1282167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THIS IS THE CODING WHICH WILL HELP YOU.&lt;/P&gt;&lt;P&gt;?**************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TYPES : BEGIN OF TY_FCODE,&lt;/P&gt;&lt;P&gt;         FCODE TYPE FCODE,&lt;/P&gt;&lt;P&gt;         END OF TY_FCODE.&lt;/P&gt;&lt;P&gt;DATA: IT_FCODE TYPE STANDARD TABLE OF TY_FCODE,&lt;/P&gt;&lt;P&gt;      WA_FCODE TYPE TY_FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF CONDITION.&lt;/P&gt;&lt;P&gt;CLEAR: WA_FCODE,IT_FCODE[].REFRESH IT_FCODE.&lt;/P&gt;&lt;P&gt; WA_FCODE =  'YOU FCODE OF BUTTON'.&lt;/P&gt;&lt;P&gt; APPEND WA_FCODE TO IT_FCODE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'XXX' EXCLUDING IT_FCODE.&lt;/P&gt;&lt;P&gt;****************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IT WORKS GIVE ME SOME POINT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2009 10:30:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-14T10:30:22Z</dc:date>
    <item>
      <title>Disabling the function keys in GUI status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631578#M1282163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;                I want to disable/hide the function keys in the gui status based on some condition in a module pool.Please tell me how to achieve that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Abbhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 10:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631578#M1282163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T10:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the function keys in GUI status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631579#M1282164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the SET PF-STATUS online help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PF-STATUS 'xxx' EXCLUDING lt_fcode.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where lt_fcode is a list of fuctions to exclude&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 10:15:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631579#M1282164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T10:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the function keys in GUI status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631580#M1282165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to hide more than one button:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: T_ucomm type table of sy-ucomm with header line.

IN PAI.

IF CONDITION.
T_ucomm = 'Button1'.
append t_ucomm.

T_ucomm = 'Button'2.
append t_ucomm.

ENDIF.

IN PBO.

SET PF-STATUS 'PFSTATUS' Excluding t_ucomm.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If only One button use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IN PBO.

Condition.
SET PF-STATUS 'PFSTATUS' Excluding &amp;lt;ButtonName&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 10:17:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631580#M1282165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T10:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the function keys in GUI status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631581#M1282166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;Please check the follwoing links to enable/disable function keys in module pool.&lt;/P&gt;&lt;P&gt;[http://www.saptechies.com/pf-status/|http://www.saptechies.com/pf-status/]&lt;/P&gt;&lt;P&gt;[http://www.sap-img.com/abap/common-used-of-dialog-screen-for-display-change-delete.htm|http://www.sap-img.com/abap/common-used-of-dialog-screen-for-display-change-delete.htm]&lt;/P&gt;&lt;P&gt;[http://sapabap.iespana.es/sap/tips/dinamically_set_pfstatus.htm|http://sapabap.iespana.es/sap/tips/dinamically_set_pfstatus.htm]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 10:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631581#M1282166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T10:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the function keys in GUI status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631582#M1282167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THIS IS THE CODING WHICH WILL HELP YOU.&lt;/P&gt;&lt;P&gt;?**************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TYPES : BEGIN OF TY_FCODE,&lt;/P&gt;&lt;P&gt;         FCODE TYPE FCODE,&lt;/P&gt;&lt;P&gt;         END OF TY_FCODE.&lt;/P&gt;&lt;P&gt;DATA: IT_FCODE TYPE STANDARD TABLE OF TY_FCODE,&lt;/P&gt;&lt;P&gt;      WA_FCODE TYPE TY_FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF CONDITION.&lt;/P&gt;&lt;P&gt;CLEAR: WA_FCODE,IT_FCODE[].REFRESH IT_FCODE.&lt;/P&gt;&lt;P&gt; WA_FCODE =  'YOU FCODE OF BUTTON'.&lt;/P&gt;&lt;P&gt; APPEND WA_FCODE TO IT_FCODE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'XXX' EXCLUDING IT_FCODE.&lt;/P&gt;&lt;P&gt;****************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF IT WORKS GIVE ME SOME POINT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 10:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631582#M1282167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T10:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling the function keys in GUI status</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631583#M1282168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;set pf-status 'ZCASEPAK1' excluding 'STCK'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"STICK" whis you don't want in GUI Status&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 10:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-the-function-keys-in-gui-status/m-p/5631583#M1282168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T10:33:12Z</dc:date>
    </item>
  </channel>
</rss>

