<?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: Reg: Pushbutton in interactive report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344251#M1230798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the code here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[pushbuttons in selection screen|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navigate on tree in left side in the link to get pushbutton on application toolbar also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 05:18:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-11T05:18:53Z</dc:date>
    <item>
      <title>Reg: Pushbutton in interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344246#M1230793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create the push button for Interactive reporting , please explain?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Narasimha Rao.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 05:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344246#M1230793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T05:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Pushbutton in interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344247#M1230794</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;use PF-STATUS to have the Push Button in the interactive reports.&lt;/P&gt;&lt;P&gt;While using ALV FM  use the I_PF_STATUS parameter&lt;/P&gt;&lt;P&gt;Check the demo program for ALV using OOP's   BCALV_GRID_08&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 05:12:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344247#M1230794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T05:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Pushbutton in interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344248#M1230795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create button in  gui status.&lt;/P&gt;&lt;P&gt;make it disablein pbo&lt;/P&gt;&lt;P&gt;Choose user command in grid display .&lt;/P&gt;&lt;P&gt;and write the logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 05:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344248#M1230795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T05:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Pushbutton in interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344249#M1230796</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;Test Bellow Sample Code Hope will Solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS pmy TYPE spmon.

SELECTION-SCREEN PUSHBUTTON 47(10) nbutton USER-COMMAND next VISIBLE LENGTH 3.
SELECTION-SCREEN PUSHBUTTON 44(15) pbutton USER-COMMAND previous VISIBLE LENGTH 3.

AT SELECTION-SCREEN.

  IF pmy+4(2) &amp;gt; 12 OR pmy+4(2) &amp;lt; 1.
    MESSAGE 'DATE is not Valid' TYPE 'E'.
  ENDIF.

  CASE sy-ucomm.
    WHEN 'NEXT'.
      ADD: 1 TO pmy+4(2).
      IF pmy+4(2) &amp;gt; 12.
        ADD: 1 TO pmy+0(4).
        pmy+4(2) = 1.
      ENDIF.
    WHEN 'PREVIOUS'.
      SUBTRACT: 1 FROM pmy+4(2).
      IF pmy+4(2) &amp;lt; 1.
        SUBTRACT: 1 FROM pmy+0(4).
        pmy+4(2) = 12.
      ENDIF.
  ENDCASE.

  CASE sy-ucomm.
    WHEN 'NEXT'.
      LOOP AT SCREEN.
        IF screen-name = 'NBUTTON'.
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    WHEN 'PREVIOUS'.
      LOOP AT SCREEN.
        IF screen-name = 'PBUTTON'.
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    WHEN OTHERS.
  ENDCASE.

START-OF-SELECTION.

INITIALIZATION.

*  pmy = sy-datum+0(6) - 1.
  pmy = sy-datum.
  IF pmy+4(2) &amp;lt; 1.
    SUBTRACT: 1 FROM pmy+0(4).
    pmy+4(2) = 12.
  ELSEIF pmy+4(2) &amp;gt; 12.
    ADD: 1 TO pmy+0(4).
    pmy+4(2) = 1.
  ENDIF.

  CALL FUNCTION 'ICON_CREATE'
    EXPORTING
     name                        = 'ICON_NEXT_VALUE'
*   TEXT                        = ' '
     info                        = 'Next'
     add_stdinf                  = 'X'
    IMPORTING
     RESULT                      = nbutton
* EXCEPTIONS
*   ICON_NOT_FOUND              = 1
*   OUTPUTFIELD_TOO_SHORT       = 2
*   OTHERS                      = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

  CALL FUNCTION 'ICON_CREATE'
    EXPORTING
     name                        = 'ICON_PREVIOUS_VALUE'
*   TEXT                        = ' '
     info                        = 'Previous'
     add_stdinf                  = 'X'
    IMPORTING
     RESULT                      = pbutton
* EXCEPTIONS
*   ICON_NOT_FOUND              = 1
*   OUTPUTFIELD_TOO_SHORT       = 2
*   OTHERS                      = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reply if any Issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 05:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344249#M1230796</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-03-11T05:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Pushbutton in interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344250#M1230797</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;use SET PF-STATUS  &amp;lt;Status name&amp;gt; should be in capital letters&lt;/P&gt;&lt;P&gt;command to create a push button on the application toolbar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramakrishna Pathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 05:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344250#M1230797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T05:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Pushbutton in interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344251#M1230798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the code here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[pushbuttons in selection screen|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navigate on tree in left side in the link to get pushbutton on application toolbar also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 05:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344251#M1230798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T05:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Pushbutton in interactive report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344252#M1230799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As answered above you need to use PF-STATUS to create customized GUI status. Please check [this link|http://help.sap.com/saphelp_nw04/helpdata/en/d1/801ce8454211d189710000e8322d00/frameset.htm] to play with menu painter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;~Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 05:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-pushbutton-in-interactive-report/m-p/5344252#M1230799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-11T05:19:07Z</dc:date>
    </item>
  </channel>
</rss>

