Multiple Variant Deletion at Query Level

Hi,
In our project we built 100's of variants at BEX query level. Right now i need to delete some of them. I am able to delete them one by one. Can any one tell me how to delete all the variants at a time.
Thanks in Advance
Vijay

Hi,
When you join the two infoproviders in the infoset ignoring infocube date, you are creating as many records for each record in DSO. That means for the first record the infoset creates :
Plant     Material      Batch      Caldate         Qty     %
P1          M1          B101          01/02/2014     1000  20   (for first row in infocube)
P1          M1          B101          01/02/2014     1000   20  (for second row in infocube)
I also think same as Anshu, you have all the common characteristics, you can as well use a multiprovider.
regards
Yasemin...

Similar Messages

  • Running APD for multiple variants of a query

    Hi all,
    I am trying to create an APD with a query as the data source and an ODS as the data target. My requirement is such that i need to run the APD for various values of the characteristic combinations present in the selection screen of the query. I observe that we can only specify a single variant while defining the Data source of type query under RSANWB.
    Is there any way i can use multiple variants with the same query in a single APD , so that the APD runs for different variants of the same query at different run times ?
    Any help would be appreciated !
    Regards
    Snehith

    Hi Snehith,
    As per my knowledge, multiple variants with the same query in a single APD is not possible.
    However you can create different APDs for different combinations of characteristics value and then can use all these APDs in a single process chain to automate the load.
    For Example, Say you have query Q001 whose data you want to load in DSO DSO_001 and then to Cube C_001 for the characteristics combination. Now without filter in your query, you have Controlling Area = IN000,CN000 and Company code IN01,IN02, IN03, CN01,CN02,CN03. Now you want the data for (Controlling Area = IN000,Company code IN01,IN02)and (Controlling Area = CN000,Company code CN01,CN03).
    Create the two APDs with filter conditions between Q001 and DSO_001 as above. Now design the process chain as below:-
    Start varian>First APD>Data load in cube C_001 from DSO_001>Second AP> Data load in cube C_001 from DSO_001.
    Please note that when we execute the APD, old data in data target is deleted.
    Hope it helps.
    Regards,
    Prakash

  • Delete the variants of a query from SAP GUI

    Hi all,
    We have migrated queries from 3.5 to 7.0, and now we are migrating their variants also.
    But while migrating variants we got a situation where some variants got copied but not activated in 7.0.
    so now we want to delete those variants and migrate it again as they are not being over written.
    so, my question is how can we delete variants for a query in one shot from SAP GUI.
    plzz....help asap.

    Hi,
    note : 1003481... makes the point that...
    But the variant cannot be migrated when a variant with same technical name already exists in 'new' variant storage
    would it be possible that the variant that you are trying to migrate shares a tech name with one already on the system?
    to check variant tables for tech names used twice....
    tx: se16
    a)rsrvariant, (3x variants)
    c)rsrparametrizat(bi 7 made variants)
    variants that appear in rsrvariant (3x) will not migrate if the same
    tech name appears already in rsrparametrizat (new storage area for bi7).
    Delete the variant please refer the thread:
    How to delete the Variants?.
    Delete multiple variant
    Thanks,
    Venkat

  • Infoset resulting multiple results at query level

    Hi,
    I have joined 1 DSO and 1 Infocube in Infoset.. Mapped Plant, Material and Batch
    DSO
    Plant     Material      Batch      Caldate         Qty
    P1          M1          B101          01/02/2014     1000
    P2          M2          B102          05/02/2014     2000
    Infocube
    Plant          Material         Batch     Caldate               %
    P1               M1               B101          02/02/2014          20
    P1               M1               B101          05/01/2014          20
    P2               M2               B102          07/02/2014           15
    I'm considering date only on DSO and ignoring Infocube date. When I execute the report for the month of February, report output is as follows.
    Plant   Material     Batch     DSODate         Qty           %
    P1          M1               B101     01/02/2014          1000          40 (Summing up with January Date)
    P2          M2               B102     05/02/2014          2000          15
    I want data % value to be 20%.
    Is there any possibility to change at query level or join level.
    If we have one line item, data is correct but not the case with multiple line items.
    Kindly do the needful!
    Thanks
    SS

    Hi,
    When you join the two infoproviders in the infoset ignoring infocube date, you are creating as many records for each record in DSO. That means for the first record the infoset creates :
    Plant     Material      Batch      Caldate         Qty     %
    P1          M1          B101          01/02/2014     1000  20   (for first row in infocube)
    P1          M1          B101          01/02/2014     1000   20  (for second row in infocube)
    I also think same as Anshu, you have all the common characteristics, you can as well use a multiprovider.
    regards
    Yasemin...

  • Random multiple file delete query?

    Hi, how do I action a random multiple file delete
    Regards

    Thanks GfulDedFan for info link
    For your info - There is one command on that link that didn't work, which was the last instruction - after highlighting a list of files, to deselect one file press the Option key (earlier in the same demo he instructed to use the Command key which worked)
    Regards,

  • Variant for a query in Web

    HI,
    In my query I had a User entry Variable (Multiple Single Values) on 0DEPARTMENT.
    I had give a list of 2000 departments in a excel file.
    When I execute a query in WEB (7X Template) my requirement is to create a Variant so that if selected all the 2000 departments are included
    How can I paste all the 2000 values in the variable screen and save it as a variant
    Thanks

    Hi,
    For this you will need to create variant for the query in RSRT transaction. Just goto RSRT transaction. Provide the query name and click on Query Variants button. You will get a n option to create variant for the query. paste all the 2000 values for that particular variable of the query and save it as variant.
    Now when you will execute the query in the web you will get an option to select that variant from the query.
    Navesh

  • WEB BEx Analyzer Comments on Query level

    I would like to enable BW users to create comments for some queries an enable other user to read them. System BW 7.01.
    Issues and questions:
    -how to create comment on query level - it's always on data (KYF), Metadata or Master data level
    -I would like to show the document icon - next to the query title (it's relevant for the query)
    -when I create Comments (with the button in the standard template), it's on the data level (combination of KYF) - and when I
    switch to icon display (settings) I get icons in every line. If this would be just at KYF header??
    -where can I edit, delete, ... recorded comments
    Thanks, Tom

    Hi Tom,
    1) If you want to create comments on query level, you need to create metadata documents, object type 'ELEM', object name is the technical name of the query.
    2) Document icons are always shown in the data table. Thus it will be hard to show a document icon for a document on query level. If you are using web templates, you can insert a single document item on metadata documents to display the comment on the query.
    3) Where the document is displayed depends on the document properties. If a characteristic is document property depends on the infoobject setting -> transaction RSD1 -> enter the characteristic -> tab 'general'.
    To see the document properties you can execute the query for example in RSRT (html mode) -> create a new document on any cell. On the bottom you will see the document assignment. Compare this assignment with the cell next to it. If its the same the document will be displayed in both cells. The same can be done for example in java web -> create a new document and switch to the second tab ('BI').
    4) Documents can be edited and deleted in the document browser itself, when you open the document in the executed query or in transaction RSA1 -> documents.
    Best regards,
    Janine

  • Executing Multiple Statements in a Query

    Is is possible to pass multiple statements in a query?
    ie.
    delete from table1
    insert into table1 values(1, 'cat')

    You can use a refcursor to return a result set from Oracle. Very cool and has been present Oracle since 1995 (Oracle 7'ish days). e.g
    procedure foo (arg1 in varchar2, my_cursor in out rc)
    is
    begin
    \t open my_cursor for
    \t select * from nov25t1 where col1 = arg1;
    end;
    This will return a ref cursor from the stored proc. You can use the ref cursor in most programming languages. I happen to be familiar with Java so it would be used as:
    (skipping a lot of code....this is just for demo purposes)
    OracleCallableStatement stmt = conn.prepareCall(....);
    stmt.registerOutParameter(2,OracleTypes.CURSOR);
    stmt.execute();
    //this is the interesting part
    ResultSet rs = (ResultSet) stmt.getObject(2);
    The documentation for ref cursors is in:
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/06_ora.htm#1554
    HTH.
    -Raj Suchak
    [email protected]

  • Want to convert MMDDYYYY to DDMMYYYY at Query level

    Hi All,
             I have done all the user settings for DDMMYYYY format. However till cubel level its coming in DDMMYYYY format. In query its showing MMDDYYYY, is there any setting in Analyzer which i need to do to fullfill the requirement.
    I have gone with FM too, however when am getting at cube level the way i require at query level its in MMDDYYYY format.
    Regards,
    Krishna.

    Hi,
    Craete Custome Exit Variable on CalDay and use the follwoing code in CMOD
    In the following code I declared ZT_DT1 as SY-DATUM, I think in your case you change the data type and check, but the code is same, you need to check data typs only.And also if required use LOOP and ENDLOOP else delete it directly use Variable 'ZT_DAY1' .
    i.e.
    WHEN 'ZT_DAY1' .
            ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
              CONCATENATE ZT_DY ZT_MT ZT_YR INTO ZT_DT1.
              l_s_range-low = ZT_DT1
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
    Else
    WHEN 'ZT_DAY1' .
        DATA: ZT_DT1 TYPE SY-DATUM,
              ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
              CONCATENATE ZT_DY ZT_MT ZT_YR INTO ZT_DT1.
              l_s_range-low = ZT_DT1
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    Thanks
    Reddy

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • How to delete a query in Quality System

    Hi,
    I would like to delete a ZZ query in Quality sytem directly. I don't have AUTHORIZATION delete using Tcode RSZDELETE. As this particulate query not avaiable in Development system, we can create a transport also.
    Is there a way to delete directly in Quality System ?
    Advance Thanks,
    Rathinakumar

    Hi,
    If you do not have the authorization then#
    goto the BEX (rrmx) and delete the query from there.
    you can delete RSZDELETE or delete the entries in RSZCOMPDIR table by giving ur query as parameter.
    also, check this thread:
    how to delete a trasonported query?
    hope it helps.
    Regards,

  • How to delete Infoset Query in R/3

    Hi  Gurus,
    I created a Infoset using SQ02 in R/3 and generated the query. Now I need to delete that Infoset query. Please advice me how to delete infoset query from the functional group in R/3.
    Thanks
    Liza

    Hi,
    In SQ01 ,press shift+F7 then find your user group. then from infoset query tab ,select ur infoset.
    and try to delete , I think, it should work.
    Regards
    CSM Reddy

  • How to find out who has deleted my query

    Dear SDNs,
    My query has been deleted in Prd system, so I want to know who did it.
    I try to get the log from SLG1 and SM21, but I can't get any information about the query deletion.
    I have also tried to read record from table RSRREPDIR, and this table can only supply the information of query which is not deleted.
    Could you tell you the way to find out it?
    Thanks a lot.
    Best regards
    Tianli

    Hi Pravender,
    I have tested it.
    If you delete the query var T-code RSZDELETE,then you can find the log in SLG1.But if you delete the query in query designer,you can find nothing in SLG1.

  • Date to Month Conversion at Query Level.

    Hi,
    I have Net due date in the Info provider.
    At query level i have to create a restricted keyfigure based on Net Due Month.
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    Thanks and Regards,
    MuraliManohar.

    Hi,
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    you can calculate , but as he said you can add in cube ,  may be for cal month you are taking som eother date field.
    in this case write one customer exist code .
    create one varaibel on netdue date with customer not ready input (if user wants to enter input then ct=reate user entry varaible with reday input by using customer exit).
    in routine wriet the code as when that varaible .
    l_s_range - high , low and give then take the month form that date
    like netdue date +0(6)-- gives month and year
          netdue date +0(2)-- gives month
    then rtestrict that variable with your keyfigure.
    Thanks & Regards,
    sathish

  • BEx error when deleting a query in BWD

    Hi All,
    I am getting error "BEx Transport request ‘BWD903385’ is not available or not suitable" when trying to delete a query in BEx in BWD. Does any body knows the solution to this. Thanks in advance and I will assign points.

    Hi Toja,
    It means that this query has been transported to other systems and so you need an open transport request to capture this delete and send it to other systems. Please create a new request and assign it to the Dev Package that this query is assigned to (RSA1 > Transport connection > Bex Truck icon). Then log back into Bex and try to delete the query.
    Hope this helps...

Maybe you are looking for