Filtering characteristic / ODBO

hello,
I want to restrict a characteristic to certain values, e.g. restrict the product characteristic to only show values for a certain product group. The characteristic is used as a free characteristic in the query. I added a filter selecting this product group. BEX Analyzer only shows products of the filtered product group, as expected, but when using an arbitrary ODBO client, the product hierarchy still shows all values. Is this by design? Can I use such a filter to restrict metadata or is it just for filtering data values?
Thanks in advance.
Guido

here's my MDX query for retrieving the members of the product dimension.
SELECT {[PRODUCTS                      ALLE PRODUKTE].Members} ON AXIS(0), {} ON AXIS(1) FROM [ANALYSIS/TEST_BISSANTZ] CELL PROPERTIES VALUE SAP VARIABLES [WINTER2] INCLUDING [PRODUCTS                      ALLE PRODUKTE].[CAR TIRES WINTER                PRODCAT]
there are several product groups (summer tires, winter tires, all season etc.). the variable should restrict the products to winter tires but I always get all products.

Similar Messages

  • Mdx Query performance problem

    Hi
    Is there any way to control the performance of Mdx expressions that use the Filter function? The following Mdx statement is an example of a query we are generating to return filtered characteristic values for users to make selections for variables.
    Note: It is intentional that the column axis is not populated as we are interested only in the returned characteristic values.
    SELECT {} N COLUMNS,
    Order(
         Filter(
              {[ZPLANTYPE].[All].Children},
              (([ZPLANTYPE].CurrentMember.Name >= 'a' AND [ZPLANTYPE].CurrentMember.Name < 'b') OR
              ([ZPLANTYPE].CurrentMember.Name >= 'A' AND [ZPLANTYPE].CurrentMember.Name < 'B'))
         [ZPLANTYPE].CurrentMember.Name, BASC
    ) ON ROWS FROM [$IC_FLT]
    In a real example with 162,000 charateristics this query is taking up to 5 minutes to run - clearly unacceptable as part of a user interface. It appears that behind the scenes a sequential read of the underlying dimesnion table is being carried out.
    It is difficult to create a more sophisticated query due to the lack of string handling logic in the raw Mdx language.

    Hi,
    I have been through the queries, and understand that the "_MSCM1" is being aggregated across Product and Paid Amount from the query extract below:
    member [Accounts].[_MSCM1] as 'AGGREGATE({[_Product2]}, [Accounts].[Paid Amount])'
    If I am getting it right, there is an aggregation rule missing for [Paid Amount] (I think that's the reason, the query is to aggregate _MSCM1 by "Paid Amount" ie just like any other dimension).
    Could you please check this once and this is why I think BI is generating two queries? I am sorry, if I got this wrong.
    Hope this helps.
    Thank you,
    Dhar

  • Issue with Free Characteristic filtering in BEx Query

    We are using Cost Center hierarchy as a free characteristic in the report and when the user tries to apply a filter for selecting a particular cost center, we are able to see both the Key and Text.  But after the query applies the filter and if we go back to change the filter from one cost center to the other, we are not able to see the Text of the cost center.  It is just displaying the cost center number.  The only way we can get the text back is by refreshing the query.  Any suggestions on how to avoid this problem?
    Thanks
    Madhav Nanduri

    I tested couple of other reports where the cost center hierarchy is created as a free characteristic and the problem is appearing in all the queries.
    Thanks,
    Madhav Nanduri

  • Free Characteristic, range value, filtering query for iveiw in WAD

    Using the web application designer I am adding a query (BW 3.5) to a sales portal (EP 6.0) of all projected wins (custom characteristic on opp header).  Sales has requested I provide in by mth and by qtr.  I created value ranges in my projected win characteristic in the query of 4/1-4/30,5/1-5/31 etc. and have attempted to use the
    Filter
    Navigation block
    and
    Drop down and radio were I get every date of the month and not just the ranges I created.
    Can I do this through a query and and the WAD or do I have to do some custom work.
    Will award points!
    Maggie

    Hi,
    the feature you are requesting is called "Master Data Planning". Unfortunately it is not supported by SAP. Please use the term "master data planning " to search this forum and you will find some threads about this issue.
    Hope this helps
    Matthias Nutt
    SAP Consulting Switzerland

  • Multiple filters on a characteristic

    Hi;
    In my query, i have a filter on 0PLANT - selection option, mandatory, processing type - authorisation.
    In addition, i need another filter on '#' - hardcoded.
    If i apply this filter and do a check, i get an error - SELOPT / Query variable # does not allow any further selections.
    Is there any other way of applying this filter?
    Thanks!

    Hi,
    Try to follow these steps
    1) In query designer , goto chararteristics restriction, 0plant -> right click-> restrict->single value-> select "#" and proceed with ok. its not giving any error for me, so I hope it will help
    Alternative
    2) try to use condition.
    Sangita

  • AND/OR operator while filtering query results

    Hello all,
    This sounds like very simple requirement but i was not able to show end user a way to do it. This is my requirement.
    Employee       Department
    A                   ACC
    B                   ACC
                         R&D
    C                   R&D
    D                   HR
    So when the user runs the report, after seeing this data now they want to filter like show me all the employees who are in ACC and R&D department. So the user is expecting to see only Employee B on the report. But when the user actually right clicks and selects ACC and R&D in filter screen they see A, B and C since they belong to ACC or R&D is there a way to filter by conditions like ACC "AND" R&D or the other way round like show me all who belong only to R&D and expect to see only employee C.
    Let me know if anyone has faced this situation and what can be the best way to solve this
    Thanks a lot in advance.

    Maybe you can use a calculated keyfigure with exception aggregation for the characteristic employee (~ count all values for characteristic ...). This keyfigure should count how often an employee is in different departements. E.g. employee A is in 2 departements, the calculated keyfigure has the value 2. This can be used in a condition with an input variable (~ show only records with keyfigure greater or equal input value). The user filters the query for let's say 3 departments an wants to know, if an employee is in a least 2 of these departements. The user enters 2 in the input variable and refreshs or activates the condition.
    I think this task cannot be done by the user using only context menue and mouse clicks.

  • Error Message in Query Filter on attribute of 0MATERIAL filters charac.

    Hi All,
    i have a query with few variables , i used navigational attributes of 0material......
    I am getting the below Warning Message...  Ineed to supress the below Error Message....
    Please let me know the solution...
    Error Message: Filter on attribute of 0MATERIAL filters charac. values without master data
    Diagnosis
    Currently, it cannot be guaranteed that SIDs and master data exists for all characteristic attributes for the DataStore object to be read.
    There is a restriction on a navigation attribute of the listed characteristic in the query. This filters all characteristic values of the master-data bearing characteristic for which there is not yet master data out of the result.
    For performance reasons, this filtering is unavoidable.
    System Response
    Procedure
    In case of doubt, find other restirctions directly on the characteristic values of the characteristics contained in the DataStore object.
    Procedure for System Administration
      Notification Number DBMAN 345 
    Thanks All

    Dear all SAP Gurus,
    we've solved this problem and this is the solution:
    The warning is triggered by the method CL_RSDRV_ODS_QUERY-PROCESS_SFC_WITH_ATR when the BExFlag of the InfoProvider is not set. Using DSOs for direct update there is no change to change the BExFlag. As a result queries based on a DSO for direct update always throw the above mentioned warning when filter-characteristics are attributes.
    Regards, Clemens

  • Error while opening Workbook:variables for characteristic cannot be process

    Hi all,
    When I try to open the workbook for a particular query, I am getting the following error. Kindly suggest me in rectifying this information message.
    "Variables for characteristic [ZDVCODE]Dealer code cannot be processed"
    Regards,
    Steve

    I am encountering a very similar warning, so this may shed some light on the matter.  I have a Web Application that runs just fine when it is filtered only by Calendar Day.  However, when I filter the Web Application by Calendar Day and Material Group both, then I get a warning at the top of the output that says "Variables for characteristic [0CALDAY]Calendar Day cannot be processed".
    So, at least in my case, the variable isn't deleted, and it actually works just fine buy will spit out this warning under these circumstances.
    -Owen

  • Dynamic Filter in report omitted when characteristic not in output.

    Hi all,
    Hopefully someone can help me with the following:
    Since upgrading from 7.01 to 7.4, we encounter strange behaviour in a (WAD-) report.
    When filtering a free (compounded-) characteristic by excluding certain members via the navigation panel, the filter only works when the characteristic in question is displayed in the output. When you drag it out of the presented layout, the excluded member is included again, as we see the keyfigures go up to the level when it had when it was included. The filter display however still shows the characteristic member as being excluded.
    In 7.0, this phenomenon can not be reproduced.
    I've searched the net and SAP notes, so far with no success.
    Any ideas?
    Thanks in advance,
    Eduard

    Yes, let me explain the reason because sales have to be database delegated.
    In my case sales is not the sum of quantity of productos bought by a customer, sales is like a indicator that show me if customer bought or doesnt bought.
    For example David is my customer and i sell 3 types of products: A, B and C.
    Date 12.04.2011 David bought product A and B and 13.04.2011 David bought just product C.
    In my report if i want to analyze sales by day and customer i have to have the following result:
    *****Date 12.04.2011 and customer  Dave
                Sales = 1
    *****Date 13.04.2011 and customer  Dave
                Sales = 1
    In my report if i want to analyze sales by day and type of produc i have to have the following result:
    *****Date 12.04.2011 and customer  Dave
                Sales  Product A= 1
                Sales  Product B= 1
    *****Date 13.04.2011 and customer  Dave
                Sales  Product C= 1
    Can you see my point??
    In date 12.04.2011 i cant do a sum if i am analyzing sales by customer because if i do a sum dave show me a sales of 2.
    The only way that i found for this behavior is to use database delegated.
    I will wait for your answer.

  • Urgent: Problems with filters with routines in DTP

    Hi All.
      I have this: ODS --> Transformation --> InfoCube
      I've created a "full" DTP which has a routine in the filters because I need to calculate the from-to date in a routine.
      The InfoObject in the ODS is: <b>0CREATEDON</b>
      It has no errors. I activate the DTP successfully but when I execute IT get que following errors:
    <b>3 - Incorrect initial value for characteristic 0CREATEDON in i_t_range (The description below)</b>
    <i>    Incorrect initial value for characteristic 0CREATEDON in i_t_range
        Message no. DBMAN889
        Diagnosis
        The specified characteristic is of type NUMC (number as character), DATS (date), or TIMS (time). The initial value of ' ' is incorrect for these data types.
        System Response
        The call is terminated.
        Procedure
        Use the correct initial value for the type in the selection condition</i>
    This routine has worked successfully in an InfoPackage
    Here is the routine code:
    form compute_CREATEDON
      tables l_t_range structure rssdlrange
      changing p_subrc like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
    DATA: l_idx like sy-tabix.
    *DATA: FECHA_L   LIKE SY-DATUM,
         FECHA_H   LIKE SY-DATUM.
    DATA: FECHA_L  TYPE D,
          FECHA_H  TYPE D.
          read table l_t_range with key
             fieldname = 'CREATEDON'.
          l_idx = sy-tabix.
          FECHA_L = '20050101'.
          FECHA_H = '20051231'.
          l_t_range-SIGN   = 'I'.
          l_t_range-OPTION = 'BT'.
          l_t_range-LOW    = FECHA_L.
          l_t_range-HIGH   = FECHA_H.
          if l_idx <> 0.
             modify l_t_range index l_idx.
          else.
             append l_t_range.
          endif.
          p_subrc = 0.
    I also tried with fieldname = '<b>0</b>CREATEDON' but I got the same error.
    Thanks in advance 4 your help

    Hi,
    Try replacing
    DATA: FECHA_L TYPE D,
    FECHA_H TYPE D.
    part of code with
    DATA: FECHA_L (8) TYPE C,
    FECHA_H(8) TYPE C.
    Hope this helps.
    Regards
    Rahul Bindroo

  • In which tables BEx Filters parameters stored in?

    Hi, gurus!
    Can you tell me, in which tables I can find BEx filters parameters? E.g. I would like to find in which filters we are using variable V as a restriction of char C?
    By the way, maybe someone could tell me IP analog of the BPS table UPC_FORML? I mean where could I find every texts of our IP FOX formulas?

    Hi Mikhail,
    You can get BEx filter param for characteristics from table rszrange. You will get element ID's of restrictions from this table for each characteristic restriction. You will then have to take these ELTUIDs and put them in table rszeltxref to get COMPUIDs for queries for the aforementioned restrictions. Then, you can get query tech names from RSRREPDIR for these COMPUIDs.
    Hope it helps.
    Thanks,
    Abhishek.

  • Changes to SAP BI master data reflecting in Crystal Filters

    Hello All
    We are looking at a scenario where Crystal Reports is used to report off SAP BI. One of the characteristics in BI is used as a filter in Crystal. If new master data value is added to this characteristic in BI, is it automatically reflected in the list of values for the filter in Crystal?
    We are facing some issues with this feature even when we use dynamic filters in Crystal, please advise.
    Thanks
    Thankam

    Hi,
    when you create a report on top of the BW query the CR Designer is reading the list of values from the system and the point of creating the report. There is also a registry setting which you can use to limit the number of values being considered.
    branch :
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\SAP\BWQueryReportWrapper
    key : PickListSizeUnlimited and MaxPickListSize
    When the report is published to the BusinessObjects server and viewed online with the SAP Authentication the list of values is dynamic read from the SAP backend.
    Ingo

  • Internal error in IP - cannot see filters with variables

    Hello Gurus,
    Please help me with this issue.
    I'm having a problem with data in a productive environment. When I try to access any filter with a variable, in Modeler, I receive the following error message:
    Internal error: Failed to read variables for characteristic XXX
    The list of infoobjects in the filter where exists a variable is showed "Object not found" instead of the name of the variable. 
    When I open the same filter using Bex Query designer I can see all information, including variables.
    It seemed that this problem doesn't affect function planning, only filters.
    What can be the problem?
    Thanks in advance.
    Best regards,

    Sue,
    create just the same variable as a new one; and delete the old one via transaction RSZDELETE; but you have to deselect the old variable from your selection before deleting the old one.
    Kind regerads,
    Clemens

  • How to restrict a characteristic in hierarchy

    Hello,
    I have created a heirarchy of 0PROJECT characteristic (that has 0GL_ACCOUNT as external characteristic), and it is not gettin filtered in my report.
    The hierarchy is defined like this:
    NODE1 (text) --> 0GL_ACCOUNT (account number) --> 0PROJECT (project number)
    The query result shows every account number associated to each project number. I need to show only the account number defined in the hierarchy.
    Is it possible?
    Thank you very much for your help!

    Hi Federico,
    0GL_ACCOUNT is not compounding with 0PROJECT.
    In 0PROJECT hierarchy definition, I included 0GL_ACCOUNT as an external characteristic, so it is possible to add values of Account in 0PROJECT hierarchy definition.
    What I need to do is a hierarchy that shows the information like this:
    Nodo1
    |_ Project_X
         |_ Account 1
    Nodo2
    |_ Project_X
         |_ Account 2
         |_ Account 3
    Is it possible to filter account values in 0PROJECT hierarchy definition?
    Thank you!
    Matias

  • Invoke a planning function in BI-IP using a button to copy filtered data

    Hi All,
    I am using a planning function type copy to create a new version of data in the infocube.
    In Web Application Designer, I created a button that invoke my planning function using a command type EXEC_PLANNING_FUNCTION. So, I would like to copy the records displayed in my analysis item (that are filtered by some drop down items), but what is happening is that all records in infocube are copied instead of copying the data that is filtered by the drop down items.
    Can you help me with any suggestion?
    Thank you.
    Bruno Rodrigues

    Hi Bruno,
    "How I can use the planning filter to restrict for the values presented in the drop down boxes?"
    You can create the filter which contain the characteristic which you use when created dropdown boxes.
    You can add chararcteristics values in the filter, these values you will see in the dropdown box.
    You can use the dropdown boxes to restrict the filter.
    You can place the dropdown box (boxes) on your BEx workbook, and connect (with macro I think) to the SAP.
    If you choose a value in the dropdown box and run the sequence, the sequence's filter will be restricted that value which you choosed.
    Best regards,
    Gergely Gombos

Maybe you are looking for