<?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 Menu bar disabled in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-bar-disabled/m-p/8336801#M1638689</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;I have created a custom PF status for my program. I noticed 2 things,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The PF status has the status Modified/Active after activating it. I can see that other PF-status in system have status active.&lt;/P&gt;&lt;P&gt;2) The Menu bar is disabled although I have given function keys BACK,CANCEL &amp;amp; EXIT. How to enable these buttons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: OR_SALV_FUNCTIONS TYPE REF TO CL_SALV_FUNCTIONS,
         lv_repid type sy-repid.
   lv_repid = sy-repid.

    OR_SALV_FUNCTIONS = o_alv-&amp;gt;get_functions( ).
    o_alv-&amp;gt;set_screen_status( EXPORTING report = lv_repid
                                    pfstatus = 'ZPF_STATUS'
                                    set_functions = cl_salv_table=&amp;gt;c_functions_all ).

  or_salv_functions-&amp;gt;set_all( abap_true ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2011 08:51:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-08T08:51:26Z</dc:date>
    <item>
      <title>Menu bar disabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-bar-disabled/m-p/8336801#M1638689</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;I have created a custom PF status for my program. I noticed 2 things,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The PF status has the status Modified/Active after activating it. I can see that other PF-status in system have status active.&lt;/P&gt;&lt;P&gt;2) The Menu bar is disabled although I have given function keys BACK,CANCEL &amp;amp; EXIT. How to enable these buttons?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: OR_SALV_FUNCTIONS TYPE REF TO CL_SALV_FUNCTIONS,
         lv_repid type sy-repid.
   lv_repid = sy-repid.

    OR_SALV_FUNCTIONS = o_alv-&amp;gt;get_functions( ).
    o_alv-&amp;gt;set_screen_status( EXPORTING report = lv_repid
                                    pfstatus = 'ZPF_STATUS'
                                    set_functions = cl_salv_table=&amp;gt;c_functions_all ).

  or_salv_functions-&amp;gt;set_all( abap_true ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 08:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-bar-disabled/m-p/8336801#M1638689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T08:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Menu bar disabled</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-bar-disabled/m-p/8336802#M1638690</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;&lt;/P&gt;&lt;P&gt;The problem is resolved now. I used below simple code and it works perfectly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of the code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: OR_SALV_FUNCTIONS TYPE REF TO CL_SALV_FUNCTIONS,
         lv_repid type sy-repid.
   lv_repid = sy-repid.
 
    OR_SALV_FUNCTIONS = o_alv-&amp;gt;get_functions( ).
    o_alv-&amp;gt;set_screen_status( EXPORTING report = lv_repid
                                    pfstatus = 'ZPF_STATUS'
                                    set_functions = cl_salv_table=&amp;gt;c_functions_all ).
 
  or_salv_functions-&amp;gt;set_all( abap_true ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: OR_SALV_FUNCTIONS TYPE REF TO CL_SALV_FUNCTIONS.

    OR_SALV_FUNCTIONS = o_alv-&amp;gt;get_functions( ).
    set pf-status 'BASIC'.
     or_salv_functions-&amp;gt;set_all( abap_true ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: bharath padmanabhan on Nov 8, 2011 3:25 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: bharath padmanabhan on Nov 8, 2011 3:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 09:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-bar-disabled/m-p/8336802#M1638690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-08T09:55:43Z</dc:date>
    </item>
  </channel>
</rss>

