<?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: Dynamic Menus in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756510#M36620</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;Menu Bar is a part of the GUI status and as far as I know, it cannot be isolated from the GUI Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is, to prepare one GUI Status provided that it contains all functions used through all of your screens and you add all function codes under Menu Bar. Then, you can deactivate irrelevant functions according to the subscreen by using &lt;/P&gt;&lt;P&gt;"SET PF-STATUS pfstat EXCLUDING f." or&lt;/P&gt;&lt;P&gt;"SET PF-STATUS pfstat EXCLUDING itab. ".&lt;/P&gt;&lt;P&gt;Excluded functions will also be excluded from the Menu Bar.&lt;/P&gt;&lt;P&gt;For more information, you can check SAPHelp for "SET PF-STATUS".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jul 2004 19:13:50 GMT</pubDate>
    <dc:creator>ssimsekler</dc:creator>
    <dc:date>2004-07-27T19:13:50Z</dc:date>
    <item>
      <title>Dynamic Menus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756509#M36619</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;There's an unusual requirement that I am faced with for which I solicit your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen with a subscreen area. There are several screens which can be called to fil this subscreen area. The screen has a few menu bars, and the first menu bar of should change for each of the subscreens called ( so as to contain the function codes possible on the subscreen ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now there's a crude solution that I have applied for the time being - for each of the subscreen that can possibly be called I have created a different GUI status and depending on which subscreen is being called I am setting the corresponding GUI Status in the PBO of the main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what I want to be able to do is to only create a new &amp;lt;i&amp;gt;Menu Bar&amp;lt;/i&amp;gt; for each of the subscreens instead of an entire GUI status altogether. Depending on which subscreen is being called, I want to be able to suppress the menu bars (including the Function Keys) that correspond to all the other subscreens. Is it possible to accomplish this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if there's a better way of dealing with the situation, I would greatly appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2004 13:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756509#M36619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-07-27T13:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Menus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756510#M36620</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;Menu Bar is a part of the GUI status and as far as I know, it cannot be isolated from the GUI Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is, to prepare one GUI Status provided that it contains all functions used through all of your screens and you add all function codes under Menu Bar. Then, you can deactivate irrelevant functions according to the subscreen by using &lt;/P&gt;&lt;P&gt;"SET PF-STATUS pfstat EXCLUDING f." or&lt;/P&gt;&lt;P&gt;"SET PF-STATUS pfstat EXCLUDING itab. ".&lt;/P&gt;&lt;P&gt;Excluded functions will also be excluded from the Menu Bar.&lt;/P&gt;&lt;P&gt;For more information, you can check SAPHelp for "SET PF-STATUS".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2004 19:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756510#M36620</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-07-27T19:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Menus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756511#M36621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Serdar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two issues that I find with your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, the statement - SET PF-STATUS 'STATUS1' EXCLUDING ITAB, merely makes the list of functions ( contained in ITAB ) non-selectable. The functions themselves are just greyed out and are still visible. With several screens, the list would become very long and the user will find a lot of the functions deactivated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, for each of the subscreens called, if I want a different menu, then I would also require the name of the menu to differ to reflect the set of functions for that screen. But do you think it's possible to change the name of the menu dynamically in the program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2004 06:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756511#M36621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-07-28T06:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Menus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756512#M36622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like for your requirement you have to have a separate GUI statuses defined. You may minimize by grouping them together. Similar menus (with minimal deviation) probably keep under same status...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Surgi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2004 07:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756512#M36622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-07-28T07:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Menus</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756513#M36623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not imagine how complicated your issue was. My suggestion was of course for some simpler usage. I am aware that excluded functions are just greyed out and as far as I know, it is not possible to change menu item names dynamically. So, my poor mind just comes to the obvious solution of having one GUI Status for each subscreen. I am sorry for the inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Serdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jul 2004 20:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-menus/m-p/756513#M36623</guid>
      <dc:creator>ssimsekler</dc:creator>
      <dc:date>2004-07-28T20:14:33Z</dc:date>
    </item>
  </channel>
</rss>

