Question on refresh button

Hello All,
I have refresh button on application tool bar of the report output. The report has to be refreshed ( re-executed) once the refresh button is clicked. Just like refresh button on MD04. Can somebody please help me how do i acieve it. Thank you in advance.

First,  I would add one line of code to the example above.
START-OF-SELECTION.
PERFORM SHOW_LIST.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'REFR'. PERFORM SHOW_LIST.
ENCASE.
FORM SHOW_LIST.
<b>sy-lsind = sy-lsind - 1.</b>
SELECT * FROM TABLE INTO TABLE ITAB WHERE ....
LOOP AT ITAB.
WRITE: / ITAB.
ENDLOOP.
ENDFORM.
This will keep your program from dumping after refreshing 20 or so times. 
If you would like to use the SUBMIT,  then all of your report logic as well as the refresh logic will need to be in the sumbmitted program.  This doesn't really make sense to me.  If you are doing all that, then just have one program, like the above example.
Regards,
Rich Heilman

Similar Messages

  • How to add Refresh button

    Hello...
    This is my code. How to add REFRESH button in this code
    package sample.view;
    import javax.faces.event.ActionEvent;
    public class Student {
        public Student() {
            super();
        private String name;
        private String id;
        private String course;
        public void setName(String name) {
            this.name = name;
        public String getName() {
            return name;
        public void setId(String id) {
            this.id = id;
        public String getId() {
            return id;
        public void setCourse(String course) {
            this.course = course;
        public String getCourse() {
            return course;
        public void dosubmittoActionisterner() {
            // Add event code here...
            System.out.println(getName() + " " + getId() + " " + getCourse());
        public void dorefershActionlistener(ActionEvent actionEvent) {
            // Add event code here...

    Hi,
    is this a home work you are working on? Even as a student you should be able to express questions more clearly.
    Frank

  • My Back and Refresh buttons are not registering/working, how do I fix it?

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/813027]''
    On about 80% of the pages I am on, my back button and my refresh button will not work. The back button will not recognize that I have been to previous pages in the same tab, and my refresh button will just do nothing (the shortcut keys 'backspace' and 'f5' also do nothing). Some pages, like this one, work fine, but most others do not.
    I can't think of what it is that is causing it.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    See:
    * [[Troubleshooting extensions and themes]]
    This can also be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Refresh button deleted by mistake

    First, my thanks to Dave Sawyer for answering my help plea so quickly and directing me here to ask my question. My question is how do I get the refresh button (which I accidently deleted) back on Safari?
    Thank's in advance, Tessie2

    Hi again, Tessie,
    Go to the View menu in Safari and select the "Customize Toolbar" command. In the window that will open, locate the Stop/Reload icon and drag it to the Safari toolbar (you can put it anywhere on the toolbar that you wish).
    For future reference, this isn't the best place to ask a question about Safari (the example I gave was if you had a question about iTunes). These forums are subject-specific to try and keep things organized, so it's generally best to ask a question in the forum that's closest to the subject of your question. If you look at the main Discussions page:
    http://discussions.apple.com/index.jspa
    You'll see a lot of forums for different topics. Try to pick the one closest to the topic of your question. It helps keep the forums from becoming a "free for all" and will help people who have knowledge about your question see it.
    Regards.

  • I get this message when I try to open my google shared docs this week: "A browser error has occurred. Please hold the Shift key and click the Refresh button to try again." - but that click/refresh doesn't work either. What's up?

    # Question
    I get this message when I try to open my google shared docs this week: "A browser error has occurred. Please hold the Shift key and click the Refresh button to try again." - but that click/refresh doesn't work either. What's up?

    The backend end is in serious pain....on many levels.
    Try this: Connection Problems Form

  • I canot find the refresh button, i have tried reload ai have gone to cusomize tool bar and there is no refresh or reload icon, i have two games i cannot play because i cant refresh my page

    i have written this question 10 different ways i am ready to go back to my old browser. where is the refresh button i cant play my games because i cant refresh the page, no it is not at the end of my address bar, no it is not in the customize toolbar section and no the reload button does not work

    You can try:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf
    Click the Refresh button on the Navigation Toolbar or press "Ctrl + R" or F5 to reload a web page.
    Reload a web page and bypass the cache with:
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • Enable Refresh Button/Menu in the Generated Report

    Dear Experts,
    I have created a program that generates report based on the user defined parameters.
    My question is, how do I enable the Refresh button/menu in the generated report so that user
    won't have to back to the parameter screen and re-execute?
    Thanks.
    Kath

    How is the output shown on the screen ?
    With Write statements it won't be possible, but with an ALV it is. You need to add a button to the application toolbar, usually it is present in the standard PF-STATUS, but if not then simply add one.
    Now when you capture the user command in the subroutine for handling user commands which looks like this,
    FORM user_command USING r_ucomm LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
    Follow these steps
    1. Refresh the output table that you have passed to the ALV.
    2. Fetch all the data again and populate the output table.
    3. Set the rs_selfield-refresh = 'X'. , this structure is passed to the user_command subroutine as shown above.
    regards,
    Advait

  • Need  java code to perform refresh button action using swings and awt

    i need java code to perform refresh button action using swings and awt.please help me

    Wait ! Noboby ? OK, I'll do it
    public void onBtnAction ()
        if (!fresh)
            refresh ();
    }Seriously, did you expect anyone to answer such a cryptic question ?

  • Forward/back/refresh buttons on chromium

    This is extremely trivial, but could someone help me replace the icons for the forward, back and refresh buttons in chromium? I am using the elementary Xfce icons and these look really ugly, like Internet Explorer circa 1995 or something. I would like to replace them with the ones from the chromium "classic" theme, i.e. simple arrows. But I don't want to turn on the rest of the chromium classic theme.
    I can't find the relevant images among chromium's files. I am looking here in particular:
    /usr/lib/chromium/resources/inspector/Images
    But I don't see them...
    Thanks!

    Actually, on second thought, I guess that would involve changing the icons in question (forward/back) for all other apps as well, and I don't really want to do that. So maybe I will just have to use a chromium theme instead...

  • How to find  REFRESH  Button code in CFolder Brower (Backend BSP Applica)

    Hi ,
    Please let me know how  to find code  for  REFRESH button of  cFolder browser, its  backend is BSP  Application CFX_RFC_UI.
    Thanks,
    Ravi

    Hi Michael,
    thank you for your advice! This problem is solved...
    ...but I have another issue. Ive implemented 2 editable fields in my popup. The user should fill that fields with context and that context should be processed in the calling view of my popup.
    My question is how to transfer these information from my popup to my calling view or method?
    I tried the following...
          lv_context_node ?= m_popup->get_context_node( 'QUICKACT' ).
          IF lv_context_node IS NOT INITIAL.
            lv_text = lv_context_node->get_date( attribute_path = '' ).
          ENDIF.
    But it doesnt work! The context node object is always empty/initial.
    Thank you!
    PS: Another possibility could be that the object / node of the calling view is transferred to the pop-up in order to process it there.
    Edited by: Marcus Findeisen on Feb 22, 2011 12:13 PM

  • How do I get Firefox to view the latest version of webpages when I return, instead of having to click on the refresh button?

    I couldn't find the option to choose on Firefox to view the latest version of web pages automatically each time I return. I've been needing to hit the refresh button.

    You can make Firefox always reload a page by changing a hidden preference.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # In the filter box type '''frequency''' to bring up a small number of preferences
    # Double-click on the preference '''browser.cache.check_doc_frequency''' and change its value to '''1'''
    For more details on that preference see http://kb.mozillazine.org/Browser.cache.check_doc_frequency

  • Team Foundation Server 2013 Refresh button not refreshing Custom Control values in TFS Templates

    Hi all,
    We have recently migrated from Team Foundation Server 2010 to Team Foundation Server 2013 Update 2. In TFS 2013 template design we found the refresh form control (inbuilt control of TFS) which is unable to refresh the custom control values that is built
    by us. Is there any way that we can programatically modify to enable the refresh button work with custom control.
    Please find below screenshot link for reference.
    http://postimg.org/image/z4mo3t8r9/
    SaranRam

    Hi SaranRam,
    The refresh button is there to allow the data that populated the work item to be refreshed. The data that you want refreshed is part of the rendering of the form and would only be refreshed when the browser refreshes. Refer to MrHinsh's reply in this
    page.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why is it when I go to a website, it shows a blank page until I hit the refresh button?

    When I visit any website, at first, it shows nothing and stops loading. It is not until I hit the refresh button that the site will load. It is like I have to visit the page twice before it works. I have checked my connections, inside and out. I have called my ISP and had them run some tests. I have downloaded Firefox again and re-installed. I have also cleared my cookies/cache completely and the problem persists.

    Don't know. What kind of player?
    Take a look at this thread: http://discussions.apple.com/message.jspa?messageID=8707961#8707961
    The subject is iPods but something there may help.

  • My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is a

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [/forum/1/688252]
    Thanks - c</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is always closed. I need one on one help. Please reply with resolution.
    == This happened
    ==
    Every time Firefox opened
    == two or three months ago
    ==
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 (BT-canvas) Firefox/3.6.3 GTB7.0 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdnu
    *npdnupdater2
    *Coupons, Inc. Coupon Printer DLL
    *Coupons, Inc. Coupon Printer Plugin
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *6.0.12.448
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
    *Shockwave Flash 10.0 r45
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.50106.0
    *My Web Search Plugin Stub for 32-bit Windows
    *Google Updater pluginhttp://pack.google.com/
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll

    * If the menu bar is hidden then press and hold the Alt key down, that should make the Menu bar appear (Firefox 3.6 on Windows) (see [[Menu bar is missing]]).
    * Make sure that you have the ''Navigation Toolbar'' and other toolbars visible: View > Toolbars .
    * If items are missing then see if you can find them in the View > Toolbars > Customize window.
    * If you see the item in the Customize window then drag it back from the Customize window to the Navigation toolbar.
    * If you do not see that item then click the Restore Default Set button in the View > Toolbars > Customize window.
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • Disable/Hide the Refresh Button in Child report

    Hi All,
    Our Environment is BOXI-R2;
    We have a Master Report calling a Child Report (based on Open Document);
    Our requirement is to hide the" Refresh Button "in the child report Layout
    we tried using "hideRefresh=true"
    but the child report is not responding to the above clause
    Help us in this,
    if this is a BUG in XI R2, let us know the Service Pack details
    Thanks

    Joe , Thanks for your Inputs..
    our master report has the aggregated Measure , when the user clicks on this , it has to open a child report (with paramters from master report).
    We are aware of customizing "viewer.js " file (under BO install home) with "refreshDocIcon = null".
    But is this the only solution to hide the refresh button in the child report ?
    SInce its already a PRODUCTION environment, our customer won't allow to change the standard settings of the product.
    Thanks

Maybe you are looking for

  • Macbook Pro issues - can anyone tell if 'normal' or faults

    I have some issues with my new 15" 2.66 unibody (non-removable batery) MBP. I'm told by the retailer that they are all normal/common - i'd like see if this is actually the case or they fobbing me off. 1.) Something 'lose' inside the case around hard

  • Bug? Images look different in photoshop

    Hi, Am hoping somebody can help me as I must be doing something really stupid here. I'm currently evaluating various workflow products, and really like Lightroom but find that whenever I import an image into LR the tones, particular shadow tones, loo

  • X230T display dims after BIOS start

    MY X230T was originally supplied with Windows 7 Pro. Apparently as a result of twiddling with the power management options on that platform, the display dims significantly between starting the BIOS and logging in to Windows. Specifically: 1. The BIOS

  • Color Profiles

    When I need to get a photo book printed from an online photo book printer, I first have to rasterize all of my pages from InDesign. To do this I export a high res PDF and then rasterize each page in photoshop. My question is about the sRGB color spac

  • Java system error: call FM RSRD_X_PRODUCE_PROXY

    Hi Gurus, When i tried to execute event data change process type in BI component I am getting below error. It clearly says missing password. I haven't understood what password is missing for which user. we checked all user certificates all valid. Bel