Auto report refresh on v2.2

I'm following an old thread on how to auto refresh a region. I followed the steps but
the page/region is not refreshing... Could anybody help me whats wrong? I copied
the colde from Carl's page. Im still stuck with 2.2.
thanks.

are you talking about the database table caching? if so we are using OLAP cubes and I am not sure if caching is disabled. Is my issue related to caching? also another updated if I have just one dashboard prompt for example just year  only report 1 refreshes and the report 2 doesn't disappear. But when I add state dashboard prompt, which ever prompt I change state or year  both reports refreshes. The problem is when I add more than one prompt on the dashboard all the reports refreshes when the dashboard prompt selection changes. Any ideas.
Thanks

Similar Messages

  • AJAX Report Refresh  a_report- Condition for display not being validated

    Hi ,
    I have a report which has the following condition for dispaly:
    Exists(SQL query returs atleast one row) - SELECT * from temp1The query for the report is : select * from temp1 Now I have a button on the page and on click of the button I call the below Javascript :
    function f_insert_Temp_table(pTrans){
          var l_Return = null;
          var get = new htmldb_Get(null,$x('pFlowId').value,
                  'APPLICATION_PROCESS=temp_table_insert',206);       // ODP to insert into temp1
          get.add('TRANS_ID_ITEM',pTrans);
          gReturn = get.get('');
         //alert(gReturn);
         //$x_Show('6342610690289435');
         $a_report('6342610690289435','1','15','15');
    }Everything executes fine and the report refreshes the rows but the condition used for display doesn't get checked when I call $a_report() ...
    I can see the ODP execute successfully and row gets inserted into temp1 which means report condition is satisfied .
    If I remove the condition for the report, I can see the report getting refreshed and showing new rows through the $a_Report() call.
    Is there something that needs to be added to the script or $a_report call to validate the condition too ?Is there a way I can validate the region condition too ?
    Appreciate any suggestions/pointers here. I really do not want to refresh the whole page.
    Thanks,
    Dippy
    Edited by: Dippy on Feb 5, 2010 11:05 AM

    Hi Flavio,
    Thanks for your support.I figured where I was going completely wrong.
    Its just that when the page loads for the first time the temp table is empty and hence the report is not being displayed which simply
    means that the report id Im passing into the a_report function is not rendered on the page. Hence no matter what the temp table contains the report id is absent from the page.
    I fixed it as follows :
    Remove the condition for the report.
    Added and item and computed(P_Compute) its value using select count(*) from temp.
    Added an onload JS function which does a $x_Show('Report_Region') if P_Compute > 0 or $x_Hide('Report_Region') if P_Compute <0 .
    Now in my JS function which has an AJAX call to an ODP does an $x_Show('Report_Region').
    Flavioc : the query for my report is simple
    select * from tempIt finally dawned upon me that I'm trying to catch hold of an ID that's not rendered.
    So one issue is solved now the other part would be figuring out how to make $a_report work with pagination etc .

  • How do I disable linked smart-object auto-update/refresh?

    Working in the CC3D features, I am constantly making changes to my bump map. Every time I step-backwards, or make a significant change to the bump texture (smart object?), CC auto-saves the layer. This specific file is a very very large document (3 gigs in the bump texture layer alone), and the 3D layer has lots of lights and is very complex. This auto-refresh/update really bogs down the time that it would take me to make my changes. I have a very fast machine (I know it's fast, I dont need to list my specs), and I have all shadows disabled.
    How do I disable linked smart-object auto-update/refresh?

    If you do not like a feature like smart objects there is nothing forcing you to use it. Use some other features to do what you want. Please don't ask Adobe to introduce bug into smart object support.
    You could work on your bump maps textures in external files. When your done some time in the future you could edit your project with the smart object layer and use replace smart object. Only then will all smart filters be applied to the smart layer with the replaced smart object.
    Or if by CC Auto save Layer you referring to CC Generate feature you can disable that feature.
    I have no idea what your referring to when you write "CC auto-saves the layer" being a feature. I know CC Generate will write layers out as web files but that more a Web feature then a 3d feature.  Where do you see your layer being saved?

  • Crystal Reports refresh issue

    Hello,
    I created some report's in CR2008 using MySQL database. I use (.udl) file to create a connection and connect to MySQL Server. I want to give the flexibility of refreshing this report on SQL Server, I created a (.udl) data source file for SQL Server and used it to connect to a SQL Server, by setting database location for the report, the refreshes works properly. But every time I open the report , it displays a new connection string, The Data Source name is only supposed to be "AAGARWAL-PC\MSSQL", but when I open a new report and refresh it, cr2008 creates a new connection string "AAGARWAL-PC\MSSQL_1". I dont understand the reason for this.
    When I refresh a MySQL report on MsSql the report refreshes properly and creates a new connection string. But when I try to refresh a MsSQL report on MySQL the report does not refresh. I shows an error saying it cannot access the database objects, I guess the reason for that could be "dbo.tablename" for for MsSQL will not be supported on MySQL, is there a workaround for this?
    Any ideas or thoughts on these issues?
    Thanks

    No work around other than setting location manually to SQL Server. Both DB's require different SQL being generated therefore you can't assume CR will just work without giving it a chance to "fix" the connection info.
    Easiest way is to have one report for each DB if you don't wnat to manage them through an application.

  • DeskI report refreshable on the web

    I am attempting to make a DeskI report available on the web.  That part was easy, i saved as HTML, and was able to view it on a web page.  But we need a step further,  i need to be able to make this report refreshable, it has 4 prompts.  We want the user to be able to enter info into prompts and get the report.  I know this can be done,  but cannot figure out why i can't make it work, any help is appreciated.

    When saving the Deski report as HTML set the "Automatic Reload Every"
    The browser reloads the document according to the frequency specified in the box, which ensures that the HTML document is kept up-to-date with changes made to the original document in BusinessObjects. This is similar to the document refresh feature.

  • Crystal report refresh based on document ID

    Hi All,
    i am able to do webi report refresf based on document id but i am not able to find crystal report refresh based on document ID BO SDK API on JAVA.
    please help me on this?
    the below code is for webi report refresh :
    ReportEngines engines = (ReportEngines) Esession.getService("ReportEngines");
    ReportEngine widocRepEngine = (ReportEngine) engines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
    widocRepEngine.setLocale("en_US");
    DocumentInstance doc = widocRepEngine.openDocument(documentId);               
    doc.refresh();

    Well, first, the ReportEngine code you are using is only for Webi and Deski.  You may want to start by looking at the RAS and Enterprise sections of the this [wiki|http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications]

  • OBI Report Refresh automation

    Hi All
    I am having Oracle Data Integrator as ELT tool and Oracle Business Intelligence as reporting tool. Both are in Linux servers.
    I want to automate the report refreshal. My plan for this automation is as below:
    When ODI load gets completed, touch a file in my ODI server which will be FTPed to my OBI Server and let the report refresh starts.
    However, I have doubt about how to make OBI report refreshing as event based/file based?
    Any help/Sugesstion is most welcome as I am stuck up in this point.
    Thanks
    Karthik

    Hi
    The problem with this soultion is that what happens if the ETL was not completed at that time?.
    For example,
    i am scheduling Report A to be refreshed by 0400 assuming the ETL gets completed by 0345 or atleast by 0359. If at some unavoidable circumstances if my ETL load got failed or it gets completed by say 0430, then as per my scheduling the report will be refreshed by 0400 which is not correct.
    So I want to have something like, once my ETL load gets completed, I will touch a file/make an entry in table. I want the OBI refresh to be like event based such that only when that file is made/entry is made my report refresh should be initiated.
    Its something like event based trigger as we have in BO. Kindly suggest your soultion.
    Thanks

  • Report Refresh Issue coming in 3.1

    Hi,
    We had BO migration to 3.1 recently from 2.0 and started facing one issue
    I am trying to pass parameter 2 date parameter through Hyperlink called through a BO Java SDK but does not want the report to get refreshed but want the prompt screen to show up having these 2 dates to come up.
    The below hyperlink was working fine in 2.0 and the prompt screen was coming up fine and we can modify the report dates
    to choose another date
    /OpenDocument/opendoc/openDocument.jsp?iDocID=234436&sType=wid&sWindow=Same&token=(server address)&sRefresh=Y&lsSStartDate:=01/01/2006 12:00:00 AM&lsSEndDate:=09/29/2010 10:00:00 PM
    But when for this hyperlink now in 3.1, the report gets refreshed and prompt window does not come.
    I tried to give refresh=N, but still the report refreshs without displaying the prompt screen
    Is there some settings changes in the new BO SDK which needs to be done to stop the report to refresh even when we pass the parameters?
    Thanks,
    Rahul

    Hi Rahul,
    Which SP is? In 3.1 SP3 sWindow parameter is obsolete, I´m not sure it is your problem, but maybe you can try without sWindow.
    Another question:
    Do you have any default value in the prompts?
    Is it a webi prompt or a universe prompt?
    Here you have the OpenDocument reference for 3.1 SP3: http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_opendocument_en.pdf
    Hope that helps.
    Regards,
    Liliana

  • Unnecessary Report refresh on the dashboard when changing the dashboard prompts

    Hello All
    I have two reports on a dashboard with two dashboard prompts for example Report 1) Year, State, Count; Filter: Year is prompted 2) Year, State, Count; FIlter: State is prompted. On the dashboard we have two reports Report1) and Report 2) with Year and State dashboard prompts.
    The issue is when you change year prompt both the reports gets refreshed even though nothing changes on report 2 but it still dissapears and appears as it is refreshing and  the same happens with report 1 when i change the state prompt it refreshes that report.
    Please letme know how i can limit the dashboard prompt to refresh only the report where it is prompted.
    Thanks
    Ravi

    are you talking about the database table caching? if so we are using OLAP cubes and I am not sure if caching is disabled. Is my issue related to caching? also another updated if I have just one dashboard prompt for example just year  only report 1 refreshes and the report 2 doesn't disappear. But when I add state dashboard prompt, which ever prompt I change state or year  both reports refreshes. The problem is when I add more than one prompt on the dashboard all the reports refreshes when the dashboard prompt selection changes. Any ideas.
    Thanks

  • Cache purge and report refresh.

    Hi
    I have a question when i am trying to do the below.
    I am purging the cache and at same time doing the report refresh. Will my report query hit the database or Cache.
    Please suggest.
    Thanks.

    Hi Veer,
    My requirment is not to get the query hit the database.
    I am doing cache purge and report refresh from DAC.
    Cache purge is purging all the queries of yesterdays. And going for report refresh to see todays fresh data after ETL load.
    Since these two tasks(purge,refresh) happen in parallel in DAC. I want to confirm whether fresh data is getting into reports are stale data is populating again.
    So i asked when purge and refresh happen parellely query is hitting cache or database?
    --Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Force report refresh

    How do I make sure a report embedded as a web applet pulls the latest data without the user having to press the Refresh link on the report?
    The javascript code I found on this forum did not work.
    Thanks.

    They are ways of causing report refresh automatically using javascript or HTML code that you can find on the net but unfortunately the refresh will continue to happen in an infinite loop. There is no code to cause automatic refresh only once. i have been trying to find it but couldn't get my hands to.
    If by chance you come across any such code for causing refresh only once, kindly share it over here.

  • Auto reports

    Dear All,
    I1d like to set up auto reports in SAP, for example for ZPRV reports.
    Is there a tool or programme to set it up or it can be done within SAP?
    Some years ago, when I was working with SAP, it was set up to receive a shipment report every morning in email. It's something like that what I'm looking for now.
    Thank you in advance for your help!

    Hi,
    Welcome you post on the forum.
    This forum is only for SAP Business One users. There is no T-code for this package. Please close your thread and post to a proper forum.
    Thanks,
    Gordon

  • Report Refresh, any ideas??

    Hi everyone. I have an report region on an APEX page. It is based on an SQL query. I want the page to refresh every 5 minutes. How can I achieve that in APEX. I have searched in the forums but I couldnt find any solution.
    Thanks a bunch

    Hi,
    Try this link
    Auto-Refresh of Page?
    Regards,
    Benz

  • Multiple select queries used in Excel BI report ,fetching data from Sharepoint DB(SP2010_Prod_ProjectServer) causing blockage on DB ,when more than one workbook(same copy of Excel BI Report) refreshed using Refresh All option.

    I am using mutiple select queries to fetch data from Project Server 2010 DB(its sharepoint DB) and these queries fetch data in Excel BI report by establishing connection with DB using instance name and all. I have enhance all these select queries and data
    is being fetched in secs. but when more than one copy of same Excel BI report is refreshed using 'Refresh All' option, then these select queries cause blockage on DB.
    Please let me know mitigation for this blockage issue.
    Should I use begin transaction and commit transaction statements/ shared lock statements.
    please reply

    Hi,
    run same query at the same time?

  • Report refresh does not contain correct data

    Hi all,
    I'm having a problem with an interactive report. this report contains checkboxes for each row.
    When clicking the submit button, a process is called which changes the status of the checked records.
    This status change should cause the IR to not query these records anymore after the submit, but they still appear even though i did a commit after the proces.
    When i refresh the page the correct records are removed from the report.
    Is this normal because i thought the page processes are completed before branching is executed.
    Grtz,
    Mario

    my mistake, i was doing a query with sysdate in the where clause, but when using systimestamp this problem was solved.

Maybe you are looking for

  • INVALID CURSOR - Anonymous Block calling Cursor in function

    I am getting an error when trying to call my cursor. CREATE OR REPLACE PACKAGE tax_update AS TYPE gencur IS ref cursor; FUNCTION tax_sf    p_state IN bb_tax.state%type,    p_thecursor IN OUT gencur RETURN NUMBER; END; CREATE OR REPLACE PACKAGE BODY t

  • Presenting on a TV screen

    I am building a presentation I will use with a projector during a public talk. The resolution of the presentation is 1024x768, and I know from previous experience that this works well with the projector I'll be using. However, I will also be giving t

  • Using doGet and doPost in a jsp

    Hi, I have not clear about which method is called in a jsp page, well, I think it's _jspService, but I would like to know how to instruct my jsp to execute doPost or doGet depending on the method used by the calling form. Should I call request.getMet

  • .swf can't open in mobile phone

    I have created an interactive training material slides using Adobe Flash Pro CS6 for my company. It can work very well in my pc, but unable to open in my mobile phone. What should i do? ?

  • How do i get my mouse wheel to stop making the song Fast forward and rewind?

    the song plays, I start surfing the web and if i use the scroll wheel on my mouse (up or down) it moves the play possition of the song foreward or backward.