<?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: Refresh Button on the report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890589#M1326342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied a standard GUI. However that made things bad. the problem is the back, exit button all dosent work.In addition Since its a classical report i dont have the user command. the code for interactive so everything is at-line selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2009 18:07:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-09T18:07:39Z</dc:date>
    <item>
      <title>Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890581#M1326334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report. I need to add a refresh button to the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions,&lt;/P&gt;&lt;P&gt;Bob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890581#M1326334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890582#M1326335</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;Which kind of report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV? Dialog?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you need to repeat the logic where u select the data and show it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;START-OF-SELECTION.
  
   PERFORM SHOW_DATA.

AT USER-COMMAND.

CASE SY-UCOMM.
  WHEN 'REFR'. PERFORM SHOW_DATA.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890582#M1326335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890583#M1326336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using ALV then either you can use the "REFRESH" button in ALV toolbar and you can handle the same in PAI or at user command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890583#M1326336</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-07-08T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890584#M1326337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not an ALV. I will try the option and get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890584#M1326337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T14:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890585#M1326338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also call the same report program again using SUBMIT statement...in AT-USER COMMAND event..&lt;/P&gt;&lt;P&gt;This can also do the work....but not needed as said in the earlier posts.&lt;/P&gt;&lt;P&gt;IF using ALV...you can call refresh_table_display method...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 14:46:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890585#M1326338</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2009-07-08T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890586#M1326339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not an ALV report.&lt;/P&gt;&lt;P&gt;Do we have any standard report whaihc does this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied a GUI from a standard report but was wondering where do i call the PF status in the program. I mean where do I cwrite the code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of this ould be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 17:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890586#M1326339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T17:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890587#M1326340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At PF is a event. You can write it anywhere you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this code in abap docu, you can refer to this code as example of At PF event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA NUMBER LIKE SY-INDEX. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  DO 9 TIMES. &lt;/P&gt;&lt;P&gt;    WRITE: / 'Row', (2) SY-INDEX. &lt;/P&gt;&lt;P&gt;    NUMBER = SY-INDEX. &lt;/P&gt;&lt;P&gt;    HIDE NUMBER. &lt;/P&gt;&lt;P&gt;  ENDDO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT PF8. &lt;/P&gt;&lt;P&gt;  CHECK NOT NUMBER IS INITIAL. &lt;/P&gt;&lt;P&gt;  WRITE: / 'Cursor was in row', (2) NUMBER. &lt;/P&gt;&lt;P&gt;  CLEAR NUMBER. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jacky.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 17:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890587#M1326340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T17:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890588#M1326341</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;Yo have to set the pf-status after start of selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
START-OF-SELECTION.
 
  SET PF-STATUS 'TEST'.

AT USER-COMMAND.
 
  CASE sy-ucomm.
 
    WHEN 'REFRESH'.
    logic.
ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhasarathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 17:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890588#M1326341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T17:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890589#M1326342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied a standard GUI. However that made things bad. the problem is the back, exit button all dosent work.In addition Since its a classical report i dont have the user command. the code for interactive so everything is at-line selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 18:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890589#M1326342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T18:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890590#M1326343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Copy this sample code try&lt;/P&gt;&lt;P&gt;As per your requirements change the Change toolbar button FUN1 to REFRESH&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report zars
  no standard page heading line-size 255.

data: fcode type table of sy-ucomm,
     wa_fcode type sy-ucomm.

start-of-selection.

  wa_fcode = 'FC2 '. append wa_fcode to fcode.
  wa_fcode = 'FC3 '. append wa_fcode to fcode.
  wa_fcode = 'FC4 '. append wa_fcode to fcode.
  wa_fcode = 'FC5 '. append wa_fcode to fcode.
  wa_fcode = 'PICK'. append wa_fcode to fcode.

  set pf-status 'TEST' of program 'DEMO_LIST_SET_PF_STATUS_1' excluding fcode.

  perform show_list.

at user-command.

  case sy-ucomm.
    when 'FC1'. perform show_list.
  endcase.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  SHOW_LIST
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
form show_list.

  sy-lsind = sy-lsind - 1.

  write : sy-uzeit.
endform.                    "SHOW_LIST
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 18:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890590#M1326343</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-07-09T18:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890591#M1326344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ARS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This really helps.&lt;/P&gt;&lt;P&gt;However i am stuck with the submit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN  :  BEGIN OF BLOCK blk1 WITH FRAME TITLE text-b01    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS    :     s_vbeln     FOR zdeldates-vbeln               .&lt;/P&gt;&lt;P&gt;               .                                       .&lt;/P&gt;&lt;P&gt;PARAMETERS        :        p_reject AS CHECKBOX                       .&lt;/P&gt;&lt;P&gt;                               .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN  :  END OF BLOCK blk1    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 19:24:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890591#M1326344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T19:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Button on the report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890592#M1326345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's your issue with submit ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 20:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-button-on-the-report/m-p/5890592#M1326345</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-07-09T20:19:26Z</dc:date>
    </item>
  </channel>
</rss>

