View Filter Value DP_VIEW_FILTER and Pass it to multi data providers

Hi
We are using the following command to view filter values and expand in the dataprovider_1
SAPBWOpenWindow(SAP_BW_URL_Get()"&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=DP_VIEW_FILTER&DATA_PROVIDER=DATAPROVIDER_1&IOBJNM="iobjnm, "FILTER",800,600);
(got the code from a PDF that showed how to use drop down for to select multiple values)
Is there a way to pass this value to multiple data providers like shown below?
SAPBWOpenWindow(SAP_BW_URL_Get()"&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=DP_VIEW_FILTER&DATA_PROVIDER=*&MULTI=X&IOBJNM="iobjnm, "FILTER",800,600);
There is a bug in this code and i am not sure how to use the Dataprovider = * and Multi = X!
In dropdown box, i gave affected data providers as all three..
no luck..
Please help. thanks

Put * and X in single quotes
Try using the folllowing
SAPBWOpenWindow(SAP_BW_URL_Get()"&CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=DP_VIEW_FILTER&DATA_PROVIDER='*'&MULTI='X'&IOBJNM="iobjnm, "FILTER",800,600);
Edited by: Rakesh Pattani on Dec 20, 2007 10:52 AM

Similar Messages

  • What's the exact difference between "Query Def. Filter Value Selection" and

    Hi Gurus,
    what's the exact difference between "Query Def. Filter Value Selection" and "Query Execution Filter Val. Selectn" in info-object's "Business explorer" tab?
    I found out that if my info-object A has a input-ready variable in a query,after the query running,in  the selection screen,my info-object A's F4 value is follow the setting of "Query Execution Filter Val. Selectn",as the setting of "Query Def. Filter Value Selection" I tried every diff setting, it won't effect my query anyway.
    so:
    1.what's the exact difference between "Query Def. Filter Value Selection" and "Query Execution Filter Val. Selectn" in info-object's "Business explorer" tab?
    2.how they effect query's presentation?
    I searched forum,didn't find the answer what I want.
    Thanks everyone.

    Hi Denny,
    I will try to explain it again.
    Query Def. Filter Value Selection : Let say the value is set to "Only Values in Infoprovider"
    Lets take an example infoobject - 0MATERIAL (Material)
    Total material records in material Master = 1000 (master Data table /BI0/PMATERIAL)
    You create a query on top of an Infoprovider using Material.
    Total unique materials in Infoprovider= 500.
    Now when you are in design mode in Query Designer, and you try to restrict Material by few materials (for e.g. 1, 2, and 3), for this you right click on material and select Restrict, the pop-up opens with list of materials, this list is all those 500 materials which are in the infoprovider, because the setting is  "Only Values in Infoprovider". Which means then when you are trying to restrict a characterstic in query definition the list of values displayed for restricition is derived from Infoprovider.
    Query Execution Filter Value Selection  - I think you already know what it is , its the read mode for F4 help selection.
    I hope this helps.
    Thanks
    CK

  • How do I create a save button to hide a dropdown and pass on the dropdown data to a label?

    Hi InDesign Scripting Experts!
    I'm desparetly looking for some help to get this issue resolved.
    Essentially I've a lot of PDF forms that've been designed by using InDesign CS4 and then converted to an interactive PDF via Adobe Lifecycle. The final 2 page PDF form has multiple textfields, a drop down and a save button. The users partially fill-in the form, select their name from the dropdown and then hit the save button prior to sending the PDF form to the client.
    The Save button does the following:
    - Passes on the data from the drop down to a label
    - Hides the drop down and
    - finally, hides itself ('Save' button)
    I understand InDesign CC has a lot of the Livecycle capability built-it. Hence I'm trying to design the inteactive PDF within InDesign CC. The textfields, dropdown etc. are easily done. The part that I'm stuck on is to get the 'Save' button to perform the above listed tasks.
    Any help will be greatly appreciated.
    Cheers

    Elizabeth,
    Presuming that editing the exisiting BOSTON is not an option, you may:
    1) Create a nostroke/nofill rectangle that covers all all word, then give it a white fill;
    2) In the Transparency palette flyout tick Make Opacity Mask with Clip unticked and Invert Mask ticked.
    That should remove the BOSTON from sight so you can retype it.
    You could use a black fill and leave Invert Mask unticked (if the black is black enough).

  • Multi data providers (oracle DB and Excel file) in one BO report

    I have to create one BO report. There is one Excel file, with Type, type_ID,(each type has many different type_ids), eg
    type                 type_id
    IHEI                  IHEI121
    IHEI                  IHEI132
    IHEI                  IHEI212
    IHDI                 IHDI511
    IHDI                 IHDI232
    IDWU              IDWU212
    IDWU              ...............
    now I want to count the occurrences of these type_ids in the oracle database.
    This should be relatively easy, with
    select type, type_id, count(type_id)
    from my_table
    where type in ('IHEI', ...)
    however, since the there are many more data in the database than in the Excel file, it will also count those type_ids that are not in the Excel file
    So, how to get rid of those type_ids and keep only those coming from the Excel file?
    thanks for your help!

    Hi Eric,
       In the main report, bring in your table.field(s) etc.
    Then create a sub report and hook it up to the Excel file.
    Link the sub to the main and display (...by "Type" ? ...)
    all the Type_ID's.
    Happy Hunting,
    The Panda

  • List view error "Filter Value is not in a supported date format"

    I've column "Name = Order Status","Type = Calculated" & Data Type = "Date and Time". I've given this Condition in the formula:- =IF(NOT([PO Date]=0),"ORDERED","NOT ORDERED"). I'm trying to create view
    for this column but its getting error while create the view "Filter Value is not in a supported date format". 
    Same error I'm getting for column "Name = Status","Type = Calculated" & Data Type = "Number". I've given this Condition in the formula:- =IF([PO Date]="","",IF(NOT([Balance Qty]=0),"OPEN","CLOSED"))

    Can you check data type returned for your calculated column 'Balance Qty'?
    Try to set it as Number. It may help you.
    Thanks.

  • View Filter

    I need help on a view filter. I tried it via view UI setting but does not work. 
    Then I am working in designer with the following code. I got an error when I open it in browser “Cannot complete this action. Please try again.”. I appreciate if someone
    can help me out on the query. Many thanks.
    If in code, the condition should be
    (OutstandinginvoiceTotal > 0)
        (Today() - InvoiceDate > 60
    && Today() – InvoiceDate < 30) ||    
        (Today() - InvoiceDate_2 > 60
    && Today() – InvoiceDate_2 < 30)
    Here is the view filter
    <Query><Where>
        <And>
    <Gt><FieldRef Name="OutstandingInvoiceTotal"/><Value Type="Currency">0</Value></Gt>
    <And>
    <Geq><FieldRef Name="InvoiceDate"/><Value Type="DateTime"><Today OffsetDays="-60"/></Value></Geq>
    <And>
    <Lt><FieldRef Name="InvoiceDate"/><Value Type="DateTime"><Today OffsetDays="-30"/></Value></Lt>
    </And>
    </And> 
    <Or>
    <And>
    <Geq><FieldRef Name="InvoiceDate_2"/><Value Type="DateTime"><Today OffsetDays="-60"/></Value></Geq>
    <And>
    <Lt><FieldRef Name="InvoiceDate_2"/><Value Type="DateTime"><Today OffsetDays="-30"/></Value></Lt>
    </And>
    </And>
    </Or>      
        </And>
    </Where></Query>

    I play around and the following works now. However, I need to add InvoiceDate_3 to InvoiceDate_5. I just copy the same block for InvoiceDate_2 to InvoiceDate_3 but it errors out?
    <Query><Where>
       <And>
          <Gt><FieldRef Name="OutstandingInvoiceTotal"/><Value Type="Currency">0</Value></Gt>
          <Or>
           <And>
              <Geq><FieldRef Name="InvoiceDate"/><Value Type="DateTime"><Today OffsetDays="-60"/></Value></Geq>
              <Lt><FieldRef Name="InvoiceDate"/><Value Type="DateTime"><Today OffsetDays="-30"/></Value></Lt>
           </And>  
           <And>
              <Geq><FieldRef Name="InvoiceDate_2"/><Value Type="DateTime"><Today OffsetDays="-60"/></Value></Geq>
              <Lt><FieldRef Name="InvoiceDate_2"/><Value Type="DateTime"><Today OffsetDays="-30"/></Value></Lt>
           </And>     
          </Or>
       </And>
    </Where></Query>

  • How to Add a New Filter Value in BEx WAD to Display All Result

    Hi experts,
    I want to add a new filter value in BEx WAD to display all data records. The scenario is as follows:
    The status field can have two values: Active ("A) and Inactive ("I").
    But the requirement is to have a third value to display all the data records (Active + Inactive). E.g. the value can be "G". The purpose is to increase the understandability for report users.
    Does anyone have an idea?
    Regards,
    Joon

    Hi Vineet,
    thanks for your reply. The problem is that there are only 2 values available for this Characteristic: "A" or "I".
    The requirement is to have a third value "G" (instead of the default "All Value") due to historical reason, because all future report users have been working with R/3 reports for quite some time and they are accustomed to using "G" for displaying all values.
    Is there any possibility to realize this?
    Thanks,
    Joon

  • BEx: Select Filter Values Issue on Vista/Office2007

    Hi,
    I have following

    You can use the JavaScript function SAPBWSetFilterByCalendar to call up a calendar. When you select a value, the system filters the data characteristic for the specified DataProvider.
    Parameters used are:
    1) dataProvider: Logical name of the DataProvider
    When the filter operation is only to be applied to a DataProvider, specify its logical name here.
    2) dataProviderArray: Logical name of data provider
    When the filter operation is to be applied to several data providers, specify their logical names here, for example, new Array (“DP1”,“DP2”,“DP3”)
    3) iobjnm: Date characteristic
    The system is to filter according to this characteristic.
    4) displayDate (optional):Start date
    Date the calendar displays when it appears. This parameter is optional. The date format has 4 characters for the year, 2 for the month and 2 characters for the day: YYYYMMDD
    <b>Example</b>
    Filter DP1 according to 0CALDAY
    <a href=”Javascript:SAPBWSetFilterByCalendar(‘DP1’,null,’0CALDAY’,’20020213’);”>Filter Calday</a>

  • Passing Session variable of DATE data type to opaque view filter

    Hi Everyone,
    Can you guys please help me in passing session variable of DATE data type in RPD's physical layer 'opaque view' filter for Oracle database
    I tried following syntax, syntax wise I didn't got getting any error, but at the same time this opaque view is not fetching any records as well. my session variable is "END_DATE" and its value is 1998/12/31:00:00:00(as shown in RPD session windows, datatype is DATETIME)
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID =TO_DATE( 'VALUEOF(NQ_SESSION.END_DATE)','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TRUNC(TIME_ID) = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    In past, I was able to pass a session variable into a opaque view filter using DATEOF function, but that was in DB2.
    I appreciate your time and help

    Finally, I got right format. here it is
    to_date(substr('valueof(NQ_SESSION.END_DATE)',1,10), 'yyyy-mm-dd')
    and here is the source from where I got this information
    Using OBIEE Session Variables in Select Tables in the Physical Layer

  • ALV Filter - filter value not working / not passed to ALV

    Hello,
    My ALV is set in a quite nested landscape meaning at least two components and quite some views within views.
    When now setting a filter in the filter bar, the entered value is not passed to the ALV. Whereas a filter set in the config menu of the ALV is working. (Also selections are lost with every roundtrip, but that is not the mayor issue.)
    I created an event handler for the setting of the filter (event "ON_STD_FUNCTION_AFTE" -> ID "SALV_WD_FILTER_DEFINE") and checked the filter rules using this method: CL_SALV_WD_MODEL_TABLE_UTIL=>IF_SALV_WD_TABLE_UTIL_FIELDS~GET_FILTER_RULES( R_MODEL = LR_ALV_MODEL )
    When creating a filter using the bar, no filter rule is recieved by the method. On the other hand, the method yields the rules correctly when they are set using the config menu.
    Does anyone know why this happens?? I would very much appreciate your input!
    Kind Regards
    Robert Schulz

    Hi,
    @Lekha:
    With "config menu" I was referring to the "Settings" dialog of an ALV. There I can provide a filter value using the tab "Filter" and it is applied absolutely correct whereas values entered directly in the "Filter" row are not even passed to the ALV (see first post).
    @kissnas:
    These links are not about my issue! One is about setting filter values using coding and the other is a totally other topic.
    @kranthi kumar:
    There is no ALV-implementation in the MODIFYVIEW (not one ALV object is touched there).
    Regards,
    Robert

  • How can I pass a filter value to another report?

    I'm using a filter within a formula of a field. For example: (FILTER("Facts - Actuals Ledger"."Actual" USING ("Time"."Fiscal Quarter" = '2012 Q 2'))-FILTER("Facts - Actuals Ledger"."Actual" USING ("Time"."Fiscal Quarter" = '2012 Q 1')))*-1
    What the above is doing is calculating the variance between Q1 and Q2. My issue is when I drill on this value to a more detailed report, it's combining the Q1 and Q2 values, instead of showing the difference. I'm trying to avoid having to hard code the drill report and was wondering if there's any way to pass the calculated FILTER to the other report?
    Thanks.

    Hi,
    I presume that you want to show the the difference between a prompted quarter and its previous quarter?
    If so, I would use the Ago Time Series Function to create a new logical measure for prior quarter e.g.
    ago("Facts - Actuals Ledger"."Actual", "Time"."Quarter", 1)
    Note that the function should contain the time dimension level for quarter. The 1 at the end is the offset e.g. 1 quarter ago. This measure will now return the prior quarter value for whatever quarter is prompted.
    Create a prompt for your report for Fiiscal Quarter, and set a filter in the report for the same column with an operator of Is Prompted.
    Add the base measure ("Facts - Actuals Ledger"."Actual") and your new Ago measure to the report. When you prompt the report with a quarter, these two columns will show the Actual amount for the promted quarter and the previous quarter respectively. Now all you need to do is subtract one from the other.
    Now, when you drill to another report, the filter value of the prompted quarter will be passed across. Apply the same logic to define measures in the drill report, receiving the prompted quarter only.
    Note that you can also use Time Series Functions in the column formula when creating the analysis.
    Please mark if helpful / correct,
    Andy
    www.project.eu.com

  • Passing filter values from column formula in OBIEE 10g

    Hi,
    I am trying to pass filter value from the column LY Spend YTD columns where we have a filter option and passing the year filter 2013 as below.
    FILTER("Fact - Purchasing - Invoice"."LY Spend YTD" USING (Time."Year" = '2013'))
    My goal behind doing this is, we have a filter already present for the whole criteria on the year which is 2012.
    But specifically for this column i dont want to pass the year 2012 to it, Instead I want to pass 2013 to it. But I am not succeding the result is blank.
    Please suggest and let me know if further understanding is needed.

    Hi Srini
    Thanks for you reply.
    I cannot do that way because some measures are satisfying with year 2012 and displaying the data and other measure are satisfying with 2013.
    I am working on LY Spend YTD, LY spend YTD - 1, Spend YTD and Year ago spend.
    So thats the reason I have thought that way of passing the filter in column formula irrespective of criteria filter.
    Please suggest.

  • Saving 3 sets of data in 3 seperate arraylist and passing them to next view

    Hai all,
    I am using tree.The user  has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    Thanks n Regards
    Sharanya.R

    I am using tree.The user has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    hi,
    1. just collect all the values and concatinate using Strings, also use one delimiter between each value.
    like this,
    while(condition){
    String Result ="";
    Result += wdContext.currentTreeNode().getName() + "," ;}
    2. Finally assign this String to some Context, that you want to use in next view.
    3. Use StringTokenizer Class, make Result String as Source and comma as delimeter, then you can able to get list of
    previously stored values.

  • How to pass filter values to planning function in Integrated planning

    Dear Experts,
    I have a input ready query where the variables are filled with authorization objects by user. All variables are defined as multiple single values.
    I created a workbook with 3 filter dropdown box - calmonth, company code and version (displayed as text). In the filter drop down box the user selects the company code, version and calmonth for planning. I would like to pass the selected filter values to a planning funciton. How can we pass these selected single filter values to a planning funciton?
    Note: I am able to reference cells for variables that are not in filter (for eg: revaluation function with this document https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be).
    Thanks,
    Gnana

    Hi,
    Your requirement sounds similar to example given by SAP
    [http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/content.htm]
    If you do not want the from value be selected, and its already decided, then gofor restriction of values in filter than to the variable.
    regards,
    ravi.

  • Data Transfer Process filter: how to view the filter values?

    Hi,
    does anyone know how to view (and download) the values of a filter of data transfer processes?
    I want to compare the filtervalues of data transfer processes from productive system with development system. Normally the DTP's are created in a development system and transported with TMS to quality and productive systems. In the productive system there is often the need to slightly change the values in the filter, and to do this directly in the productive system without transport.
    If the same DTP is used and changed by another project after a while, it will overwrite the changes from productive maintenance.
    By comparing the filter values one could evaluate the changes.
    For info packages there is the same need. Here you can use table RSLDPSEL. Is there someting like that for DTP?
    thanks for any help
    Jean

    Hi,
    the difference you have in the infopack and DTP is
    you can have any number of infopackages between the source and PSA but you can have only one DTP between the PSA and datatarget.
    so there is no othere way than changing the filter values in the existing DTP.
    just chk the filter option and choose the required chars for ur load and activate the DTP.
    Ramesh

Maybe you are looking for