Refreshing UWL automaticly ?

hi there,
for a workflow i have to implement the (very user-unfriendly) UWL in our portal.
there is a strange behaviour when i go to the 'inbox' of the UWL. i can't see all workitems,
and i have a message on top which says 'waiting for refreshing'. as i have a german language
system i don't know if this is the right english translation for this message.
after a too long time (+- 30 seconds) the UWL has been refreshed, and i see all workitems.
what is wrong there. how can i refresh automaticly ?
best regards, Martin

Hi Martin,
these are two different settings
- one for the service done in the background (service refresh time)
- one for the UI. Concerning this you have to set the iView param "Wait duration for UI refresh while waiting for update".
The first time the user logs on there is an auto refresh done, if the items are out of date. You can turn off the initial refresh by setting this property in the iView to 0.
I think the reason for this was placemend of UWL iView on default homepage. If it is placed there every time a rfc to backend will be executed and may be some users will click straight forward to another portal page. The wait duration will avoid this.
remind that this property will be used only for first call of UWL iview in current user session.
If you want to refresh UWL list every time a user opens this iView you have to set up a additional invisible iview on the UWL page which will raise an EPCM event to force refresh.
best regards,
Thorsten

Similar Messages

  • Refreshing portlets automatically

    Hello, i did a Worklist portlet i the principal page of my portal, and in other
    page i have a prtlet whose use generates tasks, when i got back to the main page,
    i have to click on a Refresh link for watch the new task.
    Is there a way to refresh this automatically on each request of the portal?
    do the backing files relate to this?
    And, is there a way to do a portlet factory? (Each time you click on (for example),
    create forum, you view a new portlet with the form of the basic forum data)
    Thanks in advice

    Not sure if this is the "right" way to do it but I did something similar
    by sending a redirect to the browser.
    For example (to refresh page "Main"):
    <%@page import="com.bea.portlet.PageURL"%>
    <%
    PageURL refreshMainPage=PageURL.createPageURL(request,response,"Main");
    response.sendRedirect(refreshMainPage.toString());
    %>
    "Leonardo contreras Alfonso" <[email protected]> wrote:
    >
    Hello, i did a Worklist portlet i the principal page of my portal, and
    in other
    page i have a prtlet whose use generates tasks, when i got back to the
    main page,
    i have to click on a Refresh link for watch the new task.
    Is there a way to refresh this automatically on each request of the portal?
    do the backing files relate to this?
    And, is there a way to do a portlet factory? (Each time you click on
    (for example),
    create forum, you view a new portlet with the form of the basic forum
    data)
    Thanks in advice

  • Refresh UWL inbox automatically

    Hello,
    Everytime whe enter UWL inbox, a message is shown asking for refreshing (manually).
    Please, do you know what can I do to refresh automatically inbox before we enter?
    Thank you

    Hi,
    In the UWL iview there will be having default time, you need to change that time period property for that Iview.
    Wait duration for UI refresh while waiting for update - make it 1.
    Also if necessary change the below two properties also.
    Wait duration before calling providers on loading preview
    Wait duration before calling providers on loading of UWL
    Thanks,

  • Refresh UWL every time a action is done

    Hello Portals specialists,
    I've a small issue about UWL.
    I've configured refresh time to 1 minute in the personalization. But I want to have a automatic refresh, when I log in and when I manage a task.
    In fact, each time a action is done (logging, navigation, completing a task, ...) the UWL must be refresh...
    I've try to change the delta pull time, the refresh parameter in the XML definition of the UWL. Nothing works.
    Thanks for your help.
    Regards.
    Olivier.

    Hi Oliver,
    I had a smiliar requirement, where the work items has to be refreshed every time i log into Portal. Even though there was refresh button the client wanted to refresh the work items evry time he logs in.
    Please check the following link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm
    Else on R/3 side you have to maintain Schedulers.
    Hope it helps.
    regards
    Anil

  • Creating the hidden iview for refreshing UWL Task

    hi
    i would like to create the hidden iview to refresh the UWL task automatically.
    The event to refresh the task :  refreshUwlBackend which is the same when manual refresh link is being called .
    Pls suggest how to acomplish this.
    Regards
    Pravesh

    Hi Pravesh,
    You can try with KM scheduler as well.
    1. You need to set the scheduler from System admin -> KM -> Content Mang ->Global Services->  Scheduler task.
        You can set here the time interval for scheduler.
    2. Then create a Portal project from NWDS.
        Portal Simple project.Right click on project.New-Other-Rep framework-Scheduler task wizard.
        Create a java page where you will write the code mentioned by Raju
        portalFireEvent( 'urn:com.sap.netweaver.bc.uwl.ui','refreshUwlBackend');
    I don know whole details.but this is the process you can follow.
    Hope it helps you.
    Regards,
    Sumangala

  • Refresh table automatically after adding record in dynpro

    I have a table element in my layout which is bind to a dictionary table and displaying the records correctly.I have input fields in the same view along with the add buttoon which inserts the entered record into the dictionary table successfully.
    Till now its fine but what I want is after adding the record, the displayed record in the table should be refreshed automatically.I guess one method would be that in action of button click  i  fetch the records using select query into an internal table and bind it again to the table.
    Is there any other method to do this. Also will supply function be helpful in this case???
    THanks

    @sarbjeet:
    Here is the code of supply method
    method SUPPLY_FILLNODE.
    DATA:
                  NODE_TABLE_EMP                      TYPE REF TO IF_WD_CONTEXT_NODE,
                  ELEM_TABLE_EMP                      TYPE REF TO IF_WD_CONTEXT_ELEMENT,
                  STRU_TABLE_EMP                      TYPE wd_this->ELEMENT_TABLE_EMP,
                  ITAB                                TYPE TABLE OF wd_this->ELEMENT_TABLE_EMP.
              navigate from <CONTEXT> to <TABLE_EMP> via lead selection
                NODE_TABLE_EMP = WD_CONTEXT->GET_CHILD_NODE( NAME = `TABLE_EMP` ).
               SELECT EEMP_NO ENAME ECITY DDEPT_NAME INTO CORRESPONDING FIELDS OF TABLE ITAB FROM ZEMPLOYEE_MASTER AS E  INNER JOIN ZEMPLOYEE_DEPT AS D ON EDEPT_NO = DDEPT_NO order by E~EMP_NO  .
             CALL METHOD NODE_TABLE_EMP->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    endmethod.

  • Timeout  when refreshing UWL

    Hi
    When we refresh the UWL, I get the following error message
    " An error occurred while trying to connect to the provider ".
    When I click on the details it says "Time out occured. Time taken is more than 30 seconds"
    This error occurs only if the browser language is something other than English. Can anyone throw some light on this?
    Regds
    Thiru

    Hi Maria,
    The timeout is because when we use language other than the language in which the work items were created, then all the system tries to translate all workitems  in the UWL from theie original language and hence the timeout.
    To solve this, you can set the "Timeout Value for the Connected Systems, in Seconds" under "Optional Universal Worklist Service Configuration" to a higher value (default is 30 seconds).
    Regds
    Thiru

  • How to refresh UWL status.

    Hi experts:
        I am develop a workflow  system use UWL and webdynpro for java, In my UWL, i click a work item into my webdynpro view, i approve the view.when return the UWL  ,the UWL status are  not refresh ! The workitem which i approved still exist in work lists!
       I use the code like when return the UWL,
       WDPortalNavigation.navigateAbsolute(
          url,
         WDPortalNavigationMode.SHOW_INPLACE,
         WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
       How can i refresh the status of  UWL.
       Thank you a lot!
                           yours zxcheng

    Hi,
    You have to Refresh the Cache.
    <Actions>
    <Action reference="refresh" />
    <Action reference="removeFromNavigation" />
    <Action reference="addToNavigation" />
    <Action reference="personalize" />
    </Actions>
    Regards,
    Surjith

  • Refresh UWL from ABAP

    Hi All,
    I have a ABAP webdynpro which is launch from a work item. The work item is an action step.
    In the webdynpro there would be a button, after the user had click on the button i would call the FM 'SAP_WAPI_EXECUTE_WORKITEM'. But the workitem is still in the UWL and the user can click on the workitem again and it would launch the Webdynpro again. Only when the user refresh the UWL then the workitem would disappear.
    Is there a way to refresh the UWL after the user had click on the button in my ABAP Webdynpro, so that the workitem would disappear. Or make the workitem disappear from the UWL after the user click the button.
    Thanks
    Regards,
    wl

    Actually there is a refresh time set for the UWL, it will refresh after that.
    You can have check in the Web Dynpro application whether the workitem is valid or not using
      SELECT SINGLE wi_stat INTO lv_wistat FROM swwwihead
         WHERE wi_id = workitemid AND
         wi_stat NOT IN ('ERROR','COMMITTED','COMPLETED','CANCELLED').
    if sy-subrc ne 0.
    throw an error that workitem is not exists.
    endif.
    Abhi

  • Refreshing MV - Automatically Refresh weekly

    Hi Experts,
    Iam in need of creating a MV with automatic refresh every 7 days. Will this query help me to achieve this . Please help me
    CREATE MATERIALIZED VIEW Test
    REFRESH COMPLETE NEXT TRUNC(SYSDATE) + 7
    AS
    SELECT
    A.column1,b.column2 from
    table a ,table b
    where
    a.column3=b.column4
    Thanks
    Aswin

    aswin wrote:
    Hi Experts,
    Iam in need of creating a MV with automatic refresh every 7 days. Will this query help me to achieve this . Please help me
    CREATE MATERIALIZED VIEW Test
    REFRESH COMPLETE NEXT TRUNC(SYSDATE) + 7
    AS
    SELECT
    A.column1,b.column2 from
    table a ,table b
    where
    a.column3=b.column4
    Thanks
    AswinHi,
    you can add below code to refresh mview weekly.
    CREATE MATERIALIZED VIEW Test
    REFRESH FORCE
         ON DEMAND
         START WITH SYSDATE
         NEXT SYSDATE + 7
         WITH ROWID
    AS
    SELECT
    A.column1,b.column2 from
    table a ,table b
    where  a.column3=b.column4

  • Refresh uwl less than a minute

    Hi experts,
    It is possible to refresh the uwl in less than a minute?
    He have an EP 7 SP18 and ECC 6 EHP3. We use the uwl to execute certain task of a business workflow in the backend.
    We configure the Delta Pull Mechanism in the backend, create two jobs, one execute once a day and other every minute but the refresh os the uwl is always greater than 1 minute.
    In the portal side, in the webflow connector we have 15 seconds for the delta pull channel and blank for the other parameter.
    Is it possible to configure the Portal or the Backend so the uwl refresh in less than a minute?
    Thanks in advance,
    Manuel

    Have you tried Delta Pull. Configure the parameter Delta Pull Channel Refresh Period (in Seconds)
    Check [http://help.sap.com/saphelp_nw2004s/helpdata/EN/eb/101fa0a53244deb955f6f91929e400/content.htm|http://help.sap.com/saphelp_nw2004s/helpdata/EN/eb/101fa0a53244deb955f6f91929e400/content.htm]
    Regards,
    Prasanna Krishnamurthy
    Edited by: Prasanna Krishnamurthy on Jan 11, 2010 12:55 PM

  • PROBLEM refresh query automatically

    Hi
    We want to do a analytic dashboard with the web application designer.
    our problem is that we want the query to refresh automatically, for example every 2 minutes, due to the constant changes of the information.
    Does someone know if with the bw 7.1 it is possible to refresh the model periodically without returning to execute the query?
    thanks and best regards.

    thanks for the reply, there is an option in the iviews called "Cache Validity Period" but they dont want the portal, only bex to acces the information.
    thanks again

  • Creating Hidden iView to get refresh UWL task list

    Hi @ll,
    i would like to know how can we create hidden iView to update task list in UWL using refreshUwlBackend event.

    Hi,
    You cannot use an invisible WD Java iView because the application is not executed if the iView is not visible.
    I don't know if it would work with other types of iViews.
    Regards,
    Pierre

  • 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

  • Issue with Refresh link avaiable in standard UWL iView

    Hi All,
    We have added the custom column "Comment" in the Tasks tab of UWL iView.In the Tasks tab we can view some rows in the table.When we click on one row it is opening the ABAP ADOBe forms.In this Form when we change the text for the field Comment and click on save button in adobe form then we can see the new text in SWI1 tcode for the work item id. But in portal the new text is not appearing in the custom comment column.If we click on Refresh link (this link is the standard link available in UWL iview) also the new text is not appearing.
    After clearing UWL Cashe from System Admin role after that we can able to see the new text in the comment column.
    If in Adobe form after changing the text we click on Check and Send button then on portal UWL automatically new text is appearing in commnet column.In this case no UWL cacshe release is required.
    Please find the attched document
    Can you please provide me the inputs why refersh link is not working to show the updated /modifiedd text in the comment column?
    Thanks & Regards,
    Susmita

    Hi Rajesh ,
    you can implement using java script also
    check below thread
    Implementing iView auto-refresh in JSP DynPages
    Koti Reddy

Maybe you are looking for