Refresh FR report when Substitution Variable change

Hi All,
Is there any way to refresh FR report which are opened through smart view/ workspace when the Substitution Variable changed. Like if my report opened for the Year = Curryear and now curryear value is FY14 if I changed curryear as FY15 will it reflect on my FR report that already opened.
Regards,
Pradipta

For sure it won't be updated automatically if the report is open. Did you try changing it and then see what happens?
You'll have to refresh the report for the subvar to show up on the report.
P.S remember to stop and start your Essbase application after the subvar change
Regards
Celvin Kattookaran

Similar Messages

  • Refresh detail report when page is changed

    Hi All,
    could You help me with this problem, please?
    I have page with two reports on one page - master and detail. Master report has link column which ‘call’ the same page and fill item (P2_id) and it refresh the detail report. The problem is when I am changing the page (next x records), then is not item P2_ID changed and detail shows me data of the record from previous page :-(
    Idea is – when will page change than will ID from the first row of report copy into P2_ID... I thing there will any easy trick to solve this but I can find out it...
    Please should You help me
    Thanks a lot
    Alexej

    Alexej,
    The hard thing about what you want to do would be to populate the value of P2_ID on load. There's probably a way to do it but it would take some thought. The easy approach is simply to clear out the value of P2_ID on load and let the user select the row they want again. To get that to work the first thing you'll need to do is to disable the partial page rendering for this report's pagination as there is currently no way to handle these events well (I've done that). Next you'll need to have a process that clears out the value at the right time (I added a computation with a request condition).
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • Writing an ActionListener that responds when a variable changes

    I am interested in writing an ActionListener that monitors the value of a variable. When the value of that variable changes, I want the ActionLiastener to kick in and change what is displayed in a JLabel on the display. Note that there is no user interaction throughout this process.
    Has anyone done this before or have any insight? I assume that ActionListeners are the way to go, but in case they are not, is there another way?
    Thanks!

    ActionListeners, by their very nature, listen for user actions; if there is no user interaction, they won't do anything. When you update the variable, why not just update the JLable too? Just make sure you do it on the Event thread (might need to use SwingUtilities.invokeLater()) and you might need to explicitly tell it to repaint itself. Hope this helps.
    Jamie

  • Financial Reporting and substitution variable

    Hello,
    i have a problem with FR and substitution variable. I create the substitution variable in Essbase for example antYear but i dont'see in dimension layout in FR studio and workspace.
    Thanks.

    You'll need to restart FR studio, after you have created the substitution variables. As the studio only performs one read of the sub var database on startup.
    It also won't show up unless you assign a member to it.
    Hope this helps.
    Iain

  • Error loading report when data source changed

    We are migrating our Crystal Reports from using XML files generated from our SAP R3 system to using a direct connection to SAP R3 (using the SAP Integration Kit).
    The code is straightforward:
          crReport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
          crReport.Load(reportPath);
    ...where the reportPath is just a string with the path and filename (e.g. "C:\reports\Report1.rpt").
    This worked fine with the report when it had an XML data source. When we run the code with the new version of the report that connects to a data table on our SAP R3 we get the following error message:
    Error in File Report1 {40205567-F890-4B3C-A103-C9C8F0A1E665}.rpt: Failed to logon to the Crystal Report Object Repository.
    The report is not in an Object Repository, nor do we even have a Repository in place right now. The report can be run manually from Crystal Reports on the desktop without any kind of Repository.
    Both versions of the report were built in Crystal Reports 2008.
    Thanks,
    Byron

    I am not sure if connecting to SAP is any different than connecting to SQL, but we develop one report and then deploy to N number of client who all have their own SQL servers and server names.
    Here is the code I use to alter the database connection at runtime:
      connection.DatabaseName = _datebaseName;
                    connection.ServerName = _serverName;
                    if (_integratedSecurity)
                        connection.IntegratedSecurity = _integratedSecurity;
                    else
                        connection.UserID = _userId;
                        connection.Password = _password;
                    connection.Type = ConnectionInfoType.SQL;
                    // First we assign the connection to all tables in the main report
                    foreach (CrystalDecisions.CrystalReports.Engine.Table table in _reportDocument.Database.Tables)
                        AssignTableConnection(table, connection);
                    foreach (CrystalDecisions.CrystalReports.Engine.Section section in _reportDocument.ReportDefinition.Sections)
                        // In each section we need to loop through all the reporting objects
                        foreach (CrystalDecisions.CrystalReports.Engine.ReportObject reportObject in section.ReportObjects)
                            if (reportObject.Kind == ReportObjectKind.SubreportObject)
                                SubreportObject subReport = (SubreportObject)reportObject;
                                ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName);
                                foreach (CrystalDecisions.CrystalReports.Engine.Table table in subDocument.Database.Tables)
                                    AssignTableConnection(table, connection);

  • Variable updating when another variable changes. How to keep it static?

    I'm missing something very basic here I think. What's happening is that I'm looping through a list. I also need to update that list, but since I don't want to update the list I'm looping through, I created a temporary list to hold the new values. Then after I'm done looping, I'll update my original list with my temporary list.
    I started out by defining/setting the variables:
    <defvar name='matchedAccessLevels'>
         <ref>
              <concat>
                   <s>user.accounts[FACILITIES].properties.locationMap[</s>
                   <ref>theLoc</ref>
                   <s>].accessLevels</s>                                                            
              </concat>                                                       
         </ref>                                                       
    </defvar>
    <defvar name='tempAccessLevels'>
         <ref>matchedAccessLevels</ref>                    
    </defvar>Then I loop through. Below are the results from the log with block trace. It looks like whenever I update tempAccessLevels, it's updating matchedAccessLevels. The whole point of using tempAccessLevels was so that matchedAccessLevels remained static. What am I missing? What do I need to do differently to keep matchedAccessLevels from changing? I've tried many different combinations of code and still matchedAccessLevels is changing whenever I update tempAccessLevels.
    <cond>
         <eq>
           <ref>theLoc</ref> --> Milwaukee
           <s>Milwaukee</s> --> Milwaukee
         </eq> --> 1
         <block trace='true'>
           <set name='matchedAccessLevels'>
              <ref>
                <concat>
                   <s>user.accounts[FACILITIES].properties.locationMap[</s> --> user.accounts[FACILITIES].properties.locationMap[
                   <ref>theLoc</ref> --> Milwaukee
                   <s>].accessLevels</s> --> ].accessLevels
                </concat> --> user.accounts[FACILITIES].properties.locationMap[Milwaukee].accessLevels
              </ref> --> [Mail Room, Provider Audit File - Door 3142, Cost Reports - Door 3127]
           </set> --> null
           <set name='tempAccessLevels'>
              <ref>matchedAccessLevels</ref> --> [Mail Room, Provider Audit File - Door 3142, Cost Reports - Door 3127]
           </set> --> null
           <dolist name='theAccessLevel'>
              <ref>matchedAccessLevels</ref> --> [Mail Room, Provider Audit File - Door 3142, Cost Reports - Door 3127]
              <cond>
                <eq>
                   <ref>theAccessLevel</ref> --> Mail Room
                   <s>Mail Room</s> --> Mail Room
                </eq> --> 1
                <block trace='true'>
                   <remove name='tempAccessLevels'>
                     <s>Mail Room</s> --> Mail Room
                   </remove> --> null
                   <ref>tempAccessLevels</ref> --> [Provider Audit File - Door 3142, Cost Reports - Door 3127]
                   <ref>matchedAccessLevels</ref> --> [Provider Audit File - Door 3142, Cost Reports - Door 3127]
                   <append name='tempAccessLevels'>
                     <s>Center Hall to NGS Far N Dr</s> --> Center Hall to NGS Far N Dr
                   </append> --> null
                   <ref>tempAccessLevels</ref> --> [Provider Audit File - Door 3142, Cost Reports - Door 3127, Center Hall to NGS Far N Dr]
                   <ref>matchedAccessLevels</ref> --> [Provider Audit File - Door 3142, Cost Reports - Door 3127, Center Hall to NGS Far N Dr]
                   <defvar name='isAccessLevelUpdated'>
                   </defvar> --> null
                </block> --> null
              </cond> --> null

    Ok, xpress objects are really Java objects and, as in Java, are handled by reference.
    When you are setting tempAccessLevels, you are setting it to refer to the same list object as matchedAccessLevels.
    A convenient way to actually copy a list is with the append function. eg:
    <defvar name='tempAccessLevels'>
    <append>
         <ref>matchedAccessLevels</ref>     
    </append>               
    </defvar>

  • What happens to Desktop Intelligence reports when a universe changes name?

    Post Author: GregPye
    CA Forum: Desktop Intelligence Reporting
    Hi
    We are experiencing intermittent issues with our DeskI reports that are pointing to a universe that subsequently changes its name.
    We seem to have some reports that cope with the name change perfectly well, and other reports that "cannot find universe" because it is looking for the new name.
    The issue with the latter, is that if DeskI cannot find the universe, it will then not allow you to repoint the universe in the View Data pane. When such reports are found, our workaround has had to be:
    1) copy universe and rename with old universe name
    2) open report and repoint to newly named universe name
    3) delete old universe name
    Should all reports automatically update when the universe simply changes their name? Why do some reports not do this? Is there something we can do to alleviate the situation?
    Many thanks
    GP

    bashphoenux wrote:what does "this" refer to ???
    I was referring to the problem you reported "the screen freezes for an idefinite amount".
    I thought it sounded like this:
    https://bbs.archlinux.org/viewtopic.php?id=103522
    Look at the mail mesage in the link in the 4th post.
    Last edited by loafer (2010-09-07 15:15:27)

  • Automatically refresh a report when it loads.

    Hi,
    I have a report created against the service request object which is accessed from the SR page using a weblink. However when the report is displayed it does not always show the current data. I have to click the 'refresh' link at the end of report to get it to display the correct data. Ideally I would like to avoid the user having to click 'refresh' so.....
    Does anyone know how i could get the report to refresh automatically when it loads so that it always shows the current data?
    Thanks in advance

    Contact C/C they will be able to help you with that

  • Refresh ALV Report after return from dialog screen

    Hi All,
    I have developed an alv report which lists new products, when user clicks on a product it will take to custom dialog screen where user makes neccessary changes. Once the changes are done user clicks back the control comes back to the ALV report.
    My question is when they come back to ALV report it should refresh and list the new products. Basically I want to know is it possible to refresh the report when control is coming back from dialog screen to ALV report.
    Pls provide me a best way to handle this scenario.
    Regards,
    Anand

    Hi Archna
    This is the code I am using
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = v_repid
          i_callback_user_command = 'USER_COMMAND'
          i_callback_top_of_page  = 'TOP_OF_PAGE'
          i_grid_title            = i_title
          it_fieldcat             = it_fcat
          it_events               = v_events
          i_save                  = 'A'
        TABLES
          t_outtab                = it_alv_cvg.
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          READ TABLE it_alv_map INTO wa_alv INDEX rs_selfield-tabindex.
          IF sy-subrc = 0.
            SET PARAMETER ID 'ZCR' FIELD wa_alv-product.
            CALL TRANSACTION 'ZSD_PRODUCT_DIV' AND SKIP FIRST SCREEN.
          ENDIF.
      ENDCASE.
    ENDFORM.   
    After it goes to dialog when I clcik back it comes  back to the alv report.
    Now can you Pls tell me where to use the refresh.
    Regards,
    Anand

  • Event handeling variable changes. Is this possible?

    Hey,
    I'm working on a java-beans project and I am trying to come to find a way to signal an event when a variable changes. Basically looking for a way to constantly send the refreshing data to the listener bean.
    I can easily get it to work send the data with pushing a button but this is supposed to monitor a constantly changing temperature and send it to the listener bean.
    Any ideas?
    Thanks.

    Use Timer or ur own Thread.

  • Substitution variable in Load rule Header Essbase 11.1.1.3

    Think its obvious you can use substitution variable as a Header definition on Load rules, does version 11.1.1.3 has any issues' with it, i am running into Unexpected Essbase error 1019026.
    Error:
    Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
    Unexpected Essbase error 1019026
    I want to copy Actual data into other scenario's in ASO cube so thought will use substitution variables to eliminate duplication on load rules.
    Mgmt Actual is a scenario set thru Substitution variable at the DB level
    i.e *&CurScen="Mgmt Actual" (set at DB level)*
    Header Definition on load rule *&CurScen,"Base","No Vertical","No Customer"*
    Data load work fine If i replace substitution variable with original member *"Mgmt Actual","Base","No Vertical","No Customer"*.
    I did notice some users complaining erratic behavior when substitution variables are placed in load rule header at the End on multiple members, i have tried all places End, First and Middle.
    tried using single Load rule with EAS and MAXl same results.
    i want to keep altering scenarios on header definition and use same rule files.
    alter database AppName.DbName set variable CurScen '"Mgmt Actual"';
    Running out of ideas any help!

    Error:
    Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
    Unexpected Essbase error 1019026
    *1019026 Unknown member memberName found while processing string string*
    Possible Problems
    Analytic Services does not recognize the listed string as a member of the outline.
    Possible Solutions
    Make sure that the member name is valid. The member name is in the rules file.
    * Are you using the correct rules file?
    * Is the rules file connected to the correct outline?
    * Can you validate the rules file?
    * Are member names or variable names enclosed in quotation marks where necessary?
    * Does the member exist in the outline? If not, you can add the member by modifying the outline during the dimension build or add the member in the Outline Editor.
    * Make sure that the member is not specified as a header in the rules file.
    Regards,
    Prabhas

  • Force refresh a report

    Hello,
    Is there a way where we can refresh the report when the user opens it. Without having the user to click on refresh ?
    We are having some JS code in the report and without refresh it doesn't seem to fetch the latest values.
    Thanks in Advance.

    Thanks for the reply John.
    I have attempting to use the "Bypass Oracle BI Presentation Services Cache" it works well with a simple report. However when I use it over some of the other more complex answers I'm getting some really strange results. Essentially reports seem to run forever, the session monitor suggests they are complete however they never render on the screen. This problem seems particular to reports which are navigated to via a navigation target.
    The problem also seems to adversley affect presentation services even requiring a restart before they return to normal.
    Have you had much experience using "Bypass Oracle BI Presentation Services Cache". I've noticed there seems to be a metalink article and bug raised (Doc ID 737840.1), Oracle's suggestion: "Customers should only check this bypass cache box in rare circumstances for fast-running requests"
    This doesn't really satisfy our requirement.
    Cheers
    Tim

  • Reload a method during a variable change

    I want to run a method when a variable changes.. Some sort of
    listener on the variable.. Something like that.. Is it possible?
    Any ideas?

    One way to do this is to use a setter function. to the
    outside, it looks just like a variable, but is really a function in
    which you can do whatever you want. It has a special format:
    [Bindable]private var _sMyString:String;
    public function set myString(sValue:String):void {
    _sMyString = sValue; //normal variable stuff
    //now do whatever special processing you need to do.
    Use this property like this
    myString = "someValue";
    or:
    this.myString = "someValue";
    or
    myClass.myString = "someValue";
    You can also look into changeWatcher()
    Tracy

  • Functions triggered on variable change

    Hi there!
    It's surely something quite easy, but couldn't find exactly
    what I wanted; it must be related to the eventListener thing, but
    don't know how to do it:
    I'd like several movie clips to react (each one in its own
    way) when a variable changes; say I've got a website that needs to
    be editable when the var _root.vAdmin = "yes" and not when the
    latter equals "no"; so I need multiple functions situated anywhere
    to be triggered when the variable _root.vAdmin changes; any idea?
    Thanks in advance!

    seems like this is what you need. look into EventDispatcher
    or AsBroadcaster classes
    tutorial:
    http://www.kirupa.com/developer/actionscript/eventdispatcher.htm

  • $a_report to refresh a report but it is not picking up the bind variable

    Hi
    APEX          -     Application Express 4.1.0
    Browsers     -     All
    Database     -     11g2
    I have a tree region on a page. When a user clicks a leaf of the tree I want to be able to use the ID to refresh a report in a different region on the same page
    Code for when the user clicks the leaf
    $('div.tree li a').click( function() {
    node_id = $(this).parents('li:first').attr('id');
    if (node_id.substr(0,node_id.indexOf('|')) == 'Y')
    $s('P4_SELECTED_VALUE',node_id.substr(node_id.indexOf('|')+1));
    alert('Value Set: ' + $v('P4_SELECTED_VALUE'));
    //$a_report('28576803999973770','1','20','20');
    $a_report($v('P4_REPORT_ID'),'1','20','20');
    SQL Statement
    SELECT *
    FROM PRODS p WHERE PROD_CODE = :P4_SELECTED_VALUE
    The problem I have is that when the report is run (I know it is refreshing) the P4_SELECTED_VALUE bind variable is set to NULL.
    The alert pop contains the correct value and when I make the P4_SELECTED_VALUE visible it also contains the value?
    Any help is much appreciated
    Rob

    Rob,
    You need to insert P4_SELECTED_VALUE value into APEX session before refreshing the report.
    Add following JS function in your page
    //insert value into session using JS
    function fnSetSessionState(pItem, pValue) {
        var vAjaxDummy = new htmldb_Get(null, $v('pFlowId'), null, 0);
        vAjaxDummy.add(pItem, pValue);
        var vDummy = vAjaxDummy.get();
        vAjaxDummy = null;
    }and your code..
    $('div.tree li a').click( function() {
    node_id = $(this).parents('li:first').attr('id');
    if (node_id.substr(0,node_id.indexOf('|')) == 'Y')
    $s('P4_SELECTED_VALUE',node_id.substr(node_id.indexOf('|')+1));
    alert('Value Set: ' + $v('P4_SELECTED_VALUE'));
    fnSetSessionState('P4_SELECTED_VALUE',$v('P4_SELECTED_VALUE'));
    //$a_report('28576803999973770','1','20','20');
    $a_report($v('P4_REPORT_ID'),'1','20','20');
    });This is how I used to do in version 3.2 or before. But now I prefer to use Declarative dynamic actions..
    Regards,
    Hari

Maybe you are looking for

  • Can I install Java 2 SDK 1.4.2 with NetBeans bundle on a Laptop?

    I'm new to programming and I'm getting an Alienware notebook with WindowsXP in a few months. I just want to be sure I can install and use Java on it. Any recommendations for literature on programming for beginners would be great too. Something easy t

  • Modify "sync movie" list.

    How does one modify the "sync movie" list under the video tab?

  • Multiple Datasync Mobility Pack server for redundancy?

    Would it be possible to have multiple Data Synchronizer Mobility Pack servers (behind a load balancer) service the same users/groups if I make sure all settings are the same on all servers and all users/groups are on all servers? If not, what option/

  • Converting Lossy to Lossless (you heard that right)

    This may seem like a strange question, but- I am converted all of my CD's to Lossless format. I also havesome AAC files that I purchased online. Lastly, I have some MP3s in which I have no high res format original (Lossless). I know converting Lossle

  • Possible to delete SC item after PO creation?

    Dear all We use Extended classic. I need a piece of info. I am able to delete the SC item after PO creation..! Is it allowed as per general business scenario. Is it possible to delete SC items after PO creation? How to curb this? Please share your va