<?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: Push Button on Output Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094952#M979216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Thanks for the reply, but I am using ALV to display the final report, I have followed all the steps but not getting the required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how I can do this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; V.K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 14:23:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T14:23:50Z</dc:date>
    <item>
      <title>Push Button on Output Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094948#M979212</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;I am having a requirement in which, I need to display the report, in the output screen I should  have a push button which when pressed the report output should be stored in the Application Layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;  V.K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 13:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094948#M979212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button on Output Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094949#M979213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create push button in the output list. You have to use SET PF-STATUS statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just follow these stepts for &lt;STRONG&gt;creation of PUSH BUTTON&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. write SET PF-STATUS 'TEST'.&lt;/P&gt;&lt;P&gt;2. double click on TEST.&lt;/P&gt;&lt;P&gt;3. It will ask you to create status object. click on YES.&lt;/P&gt;&lt;P&gt;4. give the short description and press enter.&lt;/P&gt;&lt;P&gt;5. next screen you will find three things like... MENU BAR, APPLICATION TOOL BAR and FUNCTION KEYS.&lt;/P&gt;&lt;P&gt;6. click on the down arrow that appears next to APPLICATION TOOL BAR.&lt;/P&gt;&lt;P&gt;7. in the items, in first box write your name and press down the text. one popup box will come. press enter.&lt;/P&gt;&lt;P&gt;8. give the function text and press enter.&lt;/P&gt;&lt;P&gt;9. assign key for your push button. and press enter.&lt;/P&gt;&lt;P&gt;10. press enter and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and run your program. you will get push button on output list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding event for the PUSHBUTTON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the pushbutton use an sy-ucomm ie SAVE to appln toolbar&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 'SAVE'.&lt;/P&gt;&lt;P&gt;write your code here to save in the appln server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Raj on Jun 26, 2008 7:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 14:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094949#M979213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T14:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button on Output Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094950#M979214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put a push-button on the application tool bar using &lt;/P&gt;&lt;P&gt;set pf-status statement: &lt;/P&gt;&lt;P&gt;See example program: demo_list_menu_painter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then in the at user-command section, write the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT USER-COMMAND.
  CASE sy-ucomm.
    WHEN 'CLICK'.
open dataset &amp;lt;filename&amp;gt; for output in text mode.
loop at itab.  "Itab is the table that is displayed as the list
concatenate itab-field1 itab-field2 itab-field3 into v_string.
tranfer v_string to &amp;lt;filename&amp;gt;.
endloop.
close dataset &amp;lt;filename&amp;gt;.
  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 14:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094950#M979214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T14:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button on Output Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094951#M979215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;First create one PF-STATUS.&lt;/P&gt;&lt;P&gt;and then handle the button by the event  at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;*******&lt;STRONG&gt;Reward Point if helpful&lt;/STRONG&gt;*********&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 14:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094951#M979215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T14:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button on Output Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094952#M979216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Thanks for the reply, but I am using ALV to display the final report, I have followed all the steps but not getting the required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how I can do this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt; V.K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 14:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094952#M979216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T14:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button on Output Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094953#M979217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Set the PF-STATUS and add one Fcode at the application toolbar it will come as Button.&lt;/P&gt;&lt;P&gt;Then use Event AT USER-COMMAND and write your code for storing the list ouput i.e. internal table into an file on application server i.e. using OPEN DATASET Statement.&lt;/P&gt;&lt;P&gt;you will find example on this in SAP also just going to F1 help on Open dataset statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 14:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-on-output-screen/m-p/4094953#M979217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T14:32:00Z</dc:date>
    </item>
  </channel>
</rss>

