Dynamic "Filter" value in APD

Hi People,
I have a question about APD. Is there any way to inform dynamic filter value to APD? Like OLAP variable in infopackage selection?
For example, I have an transactional ODS receiving data from an APD and it has a "Filter" due to restrict the volume of data. In that "Filter" there are many selections with fixed values for each one (e.g. 0CALMONTH). I'd like to know if is possible to replace "fixes" value for dynamic values (e.g. ABAP routine). Or even, another way to pass values to the "filter" parameters when running it by program RSAN_PROCESS_EXECUTE .
I appreciate any kind of help.
Thanks in advise,
Fernando Faian

Well, variables are not possible in analysis processes. I know that some customers are using ABAP routines for a dynamic filtering. Some prepare the filter criteria in another program, and the results are then processed in an ABAP routine within the analysis process. Of course, those results need to be stored in between.
Variables like "previous period" are sometimes evaluated directly in the analysis process, but this also means to code it in an ABAP routine.
Hence, I do not know a simple solution. RSAN_PROCESS_EXECUTE does not have any further control parameters which could be used for this.

Similar Messages

  • How to retrieve dynamic filter value submitted from control query to .....

    How to retrieve dynamic filter value submitted from control query to broadcast query.....
    I'm trying to change the hierarchy version determined by a userexit variable in the broadcast query.
    The Hierarchy Version should be dependent on the input filter delivered by the bursting query.
    But how do I catch the dynamic filter value which has been submitted by the bursting query,
    with other words:  where does the bursting query store it's out put while sequentially starting the broadcast query value by value?
    BTW: the filter value from the bursting query appears under "dynamic filter values" in the information of the broadcast query...
    Any thoughts are welcome!
    Edited by: Heinrich Krupp on Jun 24, 2009 1:25 PM

    Further information,
    Report is used via webi only, not Xcelsius or Dashboard.
    Report is consuming BI Web Services.
    Although we can pass in prompt values to BI Services, I couldn't find if we could pass a variable or dimension object into this field. Anyone knows?

  • Passing Dynamic Filter values to Web template in VC

    Hi Experts,
    Iam working with a Web Template (which is created using WAD)  in Visual Composer Model
    I have an input screen ( Variables Form )in VC Iview which has Fiscal Year, Quarter, week and other input fields which need to be entered by a user.
    This variables are passed to a couple of queires. Also i have a requirement to pass the same vvariable values to Web template also ( WAD)
    I have created a HTML iview in VC Dashboard.and in URL i gave the below URL which is working fine
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2"
    But i wanted the template to be executed with filter values also
    in the actual template i have 4 filters which user needs to enter after the above URL is displayed..
    In order to make the template execution dynamic i added the following URL which is not working:
    http://Host:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2%26FILTER_IOBJNM%3DZFISCYEAR%26FILTER_VALUE%3D2009%26FILTER_IOBJNM%3DZREP_WEEK%26FILTER_VALUE%3D42%26FILTER_IOBJNM%3DZFISCALQTR%26FILTER_VALUE%3D3%26FILTER_IOBJNM%3ZNSPLITREG%26FILTER_VALUE%3DAS%26FILTER_IOBJNM%3DZRSKOPP%26FILTER_VALUE%3DR
    Please let me know how to pass dynamic filter values from "Variables Form" of VC iview to Web template HTML iview
    Thanks
    P.Navakanth

    Hi,
    this is my sample:
    'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'

  • Handling Dynamic Filter Values in Web Template.

    Hi friends,
    I have a Authorization Hierachy Node Variable on 0COMPANY and this is placed in Free Characteristics in BEx Query.
    Now i want to catch the value of this Company in Web Template either using Text Element web Item or etc. and then pass this value to the Print Layout of the same report.
    Could some body help me on this.
    Thank you very much advance.

    Hi,
    this is my sample:
    'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'

  • BEx Web Application Designer - Info Field - Display Static Filter Values

    Hi there,
    I'm not sure if anyone is having the same issue I am having... but here goes.
    I have the option DISPLAY STATIS FILTER VALUES turned on in my 0ANALYSIS_PATTERN & 0ANALYSIS_PATTERN_EXPORT web print templates for printing to PDFs from the Query Designer.
    - If I have it turned on, all the filters (including the dynamic) are displayed with about 4 rows of empty space between each line.
    - If I have it turned off, the dynamic filters are displayed normally.
    Does anyone know how to affect the font and spacing of this setting?
    Note:  As it is the the standard print template, I can't add the perameters of which filter to display.
    Please let me know if you have any ideas.
    Thanks, Audrey

    Hi Edward,
    Help to your answer I could understand my mistake. I was customizing the Data Binding part instead of the Internal Display.
    I did the following :
    [ ]Display Static Filter Values
    [ ]Display Genertal Text Elements
    [ ]Display Dynamic Filter Values
    [x]Display Variables
    [ ] Only Variable with values
    And it is working now.
    FYI: no need to uninstall and reinstall the Bex tools, it worked directly with the latest patch.
    Regards,
    Laurent

  • Dynamically selecting values for filter in power pivot

    Hi,
    I am creating a power pivot report. I want the values of its filters to be set dynamically based on certain critreria. For Example, if some one changes the Iteration Path then the range of dates should change automatically to Iteration start date -
    Itearation End Date.
    Is there any way to set filter values based on some calculation.
    Any help in this regard will be highly appreciated.
    Thanks,
    Bhawna.
    Bhawna Aggarwal

    Check out the Event-In-Progress pattern as described here:
    http://cwebbbi.wordpress.com/2013/06/13/a-new-events-in-progress-dax-pattern/
    basically you need to create a separate measure which to do the specific filtering for you
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Dynamic filter to capture the highest value at runtime.

    Hi,
         Is there a way through which we can have a dynamic filter in Webi, which would automatically filter the maximum value from a list of values associated with a dimension object? 
         I have the following scenario :- I have a dimension object called 'Plan Version', whose list of values would typically be 00, 01, 02, 03.....and so on. These values are updated in the database after every 15 days. Now, in my report, i need to display the data which would be associated only to the highest 'Plan Version' value. This requires me to apply a filter on the highest value of 'Plan Version', which is not a difficult job to do if it has to be a static filter. However, I need it to be a dynamic filter, i.e., every time a new plan version is uploaded in the system, and if the report is refreshed, the report filter should automatically select (highlight) the highest value for 'Plan Version' and display the data accorsingly.  One way would be to use the 'Max' function, but aggregate functions cannot be used in filters. Any help would be greatly appreciated.
    Thanks,
    Alok.

    Hey Alok,
    You're correct, using Max(). But you have to apply/use it @Universe level not @Query panel.
    Create Object @Universe:
    Plant version = Max([Plant Version]) and make it as Dimension type.
    Now use this Plane version object for Prompt @ Query level. So that it will fetch max value for the Plant Version all times.
    Hope you got the logic.
    Gracias...!!

  • Dynamic Filter ( FILTER( tablex, values in columnx = value in columnx and currrent row )

    Hello,
    I would like to build a column that filter values depending on the value on the current row.
    Let me give you a simple example of what I would like to do.
    I have a table customerorders with 2 fields: customernumber and dateorder (which is a date).
    I would like to now the last dateorder for every customernumber.
    I thought about something like that:
    =CALCULATE(LASTDATE(customerorders[dateorder]),FILTER(customerorders,customerorders[customernumber]=customerorders[customernumber]))
    But I obviously lack some knowledge about how to deal with the 2nd argument of my filter.
    Thanks

    try this one:
    =CALCULATE(MAX(customerorders[dateorder]), FILTER(ALL('customerorders'),customerorders[customernumber]
    = EARLIER(customerorders[customernumber])))
    you need to use EARLIER to refer to customernumber of the current row
    hth,
    gerhard
    - www.pmOne.com -

  • Restrict filter values that are shown in the selection screen

    Hi Experts
    1) Is it possible to restrict the filter values that are shown in the selection screen in BEx web? When a user are asked to enter a material number and uses the selection button in BEx web, he should only see material numbers for one specific plant. How is this done? 
    2) Is it possible to remove the selection button for å characteristic filter in the selection screen in BEx web? The selection button I am talking about is the button to the right of where you enter the filter value (two white papers on top of each other). If there is no solution for question 1 we have to go for question 2 solution.
    We are using BI 04s, SP 09.
    Kind regards
    Erik

    Hi Erik,
    It seems that you would like the user to see value for 1 single plant. If the Plant Value is fixed then you can use this value in the Query and hardcode it.> in the query go to the Plant Chrac and keep a constant value of the Plant.
    How ever if you need this value to be dynamic then use a variable for customer exit and populate this value using ABAP.
    Regards,
    Jasprit

  • Materialized view with dynamic filter

    I have a query which has a dynamic filter in the where clause. Dynamic in the sense, the value in the where condition will be obtained only when the query is run.
    The user interface is Business Objects tool i am using, based on the user login variable, the query is formed. Is there a possibilty to create a materialized view using this query.
    The query looks like this. The part in BOLD section is the filter. This query is taking long time and hence i am going for materialized view. Please suggest a solution
    SELECT
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_5_DESC,
    SUM(case when PERIOD_DIM.FISCAL_PERIOD_NBR = ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_PERIOD_NBR ) and PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR ) then SALES_FACT.NET_SALES_USD else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_PERIOD_NBR= ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_PERIOD_NBR ) and PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR )-1 AND PERIOD_DIM.FISCAL_DAY_IN_PERIOD BETWEEN 1 AND ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_DAY_IN_PERIOD ) then SALES_FACT.NET_SALES_USD else 0 end),
    SUM(case when
    PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR ) then SALES_FACT.NET_SALES_USD else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_YEAR= ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR )-1
    AND PERIOD_DIM.FISCAL_DAY_IN_YEAR BETWEEN 1 AND ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_DAY_IN_YEAR )
    then SALES_FACT.NET_SALES_USD else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_PERIOD_NBR = ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_PERIOD_NBR )and PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR ) then SALES_FACT.MUNITS_SOLD_QTY else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_PERIOD_NBR= ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_PERIOD_NBR ) and PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR )-1 AND PERIOD_DIM.FISCAL_DAY_IN_PERIOD BETWEEN 1 AND ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_DAY_IN_PERIOD ) then SALES_FACT.MUNITS_SOLD_QTY else 0 end),
    SUM(case when
    PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR ) then SALES_FACT.MUNITS_SOLD_QTY
    else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_YEAR= ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR )-1 AND PERIOD_DIM.FISCAL_DAY_IN_YEAR BETWEEN 1 AND ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_DAY_IN_YEAR )
    then SALES_FACT.MUNITS_SOLD_QTY else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_PERIOD_NBR = ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_PERIOD_NBR ) and PERIOD_DIM.FISCAL_YEAR= ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR ) then
    SALES_FACT.CASES_SOLD_QTY else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_PERIOD_NBR= ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_PERIOD_NBR )and PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR )-1 AND PERIOD_DIM.FISCAL_DAY_IN_PERIOD BETWEEN 1 AND ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_DAY_IN_PERIOD ) then SALES_FACT.CASES_SOLD_QTY else 0 end),
    SUM(case when
    PERIOD_DIM.FISCAL_YEAR=( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR ) then SALES_FACT.CASES_SOLD_QTY
    else 0 end),
    SUM(case when PERIOD_DIM.FISCAL_YEAR= ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR )-1 AND PERIOD_DIM.FISCAL_DAY_IN_YEAR BETWEEN 1 AND ( DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_DAY_IN_YEAR )
    then SALES_FACT.CASES_SOLD_QTY else 0 end),
    DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR,
    DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_MONTH_NAME,
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_6_DESC,
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_7_DESC,
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_8_DESC,
    CONCAT (CONCAT(SHIP_TO_CUST_DIM.SOURCE_CUST_NBR,'-'),SHIP_TO_CUST_DIM.SOLD_TO_CUST_NAME),
    CONCAT (CONCAT(SHIP_TO_CUST_DIM.SOURCE_CUST_NBR,'-'),SHIP_TO_CUST_DIM.SHIP_TO_CUST_LOC_NAME)
    FROM
    DM_SALES.SALES_ORG_DIM,
    PERIOD_DIM,
    SALES_FACT,
    DM_SALES.CURRENT_DATE_PERIOD_DIM,
    SHIP_TO_CUST_DIM
    WHERE
    ( SALES_FACT.INVOICE_DATE_KEY(+)=PERIOD_DIM.PERIOD_KEY )
    AND ( SHIP_TO_CUST_DIM.SHIP_TO_CUST_KEY=SALES_FACT.SHIP_TO_CUST_KEY )
    AND ( SALES_FACT.SALES_ORG_KEY=DM_SALES.SALES_ORG_DIM.SALES_ORG_KEY )
    AND ( PERIOD_DIM.PERIOD_KEY<=DM_SALES.CURRENT_DATE_PERIOD_DIM.PERIOD_KEY )
    AND
    ( DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_5_DESC=(SELECT DM_SALES.SECURITY_HEADER.SALES_ORG_POSITION_DESC from DM_SALES.SECURITY_HEADER
    WHERE DM_SALES.SECURITY_HEADER.BOLOGIN = @VARIABLE('BOUSER')) ) AND
    ( PERIOD_DIM.FISCAL_YEAR>=DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR-1 )
    GROUP BY
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_5_DESC,
    DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_YEAR,
    DM_SALES.CURRENT_DATE_PERIOD_DIM.FISCAL_MONTH_NAME,
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_6_DESC,
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_7_DESC,
    DM_SALES.SALES_ORG_DIM.POSITION_LEVEL_8_DESC,
    CONCAT (CONCAT(SHIP_TO_CUST_DIM.SOURCE_CUST_NBR,'-'),SHIP_TO_CUST_DIM.SOLD_TO_CUST_NAME),
    CONCAT (CONCAT(SHIP_TO_CUST_DIM.SOURCE_CUST_NBR,'-'),SHIP_TO_CUST_DIM.SHIP_TO_CUST_LOC_NAME)

    You could potentially create a single materialized view that had no restriction on the BOLOGIN column and allow Oracle to use that materialized view to be used to satisfy requests from the different users. You may need to add appropriate indexes to the materialized view for that to be a reasonable option, depending on how many distinct BOLOGIN values you expect.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to set a dynamic filter to a prompted one?

    Hello:
    I have a dashboard prompt whose values determine the columns for a constructed dynamic filter column using case statement.
    There is another dashboard prompt whose value determine the the values for the dynamic filter column.
    I have a need to set this dynamic filter to the operator 'is prompted'. According to the OBIEE documentation, the requirement for 'is prompted' filter is to have the dashboard prompt column match with the filter column.
    I currently use a presentation variable for the dashboard prompt column that gives the filter value.
    How do I make my dynamic filter to be prompted (for pre-filtering results as a default behavior) and subsequently use the presentation variable (derived from the dashboard prompt) if a user enters the appropriate prompt values?
    Here is an example:
    Dashboard prompt: Location Type-> (State, District, City) (The case statement on my filter determines the appropriate logical column State or District or City)
    Filter Value: Dallas (pv1)
    The dynamic filter will generate "City" = '@{pv1}' (Dallas in the above example)
    I want this dynamic filter to be set to 'is prompted' for pre-filtering results as a default behavior.
    Thanks for reading this far and looking forward to your suggestions.
    Regards
    Sankar Bala

    Please read this carefully, you may find what you are looking for:
    Dynamic dashboard prompts and columns used in multifunctional report, full guided navigation
    http://108obiee.blogspot.com/2009/08/dynamic-dashboard-prompts-and-columns.html
    Or this one:
    http://obiee101.blogspot.com/2009/04/obiee-dynamic-prompt-content.html
    Regards
    Goran
    http://108obiee.blogspot.com

  • Change the column header according to the filter value ?

    Hello Experts,
    I have a requirement in which the customer wants to change the column header of the Sales Volume Key Figure to change according to the filter selected for the Calender Year / Month in the Free characteristics.
    I could display the header as 'Sales Volume for OCT 2000' as this is the value restricted intially in the free characteristics for Calender Year / Month.
    Any suggestion is appreciated.
    Thanks,

    Ioan Thanks for the reply.
    Probably my previous explanation of the problem was a little incomplete. Let me give a better description.
    The situation is something like this.
    I have a requirement in which the customer wants the column header to reflect the 'keep filter value' restriction that he does dynamically in the query report.
    i.e:
    -- usually the kf column header shows 'sales volume'
    -- column header with text variable of the Calender year / month variable -- 'sales volume for 2000 oct'
    -- but when the report is run, if the user wants to go and change the filter:   calender year / month > rt clk > keep filer value > select Jan 2003.
      The kf column header still shows 'Sales Volume 2000 Oct'
    How to make the column header change to 'sales volume for Jan  2003' ?
    Any suggestions greatly appreciated.
    Thanks,

  • Dynamic Filter not being refreshed

    I have a problem with a dynamic filter refreshing properly.
    In a 7.0 Bex Query,  I have a variable where I put in a Sales Rep.  Based on the Sales Rep entered ('Z_M1Y_SALESREP04' ), I have a user exit that reads that Sales Rep and goes and gets all their customers:
    IF i_step = 2.
        READ TABLE i_t_var_range
             WITH KEY vnam = 'Z_M1Y_SALESREP04' INTO ls_var.
    When I run this for the first time, lets say Sales Rep A, it goes out and gets all the correct customers (shown in the Dynamic Filters of the Information tab).  Now, if I change Sales Rep A to Sales Rep B, I am still getting Sales Rep A's customers.  Does anyone know why it still shows Sales Rep A's customers?
    Thanks,
    Patrick

    If your using BEx Web for executing this query, try deleting the cache on your browser before re-executing the query with the new Sales Rep. The other thing you may want to consider is adding the following code prior to the READ TABLE statement:
    CLEAR: ls_var.
    This will ensure that the variable being read into won't have any values in it before it's being populated.

  • Multiple exclusion of query filter values

    Hello,
    We are trying to find a way to do a multiple selection of non consecutive values (codes) to be excluded for further navigation, but either in Excel or Web reports it is only possible to do selections for exclusion one by one and when there are many non consecutive values, it is very time consuming and subject to errors.
    Example: for listing customers that buy Material 1 but don´t buy Material 2, filter value 2 for Material, display all customers, then perform an exclusion of all the customers displayed, could be many, then the need of the multiple exclusion, and then do a Material selection for Material 1.
    We appreciate any help on this subject.
    Regards
    Gustavo Sanson

    Hi Gustavo,
    I think you can use precalculated value sets for this.
    I would leverage your example.
    You would have a base query 'X' which displays all customers for which material2 ws sold foar a certain period.
    This report will run in the background and fill the variable which is of precalculated value set type.
    For this you will have to use broadcasting.
    Create a broadcast setting for this base query X, name it customers for material 2.
    Configure the broadcast setting to refer to characteristic customer for getting the multiple values.
    Create a variable for customers in your actual quey and select its type as precalulated variable set.
    Now when you run the actual query, you will see the variable in the variable popup and if you choose F4 value help, you will see your braodcast setting name, which is actually the precalculated value set.
    Use the operator to exclude.
    One advantage with precalculated value set is , you can dynamically generate this list of multiple values at run time and for every period. You can schedule the broadcast setting to calculate the value set at whatever frequency you desire.
    Check the link below for more explanation on precalculated value set.
    http://help.sap.com/saphelp_nw70/helpdata/EN/c9/1a9341d38aa209e10000000a155106/frameset.htm
    Regards,
    Sunmit.

  • Dynamic Filter on Hierarchical Column

    I have a parent-child hierarchy in my 11g Subject Area. I know it is possible to filter the hierarchical column using the Selection Steps and the “Select Members based on Hierarchy” option. But is it possible to dynamically filter the column using a Session Variable?
    My hierarchy is set up using the company’s department structure. The business need is for a line manager to have access only to data for their own departments, and any departments below in the hierarchy where applicable. A session variable in the repository knows who has logged onto OBI, and returns the relevant departments. Is it possible to use this variable to only display the relevant portion of the hierarchy?
    Thanks.

    Yes this is possible through external table authorization. Lets say you have hierrarchy table with different nodes in data warehouse. Lets consider w_hierarchy_d table for instance which has different columns like hier1_code, hier2_code etc. Create an external table with three different columns, username, hierarchynode, hierarchyvalue. Hierarchynode, gives the information on what level of hierarchy the user should be restricted, and the hierarchyvalue gives the actual value of the node user belongs to. Lets take a simple geography hierarchy as example;
    username hierarchynode hierarchyvalue
    user1 hier1_code Asia - Region
    user2 hier3_code florida - Office
    Using init block populate this data into session variables and create a filter on group/role like below:
    case when valueofnqsessionhiernode='hier1_code' then officetable.region
    when valueofnqsessionhiernode='hier3_code' then officetable.office
    end = valueofnqsessionhiervalue.
    I am positive the above model works as we implemented this before.
    Please Award points if helpful.
    Thanks,
    -Amith.

Maybe you are looking for

  • Transfers between warehouses

    HI, mi name is John Jairo I have a problem when I try to make a stock transfer between warehouse. I need to create an outbound delivery (Transaction VL01NO) with the Delivery Type "UL" between two warehouses, but when I enter the Customer I can´t con

  • A/C Power Adapter for EUROPE

    Hi All, Can anyone recommend an A/C Power adapter for my IBM Thinkpad T60, which I can plug into the European 2-Pin A/C outlet?  I don't want to use converters because the A/C outlets where I am staying are recessed and the pins are not long enough t

  • RE: forte-users-digest V1 #1490

    Jim - We had the same issues when we were running multiple production environments. The best way to handle the logging of application exceptions from multiple environments, is to use a database. Plus the database allows for easier reporting. Give us

  • Need KM File Repository manager configuration Steps

    Hi Portal guru I need KM File Repository manager configuration doc for KM Configuration.  it is urjent. helpful answer rewarde with high points. Regards Sumit

  • How to reduce a PDF file size under Adobe Acrobat Reader DC. The size is now 23MB; I need it to be less than 4MB. thanks

    how to reduce a PDF file size under Adobe Acrobat Reader DC. The size is now 23MB; I need it to be less than 4MB. thanks