Screen automatic refresh on a CommandButton action

Hi,
I have made two functions on the Application Module of my project wich are called by 2 ComandButtons from the web page. One of functions create a new file on the table displayed on the page, I need that because that table must no be changed by the users, and must be filled automaticly.
The problems is when I press the button the row is create but there is no refresh on the screen, so y must to prees the "Go" button from the "Search" to get the row on the page table. How can I do the page refresh to be automatic?
Thanks
Tony

Hi Steven,
thank for you soon replay, but, where must I to add the executeQuery()? On the method of the application module I make a call to a PL/SQL proedure, so I create a PreparedStatement. I must to get another Statement to add the executeQuery() after the insert? I have tried to add the executeQuery method on that statement, but the screen is not refreshed.
ps = this.getDBTransaction().createPreparedStatement("{call PAQUETE_CAJA.ABRIR_CAJA()}", 0);
ps.execute();
ps.close();
Thanks
Tony

Similar Messages

  • UWL: No automatic refresh after completing workitem in iView

    Hi,
    our system is EP 6 SP2 P4 HF 7 with CM HF 6.
    We have configured a workitem launched by an individual iview - this works fine.
    For execution of this workitem we call SAP_WAPI_CREATE_EVENT and save values in simple_container. After this SWW_WI_ADMIN_COMPLETE is called to complete the workitem to be cleared from UWL inbox.
    If I refresh the tab manual all works fine - the completed workitem is not more there. But with automatic refresh this executed workitem is still listed.
    Do you have any idea what we are doing wrong?
    Configuration in uwl.standard:
      <Views>
        <View name="myWorkItemView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.DE9_TS99500153" columnOrder="detailIcon, subject, priority, creatorId, createdDate, dueDate" sortby="createDate:descend, priority:descend" tableDesign="STANDARD" visibleRowCount="20" headerVisible="yes" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="60" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" actionPosition="top">
    I appreciate your help,
    thanks in advance,
    Thorsten Bingmann

    Hi Ross,
    concerning our problem (no WI completion by auto refreshing UWL) we have yet no solution. SAP Support told us to configure the cache lifetime of UWL to smaller size, but alas this does not solve the problem.
    As you mentioned the blank webgui screen: I think this behaviour is by design. Calling an ITS transaction there's no other way to end the ITS session as of using the back or return button and get an end of session. The given status (WI new status: completed) indicates that UWL and ITS process the WI correct.
    A smarter way to execute the concerning WI ID is to configure it in the xml file as generic decision task. Then you'll get an inline rendered java iview with decision "accept" or "decline" and the new status will be shown in UWL. This will take place of (standard) ITS configuration. Please have a look at the HowTo Guide of UWL.
    Hope it helps,
    regards,
    Thorsten Bingmann

  • Automatic Refresh of Shopping Cart POWL

    We are running SRM 7.0.
    When a user accesses their POWL of shopping cart data, the POWL query is not automatically refreshed.  Is there a batch program or configuration setting that will allow a POWL query to be refreshed every time the user accesses that particular query?
    Thanks,
    Paul

    Hello,
    POWL is a static functionality, the refresh doesnt happen automatically. User must click on "refresh" button in order to get the screen refreshed.                                                                               
    There is the consulting note 1134640, which has a document SRM_POWL_RefreshClickOnQuery.pdf attached. This note implements the functionality to refresh the POWL when clicking on query name.                     
    If you want you can apply this note, but this is a consulting note, not the standard.                                                                  
    Kind regards,
    Ricardo

  • Automatic Refresh of Purchase Order Worklist (POWL) needed

    Hi,
    We are running SRM6.0 on EP7 SP14 Portal.
    After saving (hold) a newly-created shopping cart, the user must manually click "Refresh" to see the new shopping cart inside the Purchase Order Worklist (POWL).  Most casual users do not anicipate needing to do this Refresh.  They don't see the new cart, and they many times create a second duplicate cart.
    Shopping carts are created in a popup window above the POWL, and apparently there is no communcation back to the POWL to automatically refresh upon adding a new shopping cart.
    Is there a way to configure/change SRM6.0 such that it automatically invokes the POWL Refresh action after create a shopping cart?
    Thanks
    Kevin

    Hi
    Just try this
    A.  IF You have launched the shopping card POP-up from the WD which embeds POWL using POWL_FOLLOW_UP
    1 Add a public attribute in the component controller l_refresh_needed.
    2 When you create a shopping cart in pop-up you set the flag
    l_refresh_needed = abap_true.
    3 Now you must be having an outbound plug to POWL let's say plug1 from your WD view. You write a code in DOMODIFYView or DOAFTERACTION of the view which has the outbound plg.
    You need to check the flag l_refresh_needed and fire the same navigation plug plug1 to POWL with refreshq = 'X'.
    B. If you have launched the POP-up from the detail component of the POWL,
    then you must fire the event do_refresh which you get when you implement POWL_DETAIL_COMP_IF.
    but before firing do_refresh you have to clear the messages from the message manager and after refresh trigger you can again put the messages back into the message manager of WD.
    Let me know if it helps.
    Vineet

  • Automatic refresh of websites on Safari

    Hi,
    Safari on my iPhone does an automatic refresh of all websites every x minutes. This means:
    - all websites are refreshed
    - I am logged off from all websites, often need to start from the main website and click all the links + log in to get back where I have just been.
    - this happens both at the time of inactivity (say 15 min) but also during surfing the web. I am reading, and then bang - back to main screen with icons (haven't touched anything) and when I return to Safari it gets a major refresh
    How can I turn this off / assure I am not logged off all the time?

    No. Reading list is empty. I also tried clearing all Safari data files but it didn't change anything.

  • Stop the automatic refresh in web templates

    Hi,
    Is there an option to stop the automatic refresh of a webtemplate each time a user is doing is doing an action (filtering a value, drill down...).
    Thanks,
    Gabriel

    Hi Chandu,
    Thanks for your answer, But I didn't succeed to find this option. I check on the web template, the table, the filter pane, the navigation pane...
    Any suggestion?
    Thanks,
    Gabriel

  • Why my iPhone will touch the screen automatically, sometimes?

    I've got an iPhone 5s, I found it sometimes will touch the screen automatically while I didn't do anything. The first time I find his problem is in Ninja Rooftops, I noticed that it jumped lots of times by itself. And then I find this problem not just in the game, it's everywhere...
    Can I get my iPhone changed? It really bugs me!!!

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    If no joy...
    1)  Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Is there a way to automatically refresh a webpage in Firefox 3.6.10?

    hi there,
    I am hoping the Firefox team can help with a small problem, is there a way of automatically refreshing webpages within Firefox 3.6.10 and 4.06 beta? We are building an interesting website at the moment and the client is using Firefox 3.6.10to view the site. Each time they go onto the new website to see the changes we have done, they are shown old pages. We need to rectify this problem as quickly as possible, for our client without requesting that they refresh the page each time they go onto the site.

    You can do that 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 '''browser.cache''' 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

  • Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Time Machine on my iMac won't open iPhoto. It goes to desktop screen automatically. When I select User/Picture/Iphoto library it only brings up the preview page with the size of the folder. I can't get into the library to look for lost photos.

    Thank You. This helps me alot to get into the masters and to see events and photos in a utilitarian way, but it is not as easy as viewing the normal iphoto format to find photos.  Can I do something else or did I not do something right to not see normal iphoto in Time Machine ?

  • When I sign into or out of Gmail - many other pages automatically refresh. How do I stop this?

    I hate automated things, when it's NON consensual and it's part of some automated bullshit trip.
    I might have half finished texts on the other open tabs, or what ever, but it's MY bandwidth to chew up on things I see fit, not the people of Mozilla, or Google or whoever.
    And while the account page is gmail, that I am signing into or out of, the other pages are NOT google pages either.
    I think the designers of the "refresh / automatic refresh" should be shot - because the reason I have a PAGE (tab) open, is because I want to access THAT page, and not a later version of it...
    This auto-reload / refresh of some tabs absolutely annoys the piss out of me, because I did not ask for it, and there is NO apparently easy up front way to stop it from happening - which I also think is one of the best way to alienate users of a product - by building in a host of idiot functions with NO control over them.
    So how do i stop this from happening?

    ''the-edmeister [[#answer-690349|said]]''
    <blockquote>
    That may be happening for websites that participate in Google+. ''IOW, Google+ knows about a lot of things you use on the internet; like they're following you around.'' You may want to check those websites to verify that they are connected with the Google+ program, or not. ''In that case, my hypothesis is incorrect.''
    I think what happens is that you sign in at Gmail, which is a Google+ sign-in these days, and all the other web pages that participate in the Google+ program somehow "sense" that you have just logged into Google+ and reload their page to reflect that you are nowlogged into the Google+ program. Google+ was originally an "option" at Gmail, but that ended not to long after Google+ came about - like within 6 months or so.
    http://www.google.com/intl/en/+/learnmore/better/
    One solution is to stay logged into Google+ / Gmail all the time. Another is to transition away from Gmail over time and use a different web-mail platform instead; and eventually stop using Gmail altogether.
    </blockquote>
    Yeah this is sounding like "THE PROBLEM" and what drives it. However, the solutions you have offered are not "solutions", in that they do not "FIX" the issues, they merely circumvent or bypass them.
    Since I can't go punch Eric Schmitt on the nose for being a nazi prick, and send him the bill for wasting my internet data, I want to stop the collusive programming practices of the people from Mozilla and Google - from operating my computer, contrary to my mandates. i.e. It's my computer and I am paying for my bandwidth." - I have total say so about what I allow to go on, not anyone else.

  • I want to prevent open websites from automatically refreshing.

    I work with many tabs open at the same time during my work day. I wonder if the fact that they automatically refresh frequently is a factor in slowing Firefox. How can I disable the automatic refresh? I do not with to close and reopen as they all require logins and it takes too much time.

    Sorry, it looks that my reply above ended up in the wrong thread.
    I'm not aware of a way to prevent automatic refresh if the page uses JavaScript to achieve this.
    It is also possible to do this via a meta refresh tag.
    In some cases this extension can help.
    *RefreshBlocker: https://addons.mozilla.org/en-US/firefox/addon/refreshblocker/
    It doesn't work with refresh done via JavaScript as will be used in most cases these days.

  • Can you have a PDF fit on the viewer's screen automatically when exporting from InDesign CS4?

    Can you have a PDF fit on the viewer's screen automatically when exporting from InDesign CS4?

    If you were to upgrade to InDesign CS5 or CS5.5 and if you exported as Adobe PDF (Interactive), you could set the View settings for Page Layout and Zoom.
    While, as Jongware points out, its possible for individual users to override that option (Preferences > Page Display > Default Layout and Zoom), the number who will actually do that is actually very tiny.

  • Automatic refresh of photo order when changing photo titles in iPhoto 9.6

    I've just moved from an older version of iPhoto to 9.6.
    In the previous version, when you changed the title of a photo (within an event), the sort order of the photos was automatically and immediately updated.  In 9.6 it isn't - I have to do View - Sort Photos then select another sort criteria (e.g. date), then do this again for title, to get the photo order to refresh.
    Does anyone know if I am I stuck with this new (retrograde) behaviour, or if there's a way to get iPhoto 9.6 to automatically refresh the photo order?
    Otherwise, is there a keyboard shortcut for refreshing the photo order, or for changing the view - sort photos criteria?
    Thanks in advance for any help!

    It will resort if you leave the Event (click All Events button) and then go back.  Not a good solution but quicker IMO than using the View ➙ Sort menu method. 
    Be sure to send a bug report to Apple via http://www.apple.com/feedback/iphoto.html.

  • My aol inbox does not automatically refresh and display new messages in firefox, but it does in google chrome. How do I fix this?

    I have been trying to update settings to allow my aol mail to automatically refresh when new messages come in, vs having to click on the "inbox" in order to view new messages. I followed aol's troubleshooting steps to allow for this, and I finally got it to work in google chrome... but it will not automatically refresh in firefox. can you please help? thanks!

    Which troubleshooting steps did you get?

Maybe you are looking for