Refreshing of a report

I have built up a report which has some Oracle Portal links on some of the columns. Each link displays a form with relevant data. I can update some of the columns by changing the values displayed on the form. It is getting updated successfully. Now the problem comes. When I go back to the report by hitting the back button of the browser, I am not asked to refresh that report. As a result, the report displays out of date data. Is there anyway to refresh that report automatically or manually (i.e. display a warning: page has expired)?
Any help is much appreciated.
David

Hi, Hsiu Hsia,
Thanks for your reply!
Sorry! I did not present my problems clearly before. I will try again.
My problem is with the 'BACK' link. If the user makes some changes on the form
and clicks 'Update' to save changes, i can add the URL of the report in the "on successful submission" of the form to solve the problem. However, at any time, the user can click the 'Back' link to go back to the previous Report screen. If the previous report screen is not refreshed, it will still display out of date information.
Therefore, if i can force the refresh of the report everytime the user comes back to the report, i can be sure that the report always display the current data from the database.

Similar Messages

  • Refresh in alv report

    hi masters,
    i m working on alv report where i have to change the data. after changing the data i have to do the refresh for that i m using the method below
    wa_STBL-ROW = 'X'.
    wa_STBL-COL = 'X'.
    CALL METHOD grid_obj->refresh_table_display
        EXPORTING
             IS_STABLE      = wa_stbl
              I_SOFT_REFRESH = 'X '
    EXCEPTIONS
    finished = 1
    OTHERS = 2.
    but after executing this method its giving run time error saying that ' Access via 'NULL' object reference not possible.  You attempted to use a 'NULL' object reference (points to 'nothing') access a component (variable: "GRID_OBJ").'. can u plz help me where i m going wrong. and how to implement the refresh in alv report in details..
    thanks in advance.
    regards,
    vicky

    hi,
    when i clicked on refresh button it is going to pf-status after that as i shown in below code it goes to refresh_report. but in this 'form refresh_report'  it won't display the data. it goes into the infinite loop. within that form- endform. plz can u give me solution for this problem?
    set pf-status 'STANDARD_FULLSCREEN'.
      case sy-ucomm.
        when '&REFRESH'.
    perform refresh_report.
    endcase.
    form refresh_report .
      perform build_fieldcatlog.
      perform event_call.
      perform populate_event.
      perform data_retrieval.
      perform build_listheader using it_listheader.
      perform display_alv_report_fm.
    endform.                    " REFRESH_REPORT

  • Getting error while refreshing a Webi reports for a specific universe

    Hi Experts I am trying to refresh a WEBI Report but getting this error: A database error occured.
    The database error text is (cs)"Specified network layer is invalid" Previously this was working fine...
    from today itself I am getting this error
    My DB is DB2 DB Drivers: DB2 V9 ->JDBC Driver

    Test Connection is always successful...
    Not sure whats wrong

  • Error (IES10901) (WIS 10901) while refreshing the Webi report

    Hi Gurus,
    We have created webi reports using Universe design tool on top of BEX Query based on 0SD_C03 cube and now we are facing Database error: A runtime exception has occured. (Error loading cube 0sd_c03 (catalog : % 3). (IES 10901 ) (WIS 10901) while trying to refresh the Webi report from Data Access--> Edit--> Run Query while its running fine when I refresh the report using refresh button option in Webi.
    When I run the the query in rsrt its working absolutely fine.
    Note that we are using BOBJ 4.0 SP7 and this issue has come recently.
    Any idea or help on this would be appreciated.
    Regards,
    Monil

    Hello Monali,
    are you getting this error constantly or sometimes?
    what type of connection are you using for your Webi report
    Is it Specified user name/password OLAP connection or SSO Olap connection
    If your are using Specified user name/password OLAP then try with SSO connection because SAp recommendation is not to use  Specified user name/password OLAP connections..to resolve this kind of issues please restart DSL bridge..
    Regards,
    Naveen D

  • Reg: Error while refreshing the WebI Report

    Hi all,
    I created WebI report based on universe that is connected to Excel data. Through DSN I m accesing Excel Data . I created same DSN in server also. If I refresh the webI Report in BO server it tells the following error.
    A database error occured. The database error text is: [Microsoft][ODBC Excel Driver] System resource exceeded.. (WIS 10901)
    Before that its working fine. what may be the problem?
    Regards,
    Hemalatha J

    This seems to be a data source not a BO problem. Take a look here:
    http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/05aaccd6-2a38-4784-b310-99e34b8d1a35
    Regards,
    STratos

  • Error when trying to refresh the current report-Invalid prompt def.WIS00005

    I am trying to create a Webi report using a Universe created with Universe Design Tool 4.0. I have created a new universe with a secured relational connection from a cube in our BBD system. The Universe can be created and exported in UDT (and when I test the connection, I get a message saying the server is responding). I can see values for the BEx query in BEx analyzer.
    When I open Webi and connect to a universe, I can see the universe, but when I put a dimension to our results tab and go to "run query", I first get the error "Error when trying to refresh the current report". If I close this error I get the error "Invalid Prompt Definiton - WIS00005". Has anybody else had this issue and if so, where can I begin to troubleshoot the error?

    Hi,
    Please note that if the object parses at Universe level it may still fail at runtime especially for the prompts.
    If you still experience the error after applying Patch 11 please analyze the characteristics of the prompt, get some trace logs with High level of detail, they surely  will help.
    Thanks!
    Best regards,
    Simone

  • Automatically refresh the OBIEE report

    How to refresh a OBIEE report automatically, when the data in the database changes?

    Thanks for the reply.
    I have to refresh the report only when the data in the database changes. If I use a variable then I would have to set the variable to some fixed number of seconds and the report would be refreshed every 'n' seconds. That is not what is expected.

  • Automaticaly refresh a Classic Report

    Anyone can help me with this?
    How to automaticaly refresh a classic report
    Tanks

    Sorry for complicating thing, but i think i'm not doing the things right.
    I'm putting this on the header of the page but it isnt working. The P4_LIST is the static id of classic report.
    <script type="text/JavaScript">   
    function refresh_this_page(timer_in_seconds) {       
          var refreshId = setInterval(function(){   
            $('#P4_LIST').trigger('apexrefresh');
          }, timer_in_seconds*1000);
    window.onload = refresh_this_page(10);
    </script>what i'm doing wrong?
    Tanks

  • Error when trying to refresh the current report

    I am having this error message "Error when trying to refresh the current report on my reports appear before they are executed. It has been a very random so I am unable to pinpoint what is causing it. I am currently working with BO 4.1 and it is connected to BW, whereby the authentication is SSO.
    Either way the reports are able to run with problems but I dislike having to insist with the refresh button or having to close and reopen the report for it to run as it should.
    I did some investigations but did not find anything conclusive because there is no problems with authorizations, there are no merged dimensions nor grouping variables used in the report and it is based on just one query.
    Does anyone know why this error message appears? What its cause is?

    Hi
    While creating the report if we select the authentication mode as :Use specified user name and password or Use Business Objects credential mapping, will get the same error.
    So if possible can you please test change Connection Type Authentication Mode to Single Sign on.
    Find the below link.
    http://scn.sap.com/community/semantic-layer/blog/2014/06/06/how-to-change-connection-type-authentication-mode-to-sso-1

  • Refreshing a classical report

    Hi all...
    I m having a requirement to refresh a classical report from the output screen itself..
    From the basic list, if I select a row and click on the detailed list button in application tool bar, a custom screen will be called. In that screen I am modifying some values and saving it.  Again if i click back button, the modified value and related calculations should be updated in the basic list.....
    The values which I am modifying in the screen are not to be directly updated in the list.  Based on the values in the screen there are some computations ( Which are already there in the report)..
    If refreshing is not possible, I need to run the report one more time to get the new values in the out put list, which is not desirable.....
    Please solve this....
    Thanks in advance,
    JJ.

    Hi Reeta,
    I got the requirement to migrate a report in old system (SAP 4.6c) to ECC6.0.  The functionality of refreshing the report was not there in the old system, I have to incorporate that.
    The old program was not modularized.
    I finally myself modularized the code into different sub-routines and I identified that which sub-routines are exactly carrying out the report calculations and display, and I called the same set of two sub-routines under the back button of the detailed screen....
    Before this I directly tried with submit to the same program under the back button of detailed list screen...though it is not a good solution it worked fine up to refreshing the report, but if we hit the back button in the refreshed basic list, it will directly go to the easy access screen instead of the selection screen..
    So, I followed the modularization of old code and called the particular sub-routines....
    -JJ.

  • Values not getting refreshed in web report.

    Hello Friends,
    Currently i am running an web report. The scenerio is i have check box with 5 options For Ex: IMS , IMR, IMN,IMM,IMP.
    IMS is the combination of all divisions and IMR is the combination of only three divisions.
    In BEx we runthe report with divisions . For ex : divisions are Ind1, ind2,ind3,ind4,ind 5.
    Instead of displaying divisions in the select options like Ind1,ind2....etc., we have created a structure in the report
    and using new selection we have restricted the divisions with IMS,IMN,etc.,
    IMS->combination of all divisions. IMR is combination of ind1,ind2,ind3.
    IMN... all are with single divisions
    Now we have assigned the query in the data provider for select options in hte web report,
    But when we select any options the values of the remaining queries are not getting refreshed.
    If we use the divisons directly with out using the structures the values are getting refreshed.
    Can any one give me the solutions for this?
    Regards
    Srinivas

    Hi Mansi,
    Check the Prompt properties in the Edit Query window of the webI. In the query filters section of window, click on the blue icon which says Prompt Properties. Deselect Keep Last values select and run the webI again.
    If the solution is not related to your question, please provide more details.
    Thanks,
    Rajesh

  • Partially refresh the sql report region by clicking the region selector tab

    Hi,
    In my page i have a region display selector tab. This region selector tab contain show all,booking,service,.. etc. when i click the booking tab,sql report region will appear. My intention is when i click the booking tab i want to refresh that region partially to display the record according to sql query in that region source of report region.
    how to do this?
    skud.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • Refresh PL/SQL Report Region (not Page) using Select List value

    Hi,
    I've got a report region based on a 'PL/SQL function body returning a SQL query'which gets generated on selecting a value from a Select list item, The Select List action is 'Redirect and Set value' but this causes the whole page to refresh rather than just the report region. I've tried to refresh the report only using a dynamic action on the Select List item (Action now reset to  'None') but now the report is not appearing on choosing from the List. Can anyone suggest a solution that will allow me to refresh this report without refreshing the page? I am using APEX 4.2.2 and the report syntax is as follows:
    DECLARE
      v_statement VARCHAR2(500);
    BEGIN
      SELECT query_text
        INTO v_statement
       FROM sql_queries
       WHERE query_id = :P2_QUERY ;
       RETURN v_statement ;
    END ;
    where P2_QUERY is Select List Item,
    regards,
    Kevin.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • Report Not Refreshing in Crystal Reports Server 2008

    I created a report and posted it on Crystal Reports Server 2008.  I have since updated the report's selection expert and I want the new criteria to be updated.  When I right click on the report and choose Refresh Options I have chosen to update and refresh the report but when I try to schedule it again it keeps the old select expert statement.  I have gone back to the report to ensure the change was taken and it was.  In fact if I delete the report and repost it then it does show the correct criteria.  Does anyone have any idea's as to why this is happening.  Thanks.

    A simple solution to avoid the font issue: Draw a box on the report, and put an X in (on top of) the box to check it if value is true.
    Or
    A formula that is an X if true or F if false.  Format the font to be white if not an X, and put a box around it.
    Edited by: DebiHerbert on Oct 8, 2010 1:19 PM

  • How to refresh a crystal report automatically ?

    I deployed my website(asp.net/c#) in IIS 7.5, when i click on the button to open the page that contain the report, i get a blank page but when i refresh the page (F5) it's ok. my question is: how can i open the page that contain the report file directly
    without refresh?

    Tricky to guess without seeing any code.
    Here's some example code which fills and shows a report.
    protected void Page_Load(object sender, EventArgs e)
    ReportDocument rd;
    DataTable dt = (DataTable)Session["xxxxx"];
    // Tricky bit here is to make the name of the datatable match what the report expects
    dt.TableName = "DataTable1";
    rd = new ReportDocument();
    rd.Load(Server.MapPath("Reports\\xxxxReport.rpt"));
    rd.SetDataSource(dt);
    rd.Refresh();
    CrystalReportViewer1.ReportSource = rd;
    CrystalReportViewer1.RefreshReport();
    CrystalReportViewer1.DisplayGroupTree = false;
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

Maybe you are looking for