Hierarchical filter in Web Reporting

Hi,
I'm working with BI 7.0 SPS13 and the problem is the hierarchical filter displays every characteristic node using a very long text linking every attribute of the base characteristic along with it's values. For example:
Gcia.Tecnica, Ind gpo.compradores: #, ID org.compras: #, ID encargado compras: Sin asignar, Unidad organizativa es sociedad GL: Sin asignar, Sociedad CO del centro de costes maestro: ANC1 ANCAP, Ind.grupo vendedores: #, Ind.oficina ventas: #, Ind.organiz.ventas: #, Org.servicio ej.CRM: Sin asignar, Grupo vendedores CRM: Sin asignar, Oficina ventas CRM: Sin asignar, Org.ventas CRM: Sin asignar, Org.servicio CRM: Sin asignar, CeCo maestro: 203560 GRALES. TECNICA, Centro: # Sin asignar, Org.compras: # Sin asignar, Grupo de compras: # Sin asignar, Organización de ventas: # Sin asignar, Grupo de vendedores: # Sin asignar, Oficina de ventas: # Sin asignar, Sistema fuente: DES Mandante 500
That is just one node, imagine a complete hierarcy!

Hi Martin,
In query designer go for the properties of the characteristics on which the hierarchy is active, under display as you have 2 windows, the 1st window allows
you to choose key, key+text, text etc, and the 2nd windows allows you to retract you selection 1st window to standard or short text. probably choosing short text would solve your problem.
**Assign points if helpful**
Peter R

Similar Messages

  • Regarding Filter in Webi Report which is based on BEx query

    Hi,
    I am developing Webi report, in which using universe which is baed on BEx query.
    Suppose BEx query contains filter on fiscal year 2010.
    And I am developing Webi report on that query. So I want to know, whether my Web i report output will contain data of only fiscal year 2010, as filter is applied in BEx query.
    Thanks,
    Pradip Nikam

    Hi,
    if this is a fixed filter the data will be filtered.
    if this is a variable in the BW query the user will get prompted.
    ingo

  • Filter in Webi Report.

    Hi Experts,
    When I am trying to filter the table with "Total Value Final" not Equal to Zero, all the measures would become #UNAVAILABLE.
    Withou Filter
    with Filter on Total Variance Final <> 0
    Formula written for Total Variance Final = If ( Userentry <= TotalVarainace Final ) then TotalVariance Final.
    Please note - User entry is prompt in the report.
    Please advise.
    Thanks.

    Hi Abhimanyu,
    Try changing the type of the below variable (Total Variance Final) in WebI to MEASURE instead of Dimension.
    Total Variance Final = If ( Userentry <= TotalVarainace Final ) then TotalVariance Final.
    This should solve the #UNAVAILABLE error. Let me know if it does.
    Regards,
    Srilakshmi B

  • 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 create @prompt filter at universe level for my Webi reports

    Dear all,
    I am using BO XI 3.1 SP3 with SAP BW 7.0.
    I have created an open[big] query based on a multiprovider for my OLAP universe.
    OBJECTIVE: to create LOV prompts for Calender year, for my webi reports, which takes 2010 as input then offsets the input year and then shows Gross sales for the prompt year [2010], 2009 & 2008.
    ISSUE: if 2010 is selected in webi prompt filter, then it doesn't display any data for any other year, lets say gross sales for 2009.
    ALTERNATIVE: i tried to create a prompt filter in the universe with this syntax,
    <FILTER KEY="@Select(Calendar year\Calendar year).[TECH_NAME]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="@Prompt('Enter year','N',,Mono,Free,Not_Persistent)"/></CONDITION></FILTER>
    it worked fine. but i also want to create a measure or dimension which subtracts 1 from the above filter and return a result with a previous year.
    e.g
    PROMPT: 2010
    PROMPT-1: 2009
    Universe structure
    [TIME]                         class
      [Calender year]        class
         [Calender year]     dimension  ( type:string)
    Please guide me with correct procedure and syntax.

    masood44 ,
    I think you should just prompt for year and capture and use the selection at the webi report  level.
    say you have calendar year(convert it into numeric) prompt at webi level. say user selects 2010 capture it in a variable var1:userresponse('enter year'). then create a variABLE (var2)  with formula :
    if(isPromptAnswered('enter year')='yes';([year] where year inlist(var1;var1-1;var1-2);null)
    build your report with var2 and gross income
    Thanks,
    Karthik
    Edited by: kbharadwaj79 on Jun 2, 2011 5:34 PM

  • With filter values iam not able to see out put of a  web report

    Hi,
    I had a web report. for the webreport,data provider is Query. My requirement is to change the description of calculated KF. I have changed the description of Calculated KF in Query and transported it to Quality system. But when i execute the Web Report directly in web browser the changes in the description of calculated KF are shown. But when i execute through some URL with some filter values in the web template iam unable to find the changes.
    Please help me on this.
    Thanks & Regards
    Bharathi

    Hi Ajay,
    i had a web template. For this web template query is the data provider. In my requirement i need to change the description of calculated key figure.
    Calculated key fig: OED Disconnect
    Change description of Calculated key figure from OED to IEG(IEG disconnect).
    I have changed the calculated KF desc from OED to IEG in development and transported to quality system. i can even find the changes in query also.When i execute the web template built on query directly through browser iam able to see the change in the description of calculated KF.
    But when i execute through some URL(http:// bwqa/sap/bw/pub?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=T_ECA_DTL_REPORT_BYUNIT&FILTER_IOBJNM_1=ZMREQCC&FILTER_VALUE_1=000001522&DATA_MODE=HYBRID) with some filters like  filter_iobjnm_1= ZMREQCC and data mode = hybrid iam unable to find the changes in the calculated kf description.
    But when i execute the url (http:// bwqa/sap/bw/pub?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=T_ECA_DTL_REPORT_BYUNIT) without filter values i can find the changes in the description of calculated KF.
    Kindly update me why the changes are not reflecting when i use filters.
    Thanks & Regards
    Bharathi

  • Filter condition for Webi report scheduling

    Hello,
    I have a Webi report with a query that has one filter (it states the starting and ending date of data to be displayed in the report). This report has to be scheduled but it has to contain different filter values each time the report is run.
    I'd like to know if there is a way to schedule this report taking into account that each iteration of the scheduling process has to use different values for the filter.
    On the same way, the Webi report has a XY diagram with a text title made up of a fixed literal label. Is there any way to inject the text title from the scheduling process (in order to avoid editing the report before each scheduling iteration occurs)?
    Thanks a lot!

    Victor,
    one filter (it states the starting and ending date of data to be displayed in the report). This report has to be scheduled but it has to contain different filter values each time
    There are a couple of ways to handle this requirement, depending upon other environmental factors.  Here is one method, but it requires the ability to update/change data at the database using an external tool (anything that permits processing transactional information).
    You can set up an additional table with two columns:  starting_date and ending_date
    Someone updates the additional table as appropriate before the next run will kick off in the schedule.
    The tricky part is in getting your current report to incorporate the other table, and for this you may need to either create a view in your database or a derived table in your universe.  Here is the rudimentary SQL structure that might work for you:
    create table start_end_dates (beginning_date datetime,end_date datetime)
    go
    insert into start_end_dates values ('9/1/2009','9/30/2009')
    go
    create table my_data (col_a char(1),month_id datetime)
    go
    insert into my_data values ('a','9/1/2009')
    insert into my_data values ('a','10/1/2009')
    go
    select *
    from my_data
    where month_id >= (select beginning_date from start_end_dates) and
          month_id <= (select end_date from start_end_dates)
    The start_end_dates table is the one that receives a single input, populated with the starting and ending date of data.  The "my_data" table is an example of how the source table can call in the "parameters" of the "start_end_dates" table to fulfill its quest for filtering (additional filtering on other things within your scenario can also be applied).
    Once you can get the mechanics of the SQL to work for you (either in the universe or a view), then you can set the report up to work hand-in-glove with the above structure.  In the report, you can either have a second data provider that selects on the "start_end_dates" table, storing that data in the report and displaying it somewhere, or you could use the min(month_id) and max(month_id) concepts and display that somewhere too.
    Thanks,
    John

  • 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

  • Hierarchical Filter Web Item causes validation warning.

    When I validate my web template which contains a hierarchical filter web item agianst the server I get the following warning (W1):
    Mapping for Service item_validation_service for Object HIERARCHICAL_FILTER_ITEM missing
    Maybe this also relates to my problem of not having the possibility to choose a characteristic for the hierarchical filter (see my post <a href="https://forums.sdn.sap.com/thread.jspa?threadID=209968&tstart=0">https://forums.sdn.sap.com/thread.jspa?threadID=209968&tstart=0</a>)
    How can I fix this mapping issue?
    Thanks to any answers in advance.
    Best regards,
    Philipp

    Hello,
    Your first problem is that ABAP SP does not equal Java SP. This is not a valid scenario.
    Please update both to <b>the same SP level</b>.
    After it, please retest your problem. I think that the problems will be solved (at least this one with validation service).
    Short explanation to validation service:
    Every template created in WAD will be validated before saving it. We have two validations:
    1. one is locally with the meta data this checks if:
      - all used parameters are on its place,
      - all parameter values are valid,
      - all defined items are existing...
    2. second one is extended validation on the Java Server: this one checks i.e. following:
      - are all used data providers valid
      - are all used characteristics valid
      - item dependent validation (e.g. if one item needs a dependency between to setting - this can be checked here)
    The first one will be executed in Front-End and in ABAP Back-End. The second one in Java. Because your Java stack is /probably/ lower than ABAP, this validation does not work.
    I hope I have explained it clearly.
    Regards, Karol
    BI Development

  • Selection Screen on Web Report only show filter area varieables.

    HI ,
    I am using WAD 3.5 and web template uses the query developed in 3.5, This report has two selection variables one in filter area and one in Rows section.
    We recently did the Ehp 1 upgrade and after that it automatically showing only variable selection for character in Filter area. To show all I have to hit "All".
    For Query designer query I was able to change the property in RSRT but for Web report I am not able to change and it is still showing only one selection screen instead of Two .
    Have you faced any such issue. Please can you share your thoghts on how to correct it.
    Best Regards
    Som

    Hi,
    if you are able to see both variables in rsrt we could say that the variable definition are ok ( option: ready for input in variable definition)
    So open the web report on web application designer and in the web template Properties search for "Force Variable Screen display" option and check this option.
    Hope it helps,
    rp

  • 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

  • Web report - return drilldown state & filter values using Javasript

    I am customising a BW web report using Javascript.
    Can anyone tell me how I can read whether a particular characteristic is drilled down and the filter values applied using Javascript?
    thanks,
    Hans

    Hi,
    for the drilldown state use:
    SAPBWGetDataProviderDimensions
    http://help.sap.com/saphelp_nw04/helpdata/en/af/00453c3ff4110ee10000000a11405a/frameset.htm
    for example:
    var dim = SAPBWGetDataProviderDimensions("DATAPROVIDER_1");
    if (dim != null){
      for(m=0;m<dim.length;m++){
        if (dim[m][4]=='X')
               alert(dim[m][0] + ' is in Columns');
        elseif (dim[m][4]=='Y')
               alert(dim[m][0] + ' is in Rows');
    As for the applied filters: You need to use the web item filter with generate_caption= and only_values=X inside a <span>-tag with an id. then use document.getElementById('YourId').innerHTML to get the applied filters.
    Heike

  • Filter not working for a Webi report

    Hi There,
    We have a BOBJ Webi report having variable selection screen when I run the report with default fiscal year Ex.2012 it's working fine. Then by click on refresh button and trying to change selection value to Ex. 2013 and I'm unable to see any values even though it has values for 2013.
    When I click on the filter bar then the values are appearing. Could anyone please let me know what could be the reason for this issue and how can we avoid this.
    We are in BOBJ 4.0 SP6.
    Thank you,
    Regards,
    Shiva

    Hi Jakub,
    Thanks for the reply, Please find the screen shots below
    1. Report initial screen running with the default prod year for 2012 and it's working.
    2. Then I click on refresh and run for another prod year it's not displaying values even though it has values for that prod year.
    3. When I click on filter bar then the values are appearing. Not sure why it's behaving like this?
    Also note that there is no filter, under query filters. Please give me any idea about this issue.
    Regards,
    Shiva

  • 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

Maybe you are looking for