<?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: Pushbutton in reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652118#M1094710</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 the pf-status after start-of-selectione event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex.:&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on 'XYZ' and it will navigate you to GUI status for a screen. In this, under 'Application Toolbar' add the button name and set its function code and activate it.&lt;/P&gt;&lt;P&gt;Also set function code for BACK, EXIT and CANCEL under function keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then AT-USER COMMAND event, on the basis of OK_CODE(SY-UCOMM) perform the action that you want for that pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also pls check this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1224299"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Saba Sayed on Oct 17, 2008 9:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2008 07:06:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-17T07:06:42Z</dc:date>
    <item>
      <title>Pushbutton in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652114#M1094706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;  I have a scenario where i need to introduce a push button in my interactive reporting. Can anyone please help me with the code in step by step procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Abhishek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652114#M1094706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T06:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652115#M1094707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;You have posted the thread wrong place. You should have posted the same thread under 'ABAP General'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways where do you want the pushbutton? on the application toolbar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:48:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652115#M1094707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T06:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652116#M1094708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saba.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Oh am sorry about my wrong place of posting my question. Ya i want the push  button in my application tool bar, and under which event should i write the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652116#M1094708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T06:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652117#M1094709</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 you want in Selection Screen use this syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION SCREEN PUSHBUTTON [/]pos(len) push &lt;/P&gt;&lt;P&gt;                            USER-COMMAND fcode [MODIF ID key].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and on Application Tool bar, create a Menu in SE41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under AT USER-COMMAND you have to write code, for the function code you specified in Menu painter. Using CASE and ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------" /&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 'MARC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT * FROM marc WHERE matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;        WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; sy-lsind.&lt;/P&gt;&lt;P&gt;        WRITE: / marc-matnr,&lt;/P&gt;&lt;P&gt;                25 marc-werks,&lt;/P&gt;&lt;P&gt;                40 marc-pstat .&lt;/P&gt;&lt;P&gt;      ENDSELECT.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        WRITE:/ 'NO RECORDS AVAILABLE'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'MAKT'.&lt;/P&gt;&lt;P&gt;      SELECT * FROM makt WHERE matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;        WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; sy-lsind.&lt;/P&gt;&lt;P&gt;        WRITE: / makt-matnr,&lt;/P&gt;&lt;P&gt;                25 makt-maktx,&lt;/P&gt;&lt;P&gt;                70 makt-spras.&lt;/P&gt;&lt;P&gt;      ENDSELECT.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        WRITE:/ 'NO RECORDS AVAILABLE'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'MARD'.&lt;/P&gt;&lt;P&gt;      WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; sy-lsind.&lt;/P&gt;&lt;P&gt;      SELECT * FROM mard WHERE matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;        WRITE: / mard-matnr,&lt;/P&gt;&lt;P&gt;                25 mard-lgort,&lt;/P&gt;&lt;P&gt;                40 mard-werks,&lt;/P&gt;&lt;P&gt;                55 mard-pstat .&lt;/P&gt;&lt;P&gt;      ENDSELECT.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        WRITE:/ 'NO RECORDS AVAILABLE'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;    WHEN 'MARM'.&lt;/P&gt;&lt;P&gt;      WRITE: 'UNIT OF MEASURE DETAILS'.&lt;/P&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;HR originaltext="------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the document for further help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/content.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;Bala Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Krishna on Oct 17, 2008 12:29 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Krishna on Oct 17, 2008 12:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 06:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652117#M1094709</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-10-17T06:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652118#M1094710</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 the pf-status after start-of-selectione event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex.:&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on 'XYZ' and it will navigate you to GUI status for a screen. In this, under 'Application Toolbar' add the button name and set its function code and activate it.&lt;/P&gt;&lt;P&gt;Also set function code for BACK, EXIT and CANCEL under function keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then AT-USER COMMAND event, on the basis of OK_CODE(SY-UCOMM) perform the action that you want for that pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also pls check this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1224299"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saba&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Saba Sayed on Oct 17, 2008 9:08 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 07:06:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652118#M1094710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T07:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652119#M1094711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link.It also have a demo on how to use pushbuttons&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Goodluck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 09:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652119#M1094711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T09:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652120#M1094712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Push buttons in reports&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 04:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-reports/m-p/4652120#M1094712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T04:55:23Z</dc:date>
    </item>
  </channel>
</rss>

