<?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: How do I create a sub-menu item in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233605#M140039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kingsley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose your doubt is how to create a sub-menu in the output list. You can do that by using the statement&lt;/P&gt;&lt;P&gt;SET PF-STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so write in the program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'MYMENU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can do in 2 methods.&lt;/P&gt;&lt;P&gt;1) double click on 'MYMENU'. It will go Menu Painter.&lt;/P&gt;&lt;P&gt;There will be Menu bar, Application toolbar , Function keys.&lt;/P&gt;&lt;P&gt;Click on Menu bar.&lt;/P&gt;&lt;P&gt;Create a Menu , say Menu1. Double click on it and you usually give the FUNCTION CODE &amp;amp; TEXT for creating a menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in this case, you shouldn't give the Function Code.&lt;/P&gt;&lt;P&gt;Just write the text and double click . Now a new menu with Function Code and Text comes. That is it..&lt;/P&gt;&lt;P&gt;Just Give the Function Code and Texts.&lt;/P&gt;&lt;P&gt;Save it and activate it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) goto se41 and give the name of the program.&lt;/P&gt;&lt;P&gt;You will be go to Menu Painter.Rest of the steps are same as 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program, you should write as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;write 'List'.&lt;/P&gt;&lt;P&gt;set pf-status 'MEN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'FC2'.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is solved.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sylendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2006 04:45:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-21T04:45:03Z</dc:date>
    <item>
      <title>How do I create a sub-menu item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233601#M140035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I'm fairly new to ABAP so be merciful. I would like to know how to create a sub-menu on the menubar(but NOT programatically). I can create regular menu items in the menu editor(I don't know if that's the proper name) but I would like to have the arrow that appears next to the menu items to point to a list of submenu items. Thanks for your time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KP&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 23:25:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233601#M140035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T23:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sub-menu item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233602#M140036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create Area menue thorugh :SE43 &lt;/P&gt;&lt;P&gt;and also you can create menues sub menues using SE41 .. with your program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 23:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233602#M140036</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-03-20T23:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sub-menu item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233603#M140037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.  I will try your suggestions.  Why doesn't SAP let you create a sub-menu in the same place as the regular menu?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KP&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2006 23:54:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233603#M140037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-20T23:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sub-menu item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233604#M140038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.henrikfrank.dk/abapexamples/ABAP%20objects%20and%20controls/toolbar_control.htm" target="test_blank"&gt;http://www.henrikfrank.dk/abapexamples/ABAP%20objects%20and%20controls/toolbar_control.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 01:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233604#M140038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T01:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sub-menu item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233605#M140039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kingsley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose your doubt is how to create a sub-menu in the output list. You can do that by using the statement&lt;/P&gt;&lt;P&gt;SET PF-STATUS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so write in the program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'MYMENU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can do in 2 methods.&lt;/P&gt;&lt;P&gt;1) double click on 'MYMENU'. It will go Menu Painter.&lt;/P&gt;&lt;P&gt;There will be Menu bar, Application toolbar , Function keys.&lt;/P&gt;&lt;P&gt;Click on Menu bar.&lt;/P&gt;&lt;P&gt;Create a Menu , say Menu1. Double click on it and you usually give the FUNCTION CODE &amp;amp; TEXT for creating a menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in this case, you shouldn't give the Function Code.&lt;/P&gt;&lt;P&gt;Just write the text and double click . Now a new menu with Function Code and Text comes. That is it..&lt;/P&gt;&lt;P&gt;Just Give the Function Code and Texts.&lt;/P&gt;&lt;P&gt;Save it and activate it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) goto se41 and give the name of the program.&lt;/P&gt;&lt;P&gt;You will be go to Menu Painter.Rest of the steps are same as 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program, you should write as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;write 'List'.&lt;/P&gt;&lt;P&gt;set pf-status 'MEN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'FC2'.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is solved.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sylendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 04:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233605#M140039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T04:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sub-menu item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233606#M140040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sylandra, I will try your suggestion either tonight(21/03/06) or tormorrow.  I have school at night and I will finish early on Wednesday.  Don't worry I will put your points.  Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KP&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2006 01:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233606#M140040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-22T01:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a sub-menu item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233607#M140041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everyone for your suggestions.  Problem solved with Sylendra's solution.  I used the first one.  I will try the second one in another program so I can have the experience of doing both.  Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KP&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2006 01:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-sub-menu-item/m-p/1233607#M140041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-23T01:58:04Z</dc:date>
    </item>
  </channel>
</rss>

