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

Similar Messages

  • How I can get in Additional pl/sql code variables in Report?

    I develop sql Report
    with group functions and I can't insert there additional fields in SQL.So I think that I can insert or get bind variables and others by Additional Pl/SQL.Is it possible or not ?
    Example of Report
    can I insert here by additional PL/SQL ------------> COTTON
    department sum(price)
    usa-cotton-01 20000000 sum
    usa-cotton-02 30000000 sum
    usa-cotton-03 40000000 sum
    Thanks in advance.

    Hi,
    I did not understand your requirement. The additional plsql code section can be used for any additional coding like inserting or updating into a table in the DB or printing a single value from a table or printing multiple values using cursors. It can also be used to print the values of the p_arg_names and p_arg_values which are the bind variable names and values. But you cannot add columns to the main existing query.
    Thanks,
    Sharmila

  • 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

  • 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

  • How to roundoff addition of two double variables

    class Example
         public static void main(String args[])
              double k=1.236+2.138;
              System.out.println(k);
    }output of program:
    3.3739999999999997
    so how will i get the exact value of the addition

    etgohomeok wrote:
    If you know it's going to be 3 decimal places every time, you could always do:
    double d1 = 1.236;
    double d2 = 2.138;
    int i1 = (int) d1 * 1000;
    int i2 = (int) d2 * 1000;
    int iResult = i1 + i2;
    double dResult = ((double) iResult) / 1000;You could collapse that into a couple of lines and eliminate alot of the variables, but that's the general point...Unfortunately, that gives the wrong answer. Try running it and see.

  • Extracting Custom Hierarchies, with additional filters to restrict data.

    I am currently working on extracting custom hierarchies from SAP R/3.
    I read a article related to it at
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50cbb737-b36f-2c10-c78b-b63d116ce313?QuickLink=index&overridelayout=true]  authored by Nilesh Ramesh Ahir.
    My requirement is slightly different though. Since the extraction takes long time, I need to add few fields to selection screen in data source to restrict the data.
    P.S: I tried enhancing the extract structure ROHIEROS, but it cannot be enhanced.
    So please guide me on this.

    Hello Prakash,
    Please check the function module RSSH_HIERARCHY_TRANSFER and see if it helps.
    Regards,
    Praveen

  • Keyword Tags as Additive Filters

    Hello -
    I have keyword tags for years (2001, 2002, 2003, etc) and keyword tags for events (Halloween, Birthdays, etc).
    Is there any way to make Photoshop use these keyword tags in tandem to show only those photos that are tagged with all the keywords selected? 
    For example: I'd like to see all the pictures from Halloween in 2003. 
    Thanks!
    --Michael

    Hi Ken,
    So sorry to have wasted your time...  I just noticed that it wasn't working
    because I didn't have any photos from Halloween in 2003...so the program
    showed me all the Halloween pictures AND all the 2003 pictures.  When I
    selected a year for which I had pictures on Halloween , everything worked
    exactly as it should.
    I truly appreciate your prompt response - thanks!
    --Michael

  • Add additional filters badi

    Hi
    We have a filter dependent badi implementation currently used for debmas message type.
    We want to trigger this for the message type cremas as well.
    What are the steps involved to trigger this?
    Please help.
    Meghna

    Hi,
      IF you are on ECC6 then you should get that option because i can see that ion my system , ok try to create one more test implementation of the BADI and the first screen that comes up after you enter the implementation look at teh bottom of the screen that should be the attributes tab.
    Regards,
    Himanshu

  • Interactive Report with additional search filters

    Hi all,
    I want to implement a functionality where I have an interactive report which comes with default Search / Filter option , but I also want to have additional filters which are drop-downs in this case and based on the values selected from the drop-down lists , report displays the values ! How can I implement this functionality where after selecting a value from the drop-down list and then further using interactive report filter to retrieve the results.
    Below is my SQL
    select * from Atoms_FULL
    WHERE (:P6_ANO IS NULL OR ANO = :P6_ANO )
    OR (:P6_ATYPENAME IS NULL OR ATYPENAME = :P6_ATYPENAME)
    When I implemented this , only the interactive report filters are working but not the customized filters WHICH ARE :P6_ANO AND :P6_ATYPENAME (Drop-down Lists)
    I hope I have made the question clear. Let me know if you need any more clarifications.
    Would really appreciate if anyone can help in this issue asap.
    Thanks,
    Rads

    What version of apex are you on?
    You have to set the session state of page items, this can be achieved by adding your items as comma seperated into the Page Items to Submit attribute, This attribute is available under Interactive Report region source, Dynamic Actions etc.
    Thanks,
    Vikram

  • Addition in character variable

    Dear Experts,
           Its regarding addition in character type variable. i hv defined a variable type c which takes the valu at runtime in a pattern D11K901841.Now while processing the rest of the report i need to increment the value by 1 .Like from D11K901841 to D11K901842. How can i acieve these. 1 cannot be added direstly as it is a type char.
          Pls help me.

    Hi Vikranth,
    its not possible declare a variable of type numc in your program
    and i think it wont work .
    @ cenosure ,
    check these links for some of the possible ways
    link:[http://learningabap.wordpress.com/2007/10/29/auto-increment-function-with-alpha-numeric-support/]
    alphanumeric serial number increment
    Series of alphabets

  • 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

  • Presentation variable in column formula issue

    Hi,
    I'm having an issue about putting a presentation variable in a column formula. I'm using obiee 11.1.1.7.141014
    I'm adding a text in a formula column where I use two presentation variables: pPeriodo and pAno
    pPeriodo invoques the month selected in a prompt and pAno the year. I have to compare different years, so in one member I use @{pAno} when is the selected year and @{pAno-1} when is the prior year.
    The result of this (please see the header of the 2nd column):
    The problem is when Icompare to next years. So my issue happens when I do an addition to the presentation variable: @{pAno+1}
    It doesn't do the sum; it concatenates the value as you can see in the following images
    If anyone have a workaround about this, please share.
    Regards,
    Miguel

    Hi Joven
    Try @{pAno}+1 instead of @{pAno+1}
    Regards
    Rajagopal

  • Bookmark: default filters lost when adding a new value on the filter

    Dear all,
    Sometime I need to go back to a bookmark and add extra GL accounts /or GL hierarchy node but I found that is often loses the original selection when I click the transfer button after select the new GL account/or GL hierarchy node. Is there any way to add a new value to the existing filter?
    Best Regards

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi<br>
    1. Open the bookmark<br>
    2. Click on any field from the context menu and create another bookmark<br>
    3. Put additional filters and press the transfer button<br>
    4. The data will be displayed for (old + new) selections<br>
    5. Click on any field from the context menu and create another bookmark. Make a note of it<br>
    <br> Step 2 should not really be required but I'm assuming that your internet session was expired or similar problem. Please try this and let us know what happens.<br>
    <br>
    Hope it helps.<br><br>
    Cheers Abhijit<br>
    </FONT><FONT FACE = "Verdana", Font Color = "Red">
    removed
    </FONT>

  • 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

Maybe you are looking for