Need different kinds of query's  for same result

Hi all,
I need a query for the following scenario,the query which i mentioned below is giving me result as i need,i would like to know whether there are any other better ways to get the same result.
create table xxeaccess
(client_name varchar2(100), service_id number,requestee_id number,requestor_name varchar2(100));
insert into xxeaccess values('UBS', 100,1000,'Raghu');
insert into xxeaccess values('UBS', 100,1000,'Tedla');
insert into xxeaccess values('SBI', 200,2000,'Sai');
insert into xxeaccess values('SBH',300,3000,'Radha');
insert into xxeaccess values ('SBH',300,3000,'Krishna');
insert into xxeaccess values('Canara Bank',400,4000,'Bharath');
select * from xxeaccess
where (client_name,service_id,requestee_id) in
(select client_name,service_id,requestee_id
from xxeaccess
group by client_name,service_id,requestee_id
having count(*) > 1);
Requirement is like this,client_name,service_id,requestee_id should be same only requestor_name should be differnt and there should be more  than one record with same client_name,service_id and requestee_id.
Thanks
Raghu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

SQL> select * from xxeaccess
  2  where (client_name,service_id,requestee_id) in
  3  (select client_name,service_id,requestee_id
  4  from xxeaccess
  5  group by client_name,service_id,requestee_id
  6  having count(*) > 1)
  7  /
CLIENT_NAME          SERVICE_ID REQUESTEE_ID REQUESTOR_NAME
SBH                         300         3000 Radha
SBH                         300         3000 Krishna
UBS                         100         1000 Raghu
UBS                         100         1000 Tedla
4 rijen zijn geselecteerd.
Uitvoeringspan
   0      SELECT STATEMENT Optimizer=CHOOSE
   1    0   MERGE JOIN
   2    1     SORT (JOIN)
   3    2       TABLE ACCESS (FULL) OF 'XXEACCESS'
   4    1     SORT (JOIN)
   5    4       VIEW OF 'VW_NSO_1'
   6    5         FILTER
   7    6           SORT (GROUP BY)
   8    7             TABLE ACCESS (FULL) OF 'XXEACCESS'
SQL> select client_name
  2       , service_id
  3       , requestee_id
  4       , requestor_name
  5    from ( select t.*
  6                , count(*) over (partition by client_name,service_id,requestee_id) mycount
  7             from xxeaccess t
  8         )
  9   where mycount > 1
10  /
CLIENT_NAME          SERVICE_ID REQUESTEE_ID REQUESTOR_NAME
SBH                         300         3000 Radha
SBH                         300         3000 Krishna
UBS                         100         1000 Raghu
UBS                         100         1000 Tedla
4 rijen zijn geselecteerd.
Uitvoeringspan
   0      SELECT STATEMENT Optimizer=CHOOSE
   1    0   VIEW
   2    1     WINDOW (SORT)
   3    2       TABLE ACCESS (FULL) OF 'XXEACCESS'Regards,
Rob.

Similar Messages

  • HT3130 trying to export a 4 minute video to desktop.  Only 1:08 seconds exports.  I've tried other clips and they all cut at 1:08.  Used different exports like Quicktime with the same results.

    trying to export a 4 minute video to desktop.  Only 1:08 seconds exports.  I've tried other clips and they all cut at 1:08.  Used different exports like Quicktime with the same results.

    Good to hear that you've had some success with the import.
    I tried 3 times to do it before I finally changed it to H.264, and it worked on the first try.  The quality of the compression was terrible with those settings compared to my standard settings, but I'm just glad it worked.
    Rather than Share>Export using QuickTime and then choosing your own settings for H.264, you may get a better result if you simply use the Share>Export Movie option. Alternatively, use the Share>Media Browser option (as I mentioned in my earlier post). You will be presented with a range of sizes to choose from. Depending on your target, it's usually best to select the highest size available, such as Large, HD 720p or HD 1080p. However, for producing a DVD it's best to not go beyond the HD 720p size, as the DVD will be downscaled during encoding to Standard Definition in the appropriate size for either PAL or NTSC.
    In my experience, both these options (Export Movie or Media Browser) produce a video file of excellent quality. The files will be in H.264 format and will have the file extension .mov or .m4v depending on the size of the export. I'm assuming that your camera records HD video in AVCHD format.
    These files work well with iDVD (or other DVD authoring programs). The export process for the presets is optimised by Apple to produce high quality video files at a reasonable file size. So, selecting a preset may give you a much better result. Choosing your own H.264 settings when using the "Export using QuickTime" method could be why "the compression was terrible". You may have selected a data (bit) rate that was too low. There is always a trade-off between quality and file size when compressing video.
    So, to summarise, try one of the Apple presets using either Share>Export Movie or Share>Media Browser.
    John

  • Different Line item in invoice for same po line item?

    Hi,
    Can I post two  invoice  line item for same po line item?
    What is significance in business point view?
    Thanks and Regards
    Anil Patil

    HI,
    You can post two invoice for one line item in PO,
    Say u  raise a PO for 100 and then do a GR for 50 1st and then 50 2nd then you have two invoice for the same PO with same line item.
    This can also be done with respect to the delivery number also. and then make a invoice with respect to delievry note in MIRO.
    Thanks & regards,
    Kiran

  • Different query plans for same query on same DB

    Hi,
    HP-Ux
    Oracle Database 10.2.0.4
    We are experiencing a strange issue. One of our night batch process is taking invariably more time to execute. The process does not consume time at 1 particular query. Everyday we find a new query taking more time than previous execution.
    Now, when we see the explain plan while the query is executing, we see NESTED LOOP SEMI (with improper index being used). At the same time if we take the query and see the explain plan seperately, we get HASH JOIN SEMI (with proper index being used). Also, if we execute this query with the values as in procedure, it finishes within mili seconds (as it should).
    The tables and indexes are analyzed everyday before the process starts.
    Can anybody explain, why the same query shows two different plans at the same time ?
    Thanks a lot in advance :)

    Aalap Sharma wrote:
    HP-Ux
    Oracle Database 10.2.0.4
    We are experiencing a strange issue. One of our night batch process is taking invariably more time to execute. The process does not consume time at 1 particular query. Everyday we find a new query taking more time than previous execution.
    Now, when we see the explain plan while the query is executing, we see NESTED LOOP SEMI (with improper index being used). At the same time if we take the query and see the explain plan seperately, we get HASH JOIN SEMI (with proper index being used). Also, if we execute this query with the values as in procedure, it finishes within mili seconds (as it should).
    The tables and indexes are analyzed everyday before the process starts.
    Can anybody explain, why the same query shows two different plans at the same time ?As already mentioned, you might hit typical issues in 10.2: The column workload based SIZE AUTO statistics gathering feature and/or bind variable peeking.
    How do you analyze the tables and indexes before the process starts? Can you share the exact call with parameters?
    Some ideas:
    1. If your process is "new", then the column workload monitoring of the database might recognize the column usage pattern and generate histograms on some of your columns. It might take a while until the workload has been established so that all columns got histograms according to the workload (It needs a certain number of usages/executions before the workload is registered as relevant). Until then you might get different execution plans each time the statistics are refreshed due to new histograms being added.
    2. If the default 10g statistics gathering job is active, it might gather different statistics during the night than your individual job that runs prior to the processing. This could be one possible explanation why you get different plans on the next day.
    3. "Bind Variable Peeking" is possibly another issue you might run into. How do you test the query so that you get a different, well performing plan? Does your original statement use bind variables? Do you use literals to reproduce? Note that using EXPLAIN PLAN on statements involving bind variables can lie, since it doesn't perform bind variable peeking by default.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • HT3622 I need different facetime and messenger details for multiple ipods on one apple id how do I do this when in itunes?

    I have an iphone and my 2 children have Ipod touch they have to be set up under my apple id to be able to purchase apps. But we all want to have separate facetime & messenger accounts. My contact list seems to have appeared on one of my childs ipod touch. How can I set up separate accounts but under one apple id.

    Answers that I know :
    a, yes - I have an iPad, iPhone, and iPod Touch linked to my account on the same computer/iTunes and haven't had any problems with it
    b, you only need to purchase the app once, it can then be copied onto all your devices. Some of my apps are on all three of my devices. If you get newspapers or magazines then I believe that some only allow one download of each magazine/newspaper, so you may not be able to have them on each device.
    c, as long as you have your own Game Center accounts then you should be able to - I've never used it
    d, yes, you can have them on all your devices, you don't need to multi-purchase them
    e, I think that you will each need your own email address for them - in Settings > iMessage you can link an email address with messaging, and similarly for FaceTime (Settings > FaceTime) - that way messages/calls will only go to the correct person. Using FaceTime ; there is also some info on the built-in apps in iPad's manual and iPod's manual
    f, all content purchased via an iTunes account is tied to that account, and they cannot be copied or transferred to a different account. So any content purchased on your wife's account will remain tied to her account. You can have more than one iTunes account authorised on a computer's iTunes (Store > Authorise This Computer), so you can have her content as well as yours on the computer that you sync to.
    g, don't know, I've not made any in-app purchase
    h, with the device connected to and selected on the left-hand side of your computer's iTunes, then on the tabs on the right-hand side you can control what is synced to that device. Those selections should then be remembered each time you re-connect that device, so you can have different selections for each device and you shouldn't have to re-do the selection each time you connect it.

  • Need a SCCM SQL Query Report for Installed Software with Packages and Applications.

    I need a report that will show the number of installs of all of the workstations applications and packages over a given period of time. 
    This will let us know how effective our deployments are and how well the on-demand software is being adopted.
    Any help?

    Your Install Source might be an option as most SCCM deployments will install from C:\Windows\ccmcache\xx [where xx is a random folder name]. Most software vendors will put an install source in the registry, but not all do, so it won't be completely accurate.
    When software is installed manually, the install source path won't be C:\Windows\ccmcache\xx.
    Here is a SQL query I have for Install Source:
    SELECT v_GS_COMPUTER_SYSTEM.Name0 as 'Computer Name', v_GS_INSTALLED_SOFTWARE.ProductName0 as 'Software Title', v_GS_INSTALLED_SOFTWARE.InstallSource0 as 'Install Source', v_GS_INSTALLED_SOFTWARE.ProductVersion0 as 'Version', v_GS_INSTALLED_SOFTWARE.InstalledLocation0
    as 'Installed Location', v_GS_INSTALLED_SOFTWARE.InstallDate0 as 'Install Date'
    FROM v_GS_COMPUTER_SYSTEM INNER JOIN v_GS_INSTALLED_SOFTWARE ON v_GS_COMPUTER_SYSTEM.ResourceID = v_GS_INSTALLED_SOFTWARE.ResourceID
    WHERE v_GS_INSTALLED_SOFTWARE.ProductName0 like '%Office 365 Pro%'
    ORDER BY v_GS_COMPUTER_SYSTEM.Name0

  • Different base value reference steps for same condition type

    Dear Gurus
    I have a scenario where I have single pricing procedure for normal sale and Intercompany billing.
    Condition type GRWR should take the base value from step 350 in standard scenario
    But in Inter company billing it should take the base value from a different step.
    Want to check the possible way to determine these.
    Regards,
    Neeraj Srivastava

    In the pricing procedure, in the step that you're interested in intercompany billing put in the subtotal field the indicator "carry over value to KOMP-KZWI". Make sure that the KOMP-KZWI field that you'll choose is not used in any other step.
    Then with the help of an ABAPer you should maintain a routine (Tc VOFM -> Formulas -> condition base value) that in the case of intercompany billing (if billing-type is XXX  ... etc) will take the KOMP-KZWI* value that you chose previously.
    Then back in the pricing procedure, assign your new routine in the field "Alternative formula for condition base value" (BasType).
    Agis

  • Different storage location automatically pick for same material code

    Hi,
    As per my requirement,
    We have two storage locations i.e Return Location and Finished Location and single plant and single shipping point.
    At the time of Normal delivery system should be automatic picked Finished Location and return delivery system have to pick Return Location only.
    I tried to do Storage location determination but system is not picking correct location. Kindly guide me.
    Thank You!
    Chakradhara

    Check this thread
    Creation of return order with ref to an Invoice
    G. Lakshmipathi

  • Hi , i'm having a problem with opening my converted mp4 videos on itune , i've tried alot if things and different converting programmes and faced the same result , although it was working before , so what should i do ?

    Before , my downloaded and converted movies were working on itunes , but now , i can't open them on itunes .
    I have tried Leawa mp4 converter which was working before , but now it convertes without opening in itunes , then i tried any video converter and the same happens ( it convertes without opening in itunes) , i have tried to copy and paste my vidoes into automatically add to itunes in itunes media , and it didn't add .
    So , if someone has a way to put my vidoes into itunes i will be glad
    Thank you

    Repair your QuickTime.
    Control Panel >
    Win7/Vista - Program n Features
    WinXp - Add n Remove Programs
    Highlight QuickTime, click CHANGE then REPAIR

  • Can we make one query to get same results from 3 tables

    CREATE TABLE TABLE1 (NODEID VARCHAR2(4));
    CREATE TABLE TABLE2 (NODEID VARCHAR2(4));
    CREATE TABLE TABLE3 (NODEID VARCHAR2(4));
    INSERT INTO TABLE1 VALUE('1004');
    INSERT INTO TABLE1 VALUE('1004');
    INSERT INTO TABLE1 VALUE('1002');
    INSERT INTO TABLE1 VALUE('1002');
    INSERT INTO TABLE1 VALUE('1001');
    INSERT INTO TABLE1 VALUE('1001');
    INSERT INTO TABLE1 VALUE('1006');
    INSERT INTO TABLE1 VALUE('1006');
    INSERT INTO TABLE1 VALUE('1005');
    INSERT INTO TABLE1 VALUE('1005');
    INSERT INTO TABLE2 VALUE('1004');
    INSERT INTO TABLE2 VALUE('1004');
    INSERT INTO TABLE2 VALUE('1004');
    INSERT INTO TABLE2 VALUE('1002');
    INSERT INTO TABLE2 VALUE('1002');
    INSERT INTO TABLE2 VALUE('1002');
    INSERT INTO TABLE2 VALUE('1002');
    INSERT INTO TABLE3 VALUE('1001');
    INSERT INTO TABLE3 VALUE('1001');
    INSERT INTO TABLE3 VALUE('1006');
    INSERT INTO TABLE3 VALUE('1006');
    INSERT INTO TABLE3 VALUE('1005');
    INSERT INTO TABLE3 VALUE('1005');
    INSERT INTO TABLE3 VALUE('1004');
    INSERT INTO TABLE3 VALUE('1004');
    INSERT INTO TABLE3 VALUE('1004');
    INSERT INTO TABLE3 VALUE('1002');
    INSERT INTO TABLE3 VALUE('1002');
    INSERT INTO TABLE3 VALUE('1002');
    INSERT INTO TABLE3 VALUE('1002');
    Select count(*), count(distinct nodeid)
    from table1, table2,table3
    where table1.nodeid=table2.nodeid and table1.nodeid=table3.nodeid;
    Select count(*), count(distinct nodeid)
    from table1, table3
    where table1.nodeid=table2.nodeid;
    Select count(*), count(distinct nodeid)
    from table2, table3
    where table2.nodeid=table3.nodeid;

    Aside from your insert statements not working... (should be as follows)...
    DROP TABLE TABLE1;
    DROP TABLE TABLE2;
    DROP TABLE TABLE3;
    CREATE TABLE TABLE1 (NODEID VARCHAR2(4));
    CREATE TABLE TABLE2 (NODEID VARCHAR2(4));
    CREATE TABLE TABLE3 (NODEID VARCHAR2(4));
    INSERT INTO TABLE1 VALUES('1004');
    INSERT INTO TABLE1 VALUES('1004');
    INSERT INTO TABLE1 VALUES('1002');
    INSERT INTO TABLE1 VALUES('1002');
    INSERT INTO TABLE1 VALUES('1001');
    INSERT INTO TABLE1 VALUES('1001');
    INSERT INTO TABLE1 VALUES('1006');
    INSERT INTO TABLE1 VALUES('1006');
    INSERT INTO TABLE1 VALUES('1005');
    INSERT INTO TABLE1 VALUES('1005');
    INSERT INTO TABLE2 VALUES('1004');
    INSERT INTO TABLE2 VALUES('1004');
    INSERT INTO TABLE2 VALUES('1004');
    INSERT INTO TABLE2 VALUES('1002');
    INSERT INTO TABLE2 VALUES('1002');
    INSERT INTO TABLE2 VALUES('1002');
    INSERT INTO TABLE2 VALUES('1002');
    INSERT INTO TABLE3 VALUES('1001');
    INSERT INTO TABLE3 VALUES('1001');
    INSERT INTO TABLE3 VALUES('1006');
    INSERT INTO TABLE3 VALUES('1006');
    INSERT INTO TABLE3 VALUES('1005');
    INSERT INTO TABLE3 VALUES('1005');
    INSERT INTO TABLE3 VALUES('1004');
    INSERT INTO TABLE3 VALUES('1004');
    INSERT INTO TABLE3 VALUES('1004');
    INSERT INTO TABLE3 VALUES('1002');
    INSERT INTO TABLE3 VALUES('1002');
    INSERT INTO TABLE3 VALUES('1002');
    INSERT INTO TABLE3 VALUES('1002');and you're queries not working...
    SQL> Select count(*), count(distinct nodeid)
      2  from table1, table2,table3
      3  where table1.nodeid=table2.nodeid and table1.nodeid=table3.nodeid;
    Select count(*), count(distinct nodeid)
    ERROR at line 1:
    ORA-00918: column ambiguously definedI'm guessing you want:
    SQL> Select count(*), count(distinct table1.nodeid)
      2  from table1, table2,table3
      3  where table1.nodeid=table2.nodeid and table1.nodeid=table3.nodeid;
      COUNT(*) COUNT(DISTINCTTABLE1.NODEID)
            50                            2You haven't explained to us what database version you are using or what you want the output to look like when these 3 queries are combined.
    Please read: {message:id=9360002} and learn to post a good question, and use {noformat}{noformat} tags to show your code/data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Calculate total and average for same key figure

    Hi Experts,
    I have a requirement where I need to calculate total and average for same key figure no of employees.
    eg:                
    If I enter 03,2009 as Input the reuslt should give from financiual year starting to current month.
         11.2008      12.2008     1.2009     2.2009     3.2009        average
             11          10       12       10        10         10.6
             10         10       11       12        10         10.6
    total         21         20       23       22        20          21.2
    we have only one characteristic in rows... companycode.
    Waiting for your Inputs.
    Regards
    Prasad Nannuri

    no it will work for u
    you have to use variable on 0calmonth or fiscal period depending on what Time characteristic u are using.
    lets say that variable is zcalmonth
    it is based on 0calmonth for e.g.
    now u restrict keyfigure with this variable zcalmonth with time char. = 0CALMONTH
    copy and paste the restricted keyfigure
    now set offset for variable in  variable selection screen dialog box = -1
    repeat this until u want
    make this variable mandatory
    now at query execution user will select any value for month/year
    and u will see all 5 months in result set
    now there can be maximum 12 months in a year, so u end up creating only 12 restricted keyfigures.
    use YEAR in restricted keyfigure too, and restrict it with YEAR VARIABLE processing by CUSTOMER EXIT = CURRENT YEAR
    in this case it will automatically removes any additional values...
    for e.e.g
    YEAR = 2008 only
    User entered 6/2008
    so lets say ur financial year starts in  april 2007 and ends in april 2008
    so u expect to see
    4/08
    5/08
    6/08
    but u created 12 restricted keyfigures , so it will show upto
    4,5,6 months only

  • Muliple inspection plan for same material and same usage

    Hi,
    I need to create multiple inspection plans for same material with same usage.during the inspection lot creation i need to select any one inspection plan.
    In standard SAP its not possible.Any user exits available for this..
    Regards,
    S.P.Selvathangam

    Dear Selvathangam Palanisamy ,
                                                       My Dear Shayamal is absolutely correct and we are corrently using this SAP facility. You can create 'N' number of inspectio plans for a material and then whenever the inspection lot will created ( Thru a process order or Manual) then you will get the Inspection Lot Status 'CRTD' (Created mode) then you have to select your Inspection Task list manually by two way...
    Either go to QA02 and then select it from the list of multiple plans.
    Or you can directly go from QA32 ...select your inspection lot row and directly click on the Inspection Lot icon to go directly to the inspection lot window to slect the Task list.
    Further there is no need to remove the Automatic Assignment from the QM View of the Material Master as if there is only one task List then system will automatically assign the TASK LIST, if you deselect it then you have to select in every case.
    Thanks

  • Can we get 2 different types of SPC charts for an MIC in an inspection plan

    Hi All,
    1. Can any one help me out in getting 2 different types of SPC charts for a single MIC in an insp. plan.  As each MIC can take only one Sampling Procedure and as SPC chart type is assigned to Sampling Procedure I am not able to get 2 different types of charts. Is it possible in SAP if so can you let me know how.
    2. Can we plot SPC charts of 2 different MICs of same chart type on single graph via SAP?  I tried QGC3 but was not successful.
    I appreciate your help.
    Thanks,

    YES,
    You can get two different SPC characteristics.
    May be a crude method, but definite solution.
    1. You create one characteristic say '0010' with control indicators suitable for SPC characteristics. Assign sampling procedure to this characteristic with chart type say '175 Shewhart chart for np/USA'
    2. Now create another sampling procedure with chart type say '520 Moving Average Chart'
    3. Now select characteristic line '0010' in the plan.
    4. Click copy characteristic & press enter. The characteristic gets copied with same control indicators.
    5. For this new characteristic '0020' set 'Calculated characteristic'
    6. In formula field enter formula as A00020*1. (where A0 is Measured value for single unit.
    7. Now assign the new sampling procedure to this characteristic.
    8. Done... Now when you record the results for characteristic '0010', after valuating press 'EVALUATE FORMULA' button... & the same results of '0010' are copied for characteristic '0020'
    Thus you have two SPC charts for same results without re-entering it.
    Hope this is helpful.

  • EJB-QL, multiply call returns same result

    Hi,
    I have a strange problem with dynamic QL. When I’m calling the same Entity with almost the same query (different values in the where clause) the query returns the same result.
    Ex:
    First (good) SELECT OBJECT(ejb) FROM table AS ejb where ejb.x='9-99-99-9999' AND ejb.y='8-88-88-8888’
    Second (wrong) SELECT OBJECT(ejb) FROM table AS ejb where ejb.x='9-99-99-9993' AND ejb.y='8-88-88-8888’
    The second time, the entity from the first query is returned again.
    Any input will be greatly appreciated.
    Best regards,
    Gustav

    Hi,
    What I would do to start nailing down the issue is to print out the actual SQL that is being sent to the DBMS.
    If the actual SQL matches what you expect it to be, then the problem is the Database or the formulation of the query. If the SQL does not match up to the EJB QL that is being submitted, then there's a problem with Dynamic Queries.
    In the weblogic.ejb.QueryHome
    you can get the SQL that will be sent to the dbms by doing:
    String myEJBQL = "SELECT OBJECT(ejb) FROM etc....";
    String myActualSQL = queryHome.nativeQuery(myEJBQL);
    Try this and let us know the result.
    -thorick

  • Different variable values for same query inserted 6 times in One workbook.

    Hi,
    We have one workbook with the same query inserted on 6 different tabs (sheets in excel), a variable on Business Unit that is different for each tab.
    How can we control the variable input in BW2004s such that the different BU values are processed for each tab.
    At present the BU value input in the "variable pop-up screen" over rides all the fixed variables on the different tabs.
    Generous points will be awarded for useful solution.
    Thanks,
    Jasmine

    Hi,
    I am  trying to use filters for executing 2 queries in a Web App. I have 2 dataproviders (one for each query), and I am trying to use filters for say Version.
    The URL is
    /sap/bw/BEx?cmd=ldoc&TEMPLATE_ID=ZTW_XXX&DATA_PROVIDER_1= DP1&FILTER_IOBJNM_1=0VERSION&FILTER_VALUE_1=F01&DATA_PROVIDER_2= DP2&FILTER_IOBJNM_2=0VERSION&FILTER_VALUE_2=F02.
    This doesnot work. Both queries get filtered on both 'F01' and 'F02'.
    I am trying to filter DP1 by F01 and DP2 by F02.
    Any help is appreciated.
    Thanks,
    NS

Maybe you are looking for