<?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: Add button on window in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134573#M448963</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;SET PF-STATUS is used for defining menu in the program and screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that first you need to create the GUI Status for the program in which you are going to use the GUI Status....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI Status contains the Menubar , Standard Toolbar &amp;amp; Application Toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create it by this way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE80&lt;/P&gt;&lt;P&gt;Create Program&lt;/P&gt;&lt;P&gt;Right Click on Program &lt;/P&gt;&lt;P&gt;Create --&amp;gt; GUS Status...&lt;/P&gt;&lt;P&gt;Give Name of that GUI Status.. ( Further it will be useful in the program )&lt;/P&gt;&lt;P&gt;Now it opens the window where you can design your own menu &amp;amp; toolbar...&lt;/P&gt;&lt;P&gt;Design it...&lt;/P&gt;&lt;P&gt;Now save and activate it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now come back to your program (ABAP Editor )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the first statement like below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'MENU1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here MENU1 is the name of the GUI status which you created from SE80..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can handle the user command here using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'SE11'.&lt;/P&gt;&lt;P&gt;call transaction 'SE11'.&lt;/P&gt;&lt;P&gt;when 'NEXT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Some logic...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this links for more information and sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba34635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba34635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/sapfans/alex.htm" target="test_blank"&gt;http://www.sapfans.com/sapfans/alex.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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>Thu, 29 Mar 2007 17:18:19 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-03-29T17:18:19Z</dc:date>
    <item>
      <title>Add button on window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134571#M448961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am creating window with selection parameters. When this window is displayed i am getting some of the SAP standard buttons like check save cancel etc. I want to add one extra button at the bottom. Is it feasible ? If yes how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 17:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134571#M448961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T17:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add button on window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134572#M448962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a dialog or report style program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 17:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134572#M448962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T17:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add button on window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134573#M448963</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;SET PF-STATUS is used for defining menu in the program and screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that first you need to create the GUI Status for the program in which you are going to use the GUI Status....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI Status contains the Menubar , Standard Toolbar &amp;amp; Application Toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create it by this way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE80&lt;/P&gt;&lt;P&gt;Create Program&lt;/P&gt;&lt;P&gt;Right Click on Program &lt;/P&gt;&lt;P&gt;Create --&amp;gt; GUS Status...&lt;/P&gt;&lt;P&gt;Give Name of that GUI Status.. ( Further it will be useful in the program )&lt;/P&gt;&lt;P&gt;Now it opens the window where you can design your own menu &amp;amp; toolbar...&lt;/P&gt;&lt;P&gt;Design it...&lt;/P&gt;&lt;P&gt;Now save and activate it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now come back to your program (ABAP Editor )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the first statement like below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'MENU1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here MENU1 is the name of the GUI status which you created from SE80..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can handle the user command here using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'SE11'.&lt;/P&gt;&lt;P&gt;call transaction 'SE11'.&lt;/P&gt;&lt;P&gt;when 'NEXT'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Some logic...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this links for more information and sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba34635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba34635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/sapfans/alex.htm" target="test_blank"&gt;http://www.sapfans.com/sapfans/alex.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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>Thu, 29 Mar 2007 17:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134573#M448963</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-29T17:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add button on window</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134574#M448964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;  If u want the button on the toolbar then declare it in PF Status. If you want the button on a  dialog screen, then in the screen painter, drag and drop the push button and assign a Function code to it. If you want it on a normal selection screen, then use the declaration SELECTION-SCREEN PUSHBUTTON....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2007 17:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-button-on-window/m-p/2134574#M448964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-29T17:23:27Z</dc:date>
    </item>
  </channel>
</rss>

