<?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: Activate Deactivate PF-STATUS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924817#M688952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to deactivate a particular FCODE in status bar use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PF-STATUS pfstat EXCLUDING 'XXXXX' .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where XXXX is FCODE which you want to deactivate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 11:35:39 GMT</pubDate>
    <dc:creator>Pawan_Kesari</dc:creator>
    <dc:date>2007-10-18T11:35:39Z</dc:date>
    <item>
      <title>Activate Deactivate PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924813#M688948</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;&lt;/P&gt;&lt;P&gt;How can I reactivate my custom menu button from deactivation?&lt;/P&gt;&lt;P&gt;For example when the user enters a valid sales document number, the custom menu button will be activated. The buttons will only be active when the user enters a valid sales document number in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924813#M688948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Deactivate PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924814#M688949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Validate the Sales document no. &amp;amp; then call pf-status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if v_vbeln = 'VALID'. "Pass your condition for validation
SET PF-STATUS 'ZACT'. "ACTIVE PF-STATUS
else. 
SET PF-STATUS 'ZDAC'. "DEACTIVE PF-STATUS
Endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924814#M688949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Deactivate PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924815#M688950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a PF-Status with the desired buttons..&lt;/P&gt;&lt;P&gt;at selection screen output&lt;/P&gt;&lt;P&gt;check if entered value is valid then SET PF-STATUS...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924815#M688950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Deactivate PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924816#M688951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO module I have already set my PF Status initially excluding the buttons.&lt;/P&gt;&lt;P&gt;In PAI module when I entered a sales document number I have to validate it if is it is a valid sales document number or not. Are you saying that I will call set pf-status again to activate my buttons? Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924816#M688951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Deactivate PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924817#M688952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to deactivate a particular FCODE in status bar use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PF-STATUS pfstat EXCLUDING 'XXXXX' .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where XXXX is FCODE which you want to deactivate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 11:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924817#M688952</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2007-10-18T11:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Activate Deactivate PF-STATUS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924818#M688953</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;To assign a GUI status to a screen, use the ABAP statement&lt;/P&gt;&lt;P&gt;SET PF-STATUS &amp;lt;stat&amp;gt; [OF PROGRAM &amp;lt;prog&amp;gt;]&lt;/P&gt;&lt;P&gt;                  [EXCLUDING &amp;lt;f&amp;gt;|&amp;lt;itab&amp;gt;].&lt;/P&gt;&lt;P&gt;This statement defines the user interface for all subsequent screens of a screen sequence until another is set using a new SET PF-STATUS statement. The GUI status &amp;lt;stat&amp;gt; must be a component of the current ABAP program, unless you use the OF PROGRAM addition in the SET PF-STATUS statement to set a GUI status of another program &amp;lt;prog&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EXCLUDING function allows you to change the appearance and function of a GUI status dynamically. This is useful if the individual user interfaces for a range of screens are very similar. You can define a single global status, and then just deactivate the functions you do not need using EXCLUDING. Specify &amp;lt;f&amp;gt; to deactivate the function code stored in field &amp;lt;f&amp;gt;. Specify &amp;lt;itab&amp;gt; to deactivate all function codes stored in the internal table &amp;lt;itab&amp;gt;. Field &amp;lt;f&amp;gt; and the lines of table&lt;/P&gt;&lt;P&gt;&amp;lt;itab&amp;gt; should be of type C, and have length 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should set the GUI status for a screen in the PBO event. If you do not specify a GUI status for a screen, it is displayed with the interface of the previous screen. If you do not specify a GUI status for the first screen of a program, it has no user interface, and the user may not be able to leave the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 12:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/activate-deactivate-pf-status/m-p/2924818#M688953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T12:17:44Z</dc:date>
    </item>
  </channel>
</rss>

