Filtering on a variable

Hi All,
this is in BI7.0
In 0Material , there are two navigational attributes as 0division, 0matl_grp_4.
In my BEx Query , 0 material is in ROWS and 0division and 0matl_grp_4 are in the filter section with variable for each one.
when user executes the query, in the variable screen, the division variable will be restricted to a value by authorization.
and in the 0matl_grp_4 varaiable should contain all the values for the selected division in the division varaible.
basically there is no  relation between division and 0matl_grp_4 currently and but now how do we restrict the values in 0matl_grp_4 variable based on the division value.

Hi,
Can you write the below logic for  0matl_grp_4 variable exit..
For the division selected by user, go to material master data and select all  0matl_grp_4 and assign them to that variable.
You can try this.
Regards,
Bindu

Similar Messages

  • Filtering with presentation variable in my report

    Hi experts,
    I'm using Essbase with Obiee 11g.
    I have entity dimension like this:
    Gen1, Entity
    Gen2, Entity
    Gen3, Entity...
    Each Gen is a hierarchy.
    I have a prompt in my dashboard that is a number: 1, 2, 3... with presentation variable = num
    When prompt was number 3 I need to filter with Gen2, Entity.. if is number 2 with gen1, entity.. Always -1
    In my report I can general filter like this: Gen@{num}, Entity and I see report OK, My requeriment is @{num}*-1* like: Gen@{num}, Entity but I have an error...
    Can I do this??
    Thanks!!!

    You need to get the number using substring, substract it and then concat to the string "Entity"."Gen
    There is another way for the same, Based on the value from prompt can validate the column to show in the report.
    Try this scenario:
    I've a prompt Time.Week
    in the report I've picked two columns,
    Column1: Time.Week--> set to isprompt
    Column2: with exp
    CASE WHEN Time.Week = '2012 Week01' THEN Time."Month Name" ELSE Time."Month" END
    I've used existing columns to mimic your scenario
    Edited by: svee on Jul 2, 2012 9:52 AM

  • Broadcasting filtered report to variable receipients.l

    Hello experts,
    we have a requirement to send same report to different users according to filters.
    For Eg:-
    If report has all ship to Data then in Information Broadcasting we need to filter out data for each ship to and populate that ship to with linked email id and send each ship to data specific to that Ship to only.
    Regards,
    Sachin Dehey

    Hi Sachin,
    By using one setting in broadcasting you cannot achieve the requiremnt. However by using different broadcast settings which have different filters and accordingly the email recepients, will achieve the required.
    Hope it helped.
    anil

  • Additional filtering on a variable

    Hi all,
    for example I have a "Stores" characteristic that I'd like to restrict in my query, for user to choose one of all the stores.
    But I also have an "Active Flag" attribute, and, for example, I'd like user to see when choosing the value of the variable only the stores that have the value of that attribute equals to "1".
    How can that be done?
    I believe there should be a customer exit involved. But how do I do that?
    Best regards,
    Andrey

    Hi,
    Please check the below pdf and see of it helps.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4009b0a8-7adc-2e10-48b3-a111c8f407af?QuickLink=index&overridelayout=true
    Hope it helps.
    Regards,
    AL

  • Is it possible to use variable with interval in BEX for filter or pl funct.

    Hi,
    we have filters in which variables with interval are being used, as well as planning functions in which a variable with interval should be used.
    In the planning modeler everythings works fine. But I have problems to fill values for these type of variables. The error message "specify a value for variable xxx " is always generated. I know it is possible to do this (with VAR_LOW & VAR_HIGH instead of VAR_VALUE).
    Can someone please help?
    regards
    D

    Hello Dries,
    yes, it's possible. You have to use VAR_VALUE_LOW and VAR_VALUE_HIGH.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Using variables in the SQL Results in Dashboard Prompt

    I use the ff query to limit my results on my dashboard prompt. The variable value is given by a dashboard prompt within the same page.
    SELECT Owner.Name saw_0 FROM "iSupport Service Request" WHERE "- Service Request Attributes".Platform =
    '@{promptedPlatform}' ORDER BY saw_0
    It works fine with this query, only when selecting a particular selection in the prompt that feeds the variable data. Is there anyway to have this particular prompt by default(when the page first loads, load all the values possible prior to filtering by the variable?

    Hi Harley ,
    The frame labels are 1,2,3 etc
    sym.setVariable("subselect" , 0); // in the stage composition ready
    Then in the menu you can set the "subselect" variable to 1,2,3 and then call sym.play(sym.getVariable("subselect"));
    Thanks and Regards,
    Sudeshna Sarkar

  • How to print a request variable in the name of a section?

    Hello all,
    I have a session variable created in the RPD called VarWorstStore
    and I have a prompt which sets a request variable with the same name.
    Now when I put a report which is filtered on this variable then I can see that the variable is changing when I press go in the dashboard prompt.
    However, I call this variable in a section as well (go to page options - edit dashboard and click on rename of a section)
    Now I type: @{biServer.variables['NQ_SESSION.VarWorstStore']} and check the box Display section heading.
    Now when I save the dashboard I can see the value of the session variable. However, when I change the session variable with the prompt, thenb I can see that the report is changing, but the title isn't.
    Can anyone help me on this? My reference on this was: http://4.bp.blogspot.com/_f689sAiiG-E/SKv8Fxu7wNI/AAAAAAAAAPk/pppwQ1DdEhg/s1600-h/obi-ee-variables-overview.jpg
    I think it is a bug, but perhaps someone knows
    OBIEE version:
    Build: 10.1.3.4.1.090414.1900
    Release Version: Oracle Business Intelligence 10.1.3.4.1
    Package: 090414.1900

    Thanks for all your responds!!
    However, I was thinking in first instance on a narrative view myself indeed, however this is not good enough for me, because I really have an almost pixel perfect dashboard.
    But the thing with the prompt works!!! What I have done is making an extra prompt with the default value set to the session variable and then I set a presentation variable in the same prompt, and after that I am filtering the reports on the presentation variable in stead of the session variable.
    But I cannot find anywhere where to hide the prompt, can you tell me this?
    The only way I can hide things is to set permissions I gues, but then I also guess is that the prompt will do not do its tasks when the user has no permissions to this prompt.
    Hope you can help me out on this last part!!

  • How to show the variable values in key format in the information tab

    Dear all
      in the information tab of the query, we can see all the filters and the variable value. But we can only see the infoobject <b>text</b> of this variable, how can we do if the user needs to see the <b>key</b> of this variable?

    I've referred to the Web API, and find a way to display some specified variable, but since this is the standard webtemplate and we need to show all the possbible variable used in the query. Anybody has better solution?
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="StaticFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=722"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="WIDTH" value="330"/>
             <param name="ELEMENT_TYPE_100" value="VARIABLE_KEY" />
             <param name="ELEMENT_NAME_100" value="0P_WBSO"/>
             <param name="ELEMENT_TYPE_101" value="VARIABLE_KEY" />
             <param name="ELEMENT_NAME_101" value="0P_PRJ"/>
             ITEM:            FILTERS
    </object>

  • How to ignore a variable defined in a query when the query gets executed

    Hi SAP guru, I am creating a query, which has a user input variable, say A, and a replacement path variable, say B, Bu2019s value is determined by A and the whole purpose of A is letting user entering an initial value and A must be ignored when the query gets executed. How can I achieve this in query designer?
    Thanks

    Hi, thanks for the reply. Actually this is not my problem. My problem is the query should be filtered by  a variable, say B, but B is not allowed to be entered directly by user (i.e. B could be a replacement path variable or user exit type). So B has to be derived from another user input variable, say A. However if I defined A in the query, A is by default used as one of the filters, which is not desirable because A is a subset of B in my case and should be ignored.
    Is there options (settings) that allow the query ignore a specified variable (A) ? If not is there other ways to get around this?
    Thanks
    MichScott

  • Structure data in the spreadsheet using BEx Query filtered by year

    Hi,
    I´m making a Balanced Scoredcard using Xcelsius and extracting data from SAP BI.   The customer asked to see a few KPI´S (Return on assets and profit margin) filtering data from the dashboard by year,  month and region.
    The problem I´m facing is how to structure the data in the spreadsheet using a query filtered by year variable. 
    Regards,
    Diego

    Hi,
    I´m making a Balanced Scoredcard using Xcelsius and extracting data from SAP BI.   The customer asked to see a few KPI´S (Return on assets and profit margin) filtering data from the dashboard by year,  month and region.
    The problem I´m facing is how to structure the data in the spreadsheet using a query filtered by year variable. 
    Regards,
    Diego

  • Dynamic Filters

    Hi guys!
    I was wondering if there is a way to use filters with
    Javascript variables, or, even better, dynamically generated from
    XML columns...
    This is what I'm talking about:
    var filterJuly = function(dataSet, row, rowNumber)
    if (row["archive"].search(/July/) != -1)
    return row;
    return null;
    The thing is, I don't want to create a function for each
    month I want to filter out. Maybe there is a way to code something
    smart that knows I'm clicking on "July", and automatically filters
    in the "archives" that contain the word I just clicked. Is it too
    far fetched? I'm a layman, so I wouldn't know...
    Or maybe it's better to do it through paging?
    Any help would be greatly appreciated!
    Thanks in advance,
    Tomas

    Nevermind, I got it! :)

  • User defined variable on Portal

    Every month I need to update all period filters when monthly tables are loaded so that all reports will reflect with new month information. The only way I could think of is to point all filters to a variable on BI portal so that I don't need to update / manually change filters individually. However, I don't know too much about the capacility of the product. There might be another way to achieve the same goal.
    I am open to any suggestions and yours reply is welcome.
    Thanks,
    Ted

    hi,
    when monthly tables are loaded so that all reports will reflect with new month informationCreate one repository variable with a query like select MAX(start_date) from dual this will give you latest month available in data base .
    in report level,Use the filter condition Report is equal to/is in MAX(repository variable)
    No need to update the report manually every month.Rep variable will take care
    If it is useful don't forget to assign points/close the thread
    thanks,
    saichand.v

  • Variable issues in query

    Hi,
    I have a query in which one customer exit variable is used in the selection screen to  fill a variable automatically.Now i have removed that field (also variable ) from the query and saved it .But when  i run my query now am stil getting that field in my selection screen i have checked the query and it is not used in anywhere in this query.
    There is a 2nd  query build on the same multiprovider which is having this variable in the selection screen.
    Could anyone help me on this why is the first query still showing the removed variable.
    Regards,
    bwuser

    Hello,
    try to check if this variable is used inside query structures. If you have at least one characteristic/key figure filtered by this variable, when you open the query it will appear in the selection screen.+
    This problem is not caused by precalculated indices or other queries.
    Hope it helps.
    Best regards.
    Simone.

  • Filters and Conditons on the web report

    Hello SDN,
    I am working on the WAD and want to display the filters and conditions, if any, in the web report. I also want to display the selection criteria which we used on the variable screen to run the report. What is the web item used to display all these? What are the settings I need to do?
    Please reply me soon...It is very urgent!!!
    Thanks,
    RPK.

    Hi RPK,
    As I mentioned in my previous post: If you put in any entry in the list of text elements, it overrides the normal setting for displaying either all generic text elements, or all filters or all variables.
    As I understand, your requirement is to:
    1) Display all the variables and filters on the query
    2) display some of the generic text elements
    Getting these two together on a single text element item is not possible as far as I know. So either you display all the generic text elements as well or else you use two different text element items.
    On the first one put in individual entries for whatever generic text elements you want displayed and uncheck all other options, in the second one simple select the two checkboxes to display filter values and variable values.
    Hope it helps,
    Thanks & regards,
    Nikhil

  • Set variable command

    Hi all
        The set variable command in WAD is performing really badly. Can somebody please help me to identify how to decrease the response time.
    thanks in advance

    Thanks for your response In our planning scenario there is a data provider which is filtered using a variable. When a row is selected in an analysis item table (which uses another data provider), the variable is set to use the characteristic value of the selected row. This is done using a u2018SET_VARIABLESu2019 command in WAD. Without using the SET_VARIABLES command the performance is acceptable but when SET_VARIABLES is used the performance is slow.

Maybe you are looking for

  • Multiple Displays With Single Mini Display Port

    I have a 2010 MacBook Pro running Mavericks. I already have a display running from a miniport-to-hdmi adaptor which works great but I'm thinking of adding an additional monitor to the setup. Is it just as simple as using an hdmi splitter and plugging

  • How do I convert my iTunes library to windows 8 without losing my music

    How do I upgrade iTunes to from windows 7 to windows 8 without losing my music??

  • How can I copy selected photos from iPhoto on my iMac to my iPhone 6?

    I used to have many photos on my iPhone 6. I also have thousands of photos on my iMac. After iDrive became available I decided to try it, and uploaded my large photos library to my iPhone and iPad. After using it for awhile I decided against keeping

  • Where can I find my pictures in Time Machine?

    In the Finder I can find my pictures after right-clicking IPhoto and then under Originals. But when I open Time Machine and want to check if my data have been backuped correctly I can find my music and documents but not my Pictures. Where can I find

  • No service demands in RPT

    In the CRM 7.0 GUI, I am going to resource planning and searching for service demands . I logged on to resourse planning tool (RPT). t code CRM_DWP. I created the service orders zsrvo. 1. Set the item object type YSRP to BP Service Item (BUS2000140).