<?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: Menu items in the screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977599#M71235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The menu is just another part of the gui status.  If you double click on the SET PF-STATUS 'XXX' in your program, it will take you to the gui status.  Here in the first section is the Menu setup.  Here is where you will build your menu.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2005 18:04:12 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-08-24T18:04:12Z</dc:date>
    <item>
      <title>Menu items in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977597#M71233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created screens and for this i have the application toolbar, standard toolbar, menu bar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like the program help etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create menu items in the menu bar apart from program &amp;amp; help which is created by default, like eg say screen object etc. and within each item i want a drop down menu with item like in the screen i have 3 pushbuttons, i want in the screen drop down menu these menu items but1, but2 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i acheive this, &lt;/P&gt;&lt;P&gt;Any help on this will be of great use to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Prabs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 17:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977597#M71233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T17:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Menu items in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977598#M71234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create a menu in SE41 and call it in your PBO of the screen using the syntax SET PF-STATUS 'ABC'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 17:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977598#M71234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T17:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Menu items in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977599#M71235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The menu is just another part of the gui status.  If you double click on the SET PF-STATUS 'XXX' in your program, it will take you to the gui status.  Here in the first section is the Menu setup.  Here is where you will build your menu.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 18:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977599#M71235</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-24T18:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Menu items in the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977600#M71236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Double click on the ZSTATUS and in the applictaion toolbar create the buttons pass the function code BUT1 and perform some opertaion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE status_9001 OUTPUT.

  IF o_dockingcontainer IS INITIAL.

    SET PF-STATUS 'ZSTATUS'.
    SET TITLEBAR 'ZTITLE'.
.................
  ENDIF.

ENDMODULE.                 " STATUS_9001  OUTPUT

MODULE user_command_9001 INPUT.

  CASE sy-ucomm.

    WHEN 'EXIT' OR  'CANC'.
      PERFORM f9600_free_objects:
               USING o_alvgrid 'ALV' text-e02,
               USING o_dockingcontainer 'DOCKING'
                       text-e01.
      LEAVE PROGRAM.

    WHEN 'BACK'.
      PERFORM f9600_free_objects:
               USING o_alvgrid 'ALV' text-e02,
               USING o_dockingcontainer 'DOCKING'
                       text-e01.
      SET SCREEN '0'.
      LEAVE SCREEN.
&amp;lt;b&amp;gt;    WHEN 'BUT1'.
     perform...............&amp;lt;/b&amp;gt;

    WHEN OTHERS.

  ENDCASE.

ENDMODULE.                 " USER_COMMAND_9001  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this too helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2005 04:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/menu-items-in-the-screen/m-p/977600#M71236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-25T04:04:37Z</dc:date>
    </item>
  </channel>
</rss>

