Applying a filter to an existing webi report without requerying

Hi,
I'm trying to apply a filter to a webi report using the Report Engine Java SDK.  Here's a snippet of my code:
    DataProviders dataProviders = doc.getDataProviders();
    DataProvider dataProvider = dataProviders.getItem(0);
    Query queryObj = dataProvider.getQuery();
    ConditionContainer cc = queryObj.getCondition();
    if (cc == null) {
        cc = queryObj.createCondition(LogicalOperator.AND);
    ConditionObject co = cc.createConditionObject(filterObject);
    FilterCondition fc = co.createFilterCondition(Operator.EQUAL);
    FilterConditionConstant fcc = fc.createFilterConditionConstant(filterValue);
    dataProvider.runQuery();
But my problem with this code is that it needs to query the data provider to refresh the report.  And it has to requery the data provider each time I want to apply a different filter value like in the case of report bursting.  Is it possible to apply a filter to the webi report without requerying the data provider?
Many thanks to anyone who could help.

HI Elijah,
I need a bit of clarification here.  Are you seeing the actual query being run against the database each time, or are you referring to having to retrieve the query from the dataprovider each time?
If you are actually seeing the query being run - then that is something that should be investigated, however with regards to just retrieving the query from the dataprovider - yes you do need to do that in order to apply a filter.
Thanks
Shawn

Similar Messages

  • Access table directly from database in BO 4.0 WebI Report without using Universe

    Can i use the table avilable in database directly to make BO 4.0 WebI Report without create any universe. 
    I realy appeiciate your help.
    Thank you in advance.

    You need to create a universe for Relational SQL databases. Universe is a must. The reason you create universe is for the end users. WebI is designed for end users to create their own reports. It is a self service reporting tool. In order to do that, you need universe which allows users to query database using SQL without knowing SQL language.
    If you don't want to create a universe for reporting then you can use Crystal Reports instead of WebI

  • How do I apply a filter to a video clip? (Without having to do it individually to each frame)

    How do I apply a filter to a video clip? (Without having to do it individually to each frame)

    put levels on which you want to apply the filter, you will see them in the time line as a group ten apply filter, you can also adgust them all in time line...
    sam

  • WebI report without universe in SAP BO BI4.0????

    Hi is it possible to create webI report without universe in SAP BO BI4.0???
    If possible please let me know briefly how to do it, 4.0 is something new and I can't figure whether it is possible and if it is possible is it good practice to go without universe or with universe?

    you can create webi report directly against BICS connection or against personal data providers (using Desktop client )
    you can find ore details in WebIntelligence user guide at http://help.sap.com/businessobjects

  • Apply a filter condition in Dev. Report Reports Parameter Form...!

    In parameter input form, I want to apply a filter condition on second list box field, depending upon first list box field.
    For example, I have two user input parameter fields
         1.     Deptno
         2.     Empno
    Now while selecting a department number say 20 from first list box field, then in the second list box filed, there should only be shown /appeared those employees, whom department numbers are 20 (Employees belongs to department number 20).
    How can I apply this sort of filter condition on second field of Parameter Form, which I had just got from the first list box field?
    Farhan Mazhar

    hello,
    the reports parameterform provides only limited form building capabilities. if you are running oracle forms, you could build the parameter-form with forms. if you are running your reports on the web, you could build a parameter-form in HTML and JavaScript.
    in fact we are working on an example on how to build such a parameterform in reports and we will make it downloadable from OTN soon.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • How to apply Table level Break in the WEBi Report

    Hi,
    How we can apply the table level break in the WebI Report.
    I know a bit bt i dont know its right or wrong.. Initally we normally create a table(with the values(which has 2rows(1: for naming  and 2: for associating the object with it at down of it  ie., one above and one below)) and at the top of that present table we will insert a "ROW ABOVE" to the naming row and then we insert a "Row below" to the object values  and drag the first coloumn of the first row almost invisible(naming row) and then the same in next row(objects associating values for naming)... is this ryt.. if NO  thn let meknow the various ways to do it..
    Thank you in Advance....

    Hi,
    what is your requirement. if to show subtotal then create one table and select one column and apply break.
    Thanks,
    Amit

  • Retrieving Query Filter conditions for a WebI Report

    I'm developing a Java program using the Business Objects SDK to gather all relevent data from a WebI report and export it to a XML document.  I'm having an issue retrieving the Filters correctly.
    Right now I have a method that retrieves a query from a query container. Then I retrieve a condition container from the query.  After that I use a loop to get the filtercondition nodes in the conditioncontainer and I get their name and ID's.  My goal is to get all the information the object, the dimension, condition, and values seperatly instead of it all printing out together. For example my code prints out this as the filter name : "Period Of Time_Air Date Greater  Enter Start Date:" .  The name contains all the information from the filter but is there a way to get each peice of information for the filter seperately. 
    I'd appreciate any help.
    Edited by: ccmagrane on Feb 28, 2011 8:55 PM
    Edited by: ccmagrane on Mar 3, 2011 2:42 PM

    Please find below a snippet code that shows how to access those objects:
    Query q=oDataProvider.getQuery();
                ConditionContainer condCont=q.getCondition();
                ConditionObject condObj=null;
                FilterConditionNode fcn = null;
                FilterCondition fc = null;
                 FilterConditionValue fcv = null;
                FilterConditionContainer fcc=q.getCondition();
                if(fcc==null)
                        continue;
                int conditionCount=q.getCondition().getChildCount();
           for(int jj=0;jj<conditionCount;jj++)
                  fcn=fcc.getFilterConditionNode(jj);
                  System.out.println(getConditionLabel(fcn));
                  if(fcn==null)
                   continue;
                if(fcn instanceof AdvancedCondition)
                        AdvancedCondition ac=(AdvancedCondition)fcn ;
                        int nDim= ac.getResultObjectCount();
                else if(fcn instanceof ConditionObject)
                   condObj = (ConditionObject) fcn;
                    fc=(FilterCondition)(condObj).getOperand();
                      if(fc!=null)
                          System.out.println("==================================================");
                             System.out.println("Operand Count - " + fc.getOperandCount());
                             for (int k =0; k < fc.getOperandCount(); k ++)
                               fcv=fc.getOperand(k);
                                   System.out.println("Operand Value - " + fcv);
                              System.out.println("==================================================");
                                 System.out.println("==================================================");
                                System.out.println("Condition Name - " + fcn.getName());
                                System.out.println("Condition Data Source Object - " + condObj.getDataSourceObject().getName());
                                System.out.println("Condition Operand - " + condObj.getOperand().toString());
                                System.out.println("Condition Operator - " + fc.getOperator());
                                System.out.println("Condition Operand Count - " + fc.getOperandCount());
                                 System.out.println("==================================================");

  • Showing filter values in a web report

    hello experts,
    I have a web report with 3 web item tables, each one has a query assigned. I'm using 0CALMONTH as a filter but the value for this is not displayed when running the web report. Is there a way to display the value for this filter together with the results? Can I use the web item filter?
    Many thanks.
    Inma

    Hi.
    The Web Item Filter only works for filters that are selected manually by the user.
    The easiest way would be to provide a variable for entry of 0CALMONTH. This variable can then be shown with the WebItem Text Element.
    Regards,
    Beat Stoller

  • Modifying existing webi report BO 4.0

    Hi Experts,
    In pre-production system I executed webi report, went to Design mode --> Drag & drop a new object to the report. Then by mistake clicked on Save  instead of "save As" This made changes to the original report.
    I have below doubts, pls clarify.
    1.) Will this affect the OLAP connection between report & data source?
    2.) Do I need to made any connection again for this report somewhere?
    3.) Will this affect the original report in production in any manner?
    Thanks.

    1.) Will this affect the OLAP connection between report & data source?
    Since the changes were made only to the WebI report, there won't be any impact on the Connection.
    2.) Do I need to make any connection again for this report somewhere?
    Not needed. As mentioned before there will be no impact on the Connection.
    3.) Will this affect the original report in production in any manner?
    It will only impact if you migrate the report to Production. Revert back the changes in Pre-Prod box if it is small change else just ask the Admin team to do a reverse migration from Prod to Pre-Prod Box

  • Web report without userid and password

    Hi Experts,
    I exported a BW web report to excel spreadsheet and sent it through mail to others, When recepients tried to open that exported spreadsheet, It is prompting for userid and password. I dont want this to be happened and it should open without asking userid / passsword? Can any one suggest some clues onthis.

    Check to see if they are looking at the data or running the report.  If they are running the report, then they will be prompted for the user id and password.
    You can run the report for them and download the data only, then they will not get the prompts, however they will not be able to update the data or drill down.
    Alternatively, you can use the Broadcaster to send out the updated reports directly to them.
    Brian

  • Webi report without measures

    Hi All, I have a Sales order universe created on top of BEx query. When users are running webi report with only Sales Order and sold to party, webi is not returning any data. When I add a measure to this report it is returning data. From BEx I can run a report and getting data for Sales order and sold to party combination. Why is Webi not returing any data? How can I make my webi to work with these kind of master data combinations?
    Thanks
    Sasi

    So are you looking for both master data and transactional data in the report? If it is just the transactional data you could build a dummy key figure EG: number of rows in the bex and pull into the webi report.

  • How to add a new filter in an existing web service method (BIWS - WEBI document)

    Hello Experts, we have 7 web service query's connected to a dashboard. Basically it is one WSDL URL and 7 Get Methods...Web service queries are BIWS (via WEBI document instance). There are filters setup for each of these web service methods.
    Recently there was a request to add 2 new fields to the webi document and also the 2 fields need to be included as filters in the 7 methods. I know there is an option to edit the method, but when i edit the method, i cannot find the 2 new fields in list to set as filters.Can anybody help me understand how to add filters to an existiing web service method? I do not want to delete the method and republish the block as web service.
    Any help will be great and points rewarded.
    Thank you
    Ann

    Hi Ann,
    The reason you are not able to see any of the new columns as a option to select in your web service block is because when you have published that block, they were not present. Add these two new objects in your block and publish it again. You will be prompted for duplication content. Select the highlighted block for duplicate and now you can see the new added objects in the filter option. Update and this will overwrite your published block. Please note, web services do appear to behave weirdly when used with dashboards so I request you to please try it in a separate test report first.
    Hope that helps.
    Regards,
    Tanisha

  • Web Report Drilldown filter

    Hello,
    I have a report that I view on the web.  When i drilldown by material, everything displays correctly, however, when I then go and filter that drilldown, For example, I only want to see materials that start with 50, so i say filter using 50*. I then don't get any values, and there should be values.
    For 'Description of Filter values':
    I check the box
    I change the drop down to be '=' then I type 50*
    the last drop down says 'include'
    I then click 'Transfer'
    I get a message 'No Applicable Data Found.'  
    Also at the top it says - "Invalid Filter.... Filter changed"  when i click on that message I see:  Notification Number BRAIN 502
    Is there a way to filter 'Free Characteristics' on Web Reports using wild cards?
    I am using BW 3.5
    Thanks,
    Nick
    Message was edited by:
            Nick Bertz

    Change the Boolean drop-down from "=" to "[]", then use a range of "50" to "51".
    Hope this helps...
    Bob

  • Drill function implemented on Measure object column in the webi report

    Post Author: madan kumar
    CA Forum: WebIntelligence Reporting
    Hi,
    I have a small issue in my project.(Maintenance Project)I created a measure object in the fact table of the existing universe and saved and exported to the repository. (Say Measure object is D where D = A-(B+C))I inserted the same object as a column between two measure objects columns of a existing WebI report.
    The report has two hierarchies involved  - each hierarchy has dimension objects involved.I have checked with the hierarchies to make sure that measure object is not involved.The scope of analysis is None for the query.Version is BO XI R2.
    The issue is the Drill function is implemented on that particular new column.The drill function should be applicable only to the two dimension objects involved in the report.But this measure object column is also getting drilled once the Drill option is selected.I had to remove the drill optiion from the Measure object column.
    Can anyone help me on this issue...
    Thanks in advance...
    Madan Kumar

    Sushil
    Thanks for your reply. I did the date diff on the columns. It does not  break into 3 different groups. I am using a function called previous on the date column. So the report is like this
        DATE                           Pervious (DATE)                 Date - Pervious(DATE)
    01-01-2008 01:06              Null                                
    01-01-2008 01:12              01-01-2008 01:06               :06
    01-01-2008 01:18              01-01-2008 01:12               :06
    01-01-2008 01:24              01-01-2008 01:18               :06
    01-01-2008 01:30             01-01-2008 01:24              :06
    01-01-2008 01:36             01-01-2008 01:30               :06
    Basically we are breaking on the Date - Previous ( Date) column which does not work. I am not sure if there is a way to break this. I even tried it in Crystal REports XI and it does not work their either. Any help with this issue with be greatly appriciated.
    Edited by: Srinivasa Prabu on Aug 4, 2008 2:55 PM
    Edited by: Srinivasa Prabu on Aug 4, 2008 2:56 PM

Maybe you are looking for