<?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: Button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374793#M810342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is ABAP program flow.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create screen in Module pool program( tcode SE51) and add required buttons  to that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM DEMO_DYNPRO_PUSH_BUTTON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: OK_CODE LIKE SY-UCOMM,&lt;/P&gt;&lt;P&gt;      SAVE_OK LIKE OK_CODE,&lt;/P&gt;&lt;P&gt;      OUTPUT(8) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT.&lt;/P&gt;&lt;P&gt;  SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;  CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;  CASE SAVE_OK.&lt;/P&gt;&lt;P&gt;    WHEN 'NEXT_SCR'.&lt;/P&gt;&lt;P&gt;       CALL SCREEN 200.----you have create this&lt;/P&gt;&lt;P&gt;                                         screen&lt;/P&gt;&lt;P&gt;      WHEN 'PROG_BUT'.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;         SUBMIT PROGRAM 'Your Program name'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This in screen flow logic is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  MODULE USER_COMMAND_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2008 07:17:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-31T07:17:36Z</dc:date>
    <item>
      <title>Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374791#M810340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this button at the screen painter. Upon clicking on the button, it will go to another screen or program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any code example for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 07:07:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374791#M810340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T07:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374792#M810341</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;in screen painter double click on that  button and assign a Fcode (say PUSH)with it.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in flow logic of that screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;case sy-ucomm.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;when 'PUSH'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;module call_screen.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endcase.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on call_screen module and create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODULE call_screen&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;call screen &amp;lt;screen no&amp;gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;endmodule.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Will.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 07:12:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374792#M810341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T07:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374793#M810342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is ABAP program flow.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create screen in Module pool program( tcode SE51) and add required buttons  to that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM DEMO_DYNPRO_PUSH_BUTTON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: OK_CODE LIKE SY-UCOMM,&lt;/P&gt;&lt;P&gt;      SAVE_OK LIKE OK_CODE,&lt;/P&gt;&lt;P&gt;      OUTPUT(8) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT.&lt;/P&gt;&lt;P&gt;  SAVE_OK = OK_CODE.&lt;/P&gt;&lt;P&gt;  CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;  CASE SAVE_OK.&lt;/P&gt;&lt;P&gt;    WHEN 'NEXT_SCR'.&lt;/P&gt;&lt;P&gt;       CALL SCREEN 200.----you have create this&lt;/P&gt;&lt;P&gt;                                         screen&lt;/P&gt;&lt;P&gt;      WHEN 'PROG_BUT'.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;         SUBMIT PROGRAM 'Your Program name'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This in screen flow logic is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  MODULE USER_COMMAND_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 07:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374793#M810342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T07:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374794#M810343</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;In the PBO of your program set the pf status SET PF-STATUS 'STATUS100'.&lt;/P&gt;&lt;P&gt;double click on the STATUS100 ,another window will be opened for maintaining status of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there you will have 3 options:&lt;/P&gt;&lt;P&gt;1.Menu bar&lt;/P&gt;&lt;P&gt;2.Application tool Bar&lt;/P&gt;&lt;P&gt;3.Function keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Menu bar is the one where u find file,edit etc .In the menu bar u can define ur desired menu.system and help are default in the menu bar.you can add any number of menu and sub menus to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.In the application tool bar,u can create any buttons for exit or back.just define the button and write the functionality of the button in the PAI of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.The function keys are presnet for every output window(in disable mode),if you define the functionality,those keys will be activated.u have to write code for that in the PAI of your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer the first example in tthe ABAPHELPDOC . That programme is same as you are asking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you knwo the path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to SE38 then select the following path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment-&amp;gt; Examples-&amp;gt; ABAPexamples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/ireports.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/ireports.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abapprogramming.blogspot.com/2007/11/abap-multiple-interactive-report-sample_12.html" target="test_blank"&gt;http://abapprogramming.blogspot.com/2007/11/abap-multiple-interactive-report-sample_12.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward Points if found helpfull..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chandra Sekhar.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 07:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374794#M810343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T07:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374795#M810344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir ,&lt;/P&gt;&lt;P&gt;Please have a look below .Hope it is suitable and simpler solution for your question.&lt;/P&gt;&lt;P&gt;Please do reward if useful.&lt;/P&gt;&lt;P&gt;Thankx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create pushbutton in screenpainter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;okcode = sy-ucomm.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'PUSH'.&lt;/P&gt;&lt;P&gt;module call_screen.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on call_screen module and create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE call_screen.&lt;/P&gt;&lt;P&gt;call screen 100.  (Give any screen no.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 07:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/button/m-p/3374795#M810344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-31T07:25:16Z</dc:date>
    </item>
  </channel>
</rss>

