Reseting filters in a Query View

I have a query built that has a good bit of logic.
For reporting purposes I'd like to create query views from this one query so I only have to change the logic one place when the user decides they want something tweaked.
I need a view by company, one by responsible person  etc ....
The problem arises that when you create the views the filters are "stuck" at what they were then (which makes the views much less useful).   My main issue is for time.  I want the Calendar Year/Month to be the value of the current closed month (the default value in the variable).  But I want the user to be able to change it <u>after</u> running.   
These views will be used in web templates.   I've tried a few things but the closest I've come is to have a button or link that when clicked sets the filter value based on another data provider.   I don't want that -- I want the value reset when the web template opens.  I tried putting the same command in the "Before rendering" of the web template properties but get a stack overflow error
Is there a way to save the navigation state of a query without saving the filter values?  Or is there a way I can reset the filter value in the web template?
I very frustrated

I am using the new NetWeaver2004s.
We usually just publish the template to the role & have the role in the portal so I'm not sure how to add that parameter in that case.
I tried adding to the end of the URL -- but apparently don't have the right syntax.  What syntax should I use?
I tried checking "Reset Variables to Default" in the web template with no effect

Similar Messages

  • Reset button to reset filters

    I have an query form with table displaying results from a View Criteria. When I click the "Reset" button in the query form, the search fields are reset, but the table filters are not. As a result, it is easy to make mistakes when searching. I want the "Reset" button to reset both the search fields and the table filters. Is this possible?
    I'm using JDeveloper 11.1.1.5.0

    Somehow I'm getting a Null Pointer Error:
    Caused by: java.lang.NullPointerException
         at view.Reset.queryOperationListener(Reset.java:130)
    I created a Java Bean to contain the queryOperationListener method (the name of my criteria is MyCriteria)
    public void queryOperationListener(QueryOperationEvent queryOperationEvent) {
            invokeMethodExpression("#{bindings.MyCriteriaQuery.processQueryOperation}",
                                   Object.class, QueryOperationEvent.class,
                                   queryOperationEvent);
            if (queryOperationEvent.getOperation().name().toUpperCase().equals("RESET")) {
                BindingContainer bindings = getBindings();
                OperationBinding operationBinding =
                    bindings.getOperationBinding("doQueryResultReset");
                operationBinding.execute(); // THIS IS LINE 130
                AdfFacesContext.getCurrentInstance().addPartialTarget(t1);
        }and then the following in AppModuleImpl.java (the name of my view is ZcApplView1):
    public void doQueryResultReset() {
            ViewCriteria vc = this.getZcApplView1().getViewCriteria("MyCriteria");
            this.getZcApplView1().removeViewCriteria("MyCriteria");
            this.getZcApplView1().executeEmptyRowSet();
            this.getZcApplView1().applyViewCriteria(vc);
        } How can it give a Null Pointer Error?

  • Refreshing drop down list in a web template based on a query view

    Refreshing drop down list in a web template based on a query view  
    I have just developed my first set of portal pages displaying the results of Bex queries and query views in the SAP Netweaver portal. I developed the pages using web application designer. Each web template created with W.A.D is using a query or query view. In one template I have that is using a query view I am using a variable in my Bex query. This variable is of type customer exit, is set to variable is ready for input and calls some ABAP code which returns the current fiscal week number and year. When I run the query or query view in isolation through Bex analyzer the variables gets populated correctly. In my web template I have associated my variable from my query view to a drop down list box. However when I run the Iview created from this template the query results get refreshed but my drop down list box does not, it still shows last weeks week number. How do I get the drop down list box to refresh with the latest result from my customer exit variable?
    Regards
    Collin

    Hi  ,
    According to your description, my understanding is that you want to  filter a calendar based a look up column in SharePoint 2013.
    Calendar View not support OOTB filters connection. it is disabled for calendar view, you need to change view(not calendar view) so OOTB filters works and get connected to your view.
    You can achieve this using combination of jQuery and SharePoint OOB techniques.
    For jQuery filters refer to the  blog: enter SharePoint List Filters using jQuery
    Also you can filter Calendar View Web Part using JQuery and SPServices:
    http://blogs.visigo.com/chriscoulson/filter-a-sharepoint-calendar-list-with-a-date-picker/
    http://joshmccarty.com/2011/11/sharepoint-jquery-and-fullcalendar%E2%80%94now-with-spservices/
    http://spservices.codeplex.com/discussions/258846
    Another  way, you can have a look at the SPFilterCalendar :
    http://www.aasoftech.com/SitePages/How%20to%20Filter%20SharePoint%20Calendar%20Dynamically.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Creation of Query View

    Hi All,
    Can someone pls explain me how to create a query view and what is its importance?
    Thanks in advance.
    Chaitra

    Hi Chaitra,
    i dont know which BW version you use but let me explain that for BW 3.5:
    1.) Local Views: If you navigate in your BEx workbook - for example you start a query and navigate in Excel - you can save the view state in the BEx workbook. Than this view is a local view stored in the BEx workbook. You can open this views by using the "jump" button in the BEx toolbar.
    For example you filter your query by different sales organizations and there are 4 sales orgs available. You can than filter and create a local view for each sales organization.
    Its a good way to switch fast between different views within a workbook without many navigation steps. Just a click or link is enough. End users like this.
    The view is saved "in the workbook".
    Hint: to save use the blue save button in BEx Analyzer.
    2. Global Views: You can navigate within your query in the BEx Analyzer and if you reached a good view state with the filters and the requested drill down you can save the whole view with any settings (query, characteristcs, key figures etc.) as a "global" view. In this case you must save the global view a description and a technical name. Now this view is saved "on the BW server" and any user can open this view by using the open function.
    And you can use this global view in the Web Appication Designer as an initial view for tables and charts. There are many more things you can do with it. For example: if you filter for example a special sales org in a global view, than you can use a drop down box (mapped with sales org in web application designer) and the drop down box is pre filtered with this sales org. As you can see global views are important for wen reporting.
    Hint: to save use the blue save button in BEx Analyzer.
    Global views can be openend in the excel or web.
    If you read the online help you will find more useful examples.
    Hope this helps.
    Regards,
    Adem

  • Query or query view in webtemplate

    Hi guys,
    I am working with one webtemplate and related queries/query views.we  have different strategy for changing if its query or queryview thats been used in template.
    1.How can I find if its Queries or Queryviews that been used for my dataproviders in my webtemplate?I am working with WAD3.5
    2.Whats the difference between a query and a query view?what difference does it make if we use query or queryview while building and using a webtemplate?
    Thanks alot.
    P Olin

    hi
    you should first understand that Query view is nothing but a modified view of the Query. You run a query, do some filtering, navigation or do some changes to the look and then save it as a query view. so the answers would be
    1. You open the data provider at the bottom of your webtemplate and there you can see if the data provider is a Query or a view (from the radio buttons)
    2. it makes no difference whether u use a Query or query view in a web template. It is up to you to decide in what format you want to see the web report. If you want the web report to display the report in the format of the Query, then you would use Query as data provider. If you have to show the web report in the format of the Query view, then you would use Query view as the data provider.
    thanks

  • Query Views on Workbook - filter doesnt work

    Hi All,
    I have developed a workbook using a query view, When i try to do filtering using the filter button the workbook data does'nt change. Can anyone of you advise what needs to be done.
    Thanking you.

    HI Rohith,
    Thanks for the quick response.
    I tried out what you have mentioned, it didnt work. query view is inserted into a data grid and created the workbook. Filter funtionality is available and its currently working during variable value entry. Once the report is generated filter doesnt work.
    any suggestions?
    Thanks.

  • Executing Query Views not populating Query Cache?

    Hi,  I'm executing 3 query views in a web template.  I was expecting this to populate the cache for the query which they are based upon, but they are not? 
    Can anyone verify this behavior?
    Thanks!

    Hi,
    A query uses a cache entry only if it is suitable for it regarding navigational status, filters...
    I recommend you to read this how to guide:
    https://websmp103.sap-ag.de/~sapdownload/011000358700004339892004E/HowToOLAPCache.pdf
    Have a detalied look at sections 3.4 and 3.5:
    <i>Cached query results can be used only for the same query. In some cases, real subsets of
    cached query result sets can be used; this is possible, if the three following requirements are
    met:
    • It is the same query ID
    • All selection criteria of the second query must be contained in those of the first call, i.e.
    the query result set of the cached query is a superset of the second query
    Note that the selection variable must defined as ‘changeable with query navigation’! If the
    variable was not changeable, the variable value would be part of cache entry key and,
    hence, the cache entry could only be used for exactly the same variable values.
    • The characteristics with differing selection criteria are included in the drill-down of the
    cached query result</i>
    Hope it helps,
    David.
    Message was edited by: David Sirvent

  • How to create a query view in sap bw?

    can any one please tell me how to create a query view in sap bw 3.5?

    Hi,
    you can do this by using Bex analyzer and WAD ..
    gop through this link ..
    http://help.sap.com/saphelp_nw70/helpdata/en/0e/1339427f82b26be10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    hope this helps you ..
    Reagrds,
    shikha

  • Error while saving a query view

    Hi All,
    I am trying to save a query view in my favourites and it is failing with below message:
    Namespace '/BIC/' must be set to 'changeable' (transaction SE06)
    I have created many query view so far, this issue has just started. Could you please help us with this, as it is very urgent.
    Thanks and regards,
    Shashidhar.

    Hi,
    Please set the setting as described in note 337950, it will help to fix the issue.
    solution:
    Releasing the object changeability
    This setting is only intended for production or test systems that are
    set to not changeable. It is not suitable for development systems.  For
    this reason, this setting is only effective if at least one of the
    conditions specified under 'Cause and prerequisites' is met.
    Go to the Administrator Workbench (Data Warehousing Workbench,
    transaction RSA1) -> 'Goto' -> 'Transport Connection' and choose 'Object
    Changeability'. To display the function, you may have to enlarge the
    window or press the arrow keys nearby.
    In the following dialog box you can select the object types that you
    want to be changeable, even though the system is set to not changeable.
    These objects are not connected to the transport system; this means that
    no transport dialog boxes are displayed. This only applies, however, if
    the preconditions mentioned under 'Cause and prerequisites' are met.
    First, after releasing an object type, only objects that are original,
    that is, those that were created in this system  can be changed. This
    prevents changes to objects that were imported into the system. However,
    changes to these objects may be overwritten again during a new
    transport.
    You can set all objects to changeable (even the ones imported into the
    system) using the context menu (right mouse button), although this
    setting is not recommended for the reasons mentioned above.
    Thanks,
    Venkat

  • Query View name not saved in "Analysis Grid Properties" under Data Provider

    Hi BW World;)
    We are on BI 7.0
    I have created a BI workbook which contains a query view.
    However when we go into design mode and then "analysis grid properties" for this query view then "change data provider" it does not show the query view name but the query name. (we have saved the workbook)
    Is this the normal scenario?
    Surely should show the "query view name " and not the "query name" as confuses what data provider is being used?
    Is this a bug?
    Best
    Stevo.... Points of course... Thanks in advance.;)
    Edited by: bw4eva999 on Sep 10, 2009 4:40 PM     spelling

    Hi,
    You have created a workbook on top of a Query View which is again depends on a Query.Now the base for Query View is a Query.So the underlying Data Provider for a workbook is a Query.
    Hence when you go to Properties of grid->Change Data Provider,it shows the Query and the InfoCube,but not the Query View.
    So this is not a bug and this how its been designed.
    If you click for the Information of that workbook,it will show the Query and Info Provider,but not the query View.
    Though it looks like wierd,it is not a bug.
    Rgds,
    Murali

  • BEX Query Views - Reqd in PRD but need to create in Dev - Data Issues

    Hello Bw Gurus 
    BI 7.0 ECC 4.7
    We have a BEx Query in BI production which uses a work centre hierarchy. The user wants to create query views on this query to use in BI production.
    Our normal transport procedure of a new development object would be BI DEV - QA - PRD
    However the DEV environment does not have all the work centres and the data of PRD. So if the query view needs to be created in DEV then we could not set up the view correctly as there is not the workcenters or the data in DEV.
    Hopefully that makes sense?
    Apart from allowing Query Views to be created in BI PRD directly is there any solution?
    Best,
    Steve Jones

    If you need exact char values for workcenter to create your views you can quickly create the master data (just the values you want) in Dev and use them to create the views...

  • Unable to open a query view in web analyzer

    Hi All
    In web analyzer i have saved a Query view, Using save as tab.
    when i tried to open that Query view through open tab in web analyzer it is throughing some exceptional error.
    Is this the right way to access the saved query view, can anyone help me with your suggestion?
    Thanks
    Sushma

    Hi,
    Check this
    [http://help.sap.com/saphelp_nw70/helpdata/EN/43/bc5c78da1e1bbce10000000a1553f7/frameset.htm]

  • What is the difference between query & query view in BI 7.0 ?

    Hi Experts,
    What is the difference between query & query view in BI 7.0 ?
    Can anyone suggest me on this.
    Thanks & Regards
    Sameer Khan

    Hi Sameer,
    Pls find the below URL for Query&Query View
    http://help.sap.com/saphelp_nw04/helpdata/EN/26/6de53cce129749893b008c627ede07/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/36/18788b6bca5d02e10000009b38f983/content.htm
    Thanks,
    John

  • Display Multiple reports in a single query view

    Hi Team,
    I have 3 similar reports for MTD, QTD & YTD.
    While displaying the report in the portal..  I want to display the reports in a single view wherein the MTD report will be a default report for the input selections. whereas the QTD & YTD will be available as dropdown options in the same query view and the wll be executed for the same input selections.
    Please advice how to design the view.
    Regards
    Sneha

    Hi All,
    I have created a Web Template for my requirement.
    Now while adding the template to my Transport request, I am getting the following error message:
    Object 'BTMP::0ANALYSIS_PATTERN_EXPORT' refers to the invalid object 'QU::'
    Object 'BTMP::0ANALYSIS_PATTERN_INFO' refers to the invalid object 'QU::'
    PLEASE ADVICE...
    Regards
    Sneha
    Edited by: Sneha Santhanakrishnan on Aug 8, 2011 12:18 PM

  • Create A Query View!

    Hi ALL
    how to create a Query View for TeMplates?????
    Thanks
    BI Learner

    hello,
    Query views are saved version of query output with particulr navigational state
    The advantages of query views are:
    Query views can be used as the data providers when you are creating web templates.
    They are also used as jump targets. They are created after you execute the query, from the Save button, you can Save View global, or save as jump target.
    They can also be used to  format the query e.g hide some characterictic, display/hide result rows, sorting keyfigures etc.
    Reg migration:
    All existing SAP BW 3.x queries can be edited with the SAP NetWeaver 2004s BEx Query Designer without further manual adaptation.
    After editing with the SAP NetWeaver 2004s Query Designer, queries cannot be edited with the SAP BW 3.x BEx Query Designer anymore.
    Queries created or adapted with the SAP NetWeaver 2004s BEx Query Designer will still appear in the Open Dialog of the SAP BW 3.x Query Designer, but they cannot be opened anymore
    Views:
    Query Views that were created before upgrade/migration will still run after a query has been changed with the SAP NetWeaver 2004s BEx Query Designer
    In general query views do not need to be migrated
    Regards,
    Dhanya

Maybe you are looking for

  • Anyone had problems with iPhone 5 not charging?

    My iPhone 5 stopped charging around 2 weeks ago, I have bought new plugs and cables but still get nothing when it's plugged into the mains or USB. Has anyone else had this issue?

  • Urgent help pls -  an authenticate codes

    hi every1 can u pls help me. i need a jsp program where it authenticates the mem_ID and password which is in the login table in the database. if valid then will forward to the login.jsp or else index.jsp thanks for helping.

  • Regarding ESB Deployment without using JDeveloper

    Hi, I would like to deploy my ESB application without using JDeveloper. BPEL Designer automatically creating the build script to deploy the BPEL application. Is there any ant script available to deploy the ESB application in to Oracle integration ser

  • From where can i download essbase latest version

    Hi, I am looking for essbase latest version.  i have checked oracle downloads and did not find anything there.  from edelivery I see only hyperion.  can anyone tell me from where can i get essbase installer,  essbase studio and other clients. thanks

  • Motion, Shake, Flash, etc.??????

    I am looking for a reasonably costing program to do some 2D annimation. . . simple things like taking vector created logo's and explode the pieces, rotate etc. then incorporate them into presentations, web etc. I used LogoMotion a few years back and