Creating Query Variant

Hi,
I am trying to create a query variant in BI7. I want the values to be populated from TVARVC table. In RSRT, if i am giving Create variant, i am getting the next screen to enter the values.(same as we get in 3.5). but it does not show the query fields. It is showing these fields in attributes.
Query
HTML
URL
URL2
URL3
URL4
Where i can get the query fields (Like in 3.5) to populate from TVARVC table?
Thanks Pravender.

If you are on BI 7 better to handle the variants in table RSRVARIANT than TVARVC.
You can write code to update the table RSRVARIANT as per requirement.
Hope this helps.

Similar Messages

  • Cannot save query variant in RSRT

    I am trying to create query variants in RSRT. I am able to do it for most of the queries. But there are couple of queries for which I am not able to save it. Has anyone come across this issue before.
    FYI - We are right now on SAP 7.31 and SP 4.
    Thanks,
    Kal

    Hi Kal,
    Did you upgraded to BW7.31 recently?. if yes, run the report: RSR_VARIANT_XPRA.. This is the post upgrade  activity.  Can  you  check with the basis team run the same  first in SAN system and then in actual   landscape.
    Regards,
    Rajesh

  • Can we transport BW QUERY VARIANT (created in DEV) to QAS and PRD?

    Hi gurus,
    I created a lot of QUERY VARIANT ( parameters saved when we execute queries )  in BW DEV.
    I am using those variants in my Analisys Process Designer and i do not want to create again in QAS and PRD.
    Somebody knows how to transport those variants?
    Is possible to assign by SE03? What is the code that object?
    Thanks for any Help!!!
    Carlos Eduardo Olinto

    I transported my Query Variants.
    - Variants must be created in DEV
    - Download the records from:
    > tables
    RSRVARIANT
    RSRVARIANTDIR
    RSRVARIANTTXT
    > Filter Field: VARI = "Query Variants Code"
    - Create request in DEV
    - Assign R3TR TABU <Table name>
    Tables:
    RSRVARIANT
    RSRVARIANTDIR
    RSRVARIANTTXT
    - Save the contents in each table (Only KEY FIELDS)
    - Verify the Lenght in each field, it must be correct (no spaces for each Field)
    I hope it helps you!
    Carlos Eduardo

  • Unable to create global variant for BEx query

    Good Day BI Experts.
    I would like to be able to provide some of my power users with the ability to create global variants to BEx queries executed using Analyzer.  When they try to save a global variant now, they receive the message "You are not authorized to create variant name".  Is there a generic role that can be assigned to the user for this?  Or perhaps a PFCG setting to an existing role?  I'm rather new at this, so details would be appreciated.
    Thanks.
    Casey

    Hi.
    Your users need to have create and change access for auth object S_RS_PARAM to create variants.
    You can enforce a naming convention by maintaining the values of "tech name of variant" like Z*, according to your needs.
    Regards
    Jacob
    P.S:
    If you have a general role for report users, add the auth object to that one in PFCG if it's not already there. In the latter case, you might have to change the values, to let your users maitain things...
    Edited by: Jacob Jansen on Jan 27, 2010 7:10 PM

  • How can I create a variant in CAT2 for all users?

    I am using SAP version 4.6c
    In the CAT2 screen I have a variant "Basic settings" if I change this it affects all users.
    I want to create another variant, so that the users can choose between them.
    But when I create another, it is only avilable for my own user. Can somebody tell me how to deploy it to all users?
    Thanks,
    /Finn

    Hi,
    I dont know about the CATS system. But when ur user selects the varaint, he should remove his own id and execute the query. This should display all the variants existing for that program. Then he can select the required variant.
    The user can also save this varaint under his own ID
    Hope it helps.
    Regards.
    Jay Gandhi

  • How to create a variant to a report from another program at run time

    Hi experts,
                   when i am using FM  :  /OSP/REPORT_CREATE_VARIANT to create a report variant from a program then i am getting  an error 'For object /OSP/ERPNR , number range interval 01 does not exist ', how should i avoid it or can any one help me out to create a report variant from another program at run time with the results of the program.so that i can execute the report from here with this variant

    If i understand you,
    - You can use a FM like [RS_CREATE_VARIANT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=rs_create_variant+&adv=false&sortby=cm_rnd_rankvalue] to create a variant and then use it in the [SUBMIT|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096d67543b11d1898e0000e8322d00/frameset.htm] statement USING SELECTION-SET.
    - But you may also use SUBMIT with WITH parameters which doesnt require variant creation and with much less programming efforts.
    - You can mix the two solutions also.
    So what is you actual requirement, also look at some documentation like [ Scheduling a Job: Full-Control Method|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096ce5543b11d1898e0000e8322d00/frameset.htm]
    Regards

  • Bex Query variants not working

    Hello Experts,
    I have a unique problem with one of my queries, the query variants which are created before Nov 1 are not fetching any vaules instead it gives a message MAKE ENTRY IN ALL THE FIELDS......
    the variants which are created in Nov are working fine.....we have not done any upgrade....
    does anyone faced this kind of problem? what needs to done to get back the variant values in the selection screen.
    Any help is highly appreciated.
    Regards

    Was there a change to an InfoObject that is in the InfoProvider that is also one of the query input options?
    e.g. IO ZHARA used to be defeined as a Char with a length of 4, but was changed after Nov 1 to Char, length of 8.
    If you change an IO like this that is in the variant, that will render the variant unusable.
    There is a program that checks for variants that have been broken like this, and another that you enter the query's technical name and it repairs the variant.
    Try a search on SDN for something like "query variant program".  I'll post the program names after I get back in the office tomorrow.

  • Query variant in rsrt

    In RSRT, there is an option to create a query variant. How can we use this? I have a variable on 0calmonth and I want to create variants based on this so I can use it in a APD process. How can I do this? Thanks

    Hi Uday,
    You can create and maintain the query variants in RSRT. Type in the name of the query and click to execute it. The variable screen will pop-up and you can create the variant here. Or also you can click onthe Variants button and change any existing variants as required.
    Hope this helps...

  • ABAP Query Variant Problem

    Hi,
       I am trying to Execute a query through Program
      I had copied standard querys (ME80FN) Program  RM06EAAW  to my custom program
      In that program , it is caaling a query and assigning one variant
      Any idea from when that variant was assigned or How to create variants for ABAP Queries??
    Thanks
    Chandrasekhar J
    Edited by: Chandrasekhar Jagarlamudi on Feb 20, 2008 1:08 AM

    Hi,
    Check these links...
    http://help.sap.com/saphelp_nw04/helpdata/en/62/bc934814ba11d6999900508b6b8b11/frameset.htm
    Re: ABAP Query variant - Error during SE93
    Hope it helps u...
    Regards,
    KK

  • How to transport Query variant used in APD

    Hello Experts,
    I have created 2 query variants for a query in Development system. And, these variants are being used in APD. Now, when APD is transported to next system, query variants does not exist in next system, so cannot execute APD.
    Please let me know how can i transport the query variants.
    Note: Gone through SDN, and found, query variants can be transported through some tables.
    Please let me any other possibile sloutions for the same.
    Thanks
    Lavanya

    Hi Lavanya,
    To the best of my  knowledge, you cannot transport query variants. You have to manually create them in each system. The reason being, when you try to create variants through RSRT -> Query Variants, you are basically trying to create variants for a temporary program generated during run time!
    These run time programs do not have TADIR entries (not transportable) and hence any sub elements (like variants) created on these programs are not transportable as well.
    Actually you can export variants.Please follow the below steps:
    1. Go To TCode SE38.
    2. Execute "RSTRANSP".
    3. Input your program name.
    4. Input your variant name ie. "Z**** ".
    5. Execute.
    6. Click on continue.
    7. You should be able to create a new transport at this point.
    Hope It Helps,
    Thanks,
    Amit Kr.

  • BEX Query variant - how to make it Global ?

    We have a problem that we did not have in 3.x. In NW04s, when some one saves a query variant, it can be seen/accessed only by that person. We have a need to make it global so that other users in the division can use the variant to run the query. Does anybody know to make this work?
    I looked at the table RSRPARAMETRIZA and the field PERSONAL is always set to 'X' for variants created in BEX (using new BEX tool). We tried to blank this out (for testing) to see if the variant becomes global. But it did not help, in fact after this change whenever I choose this variant it kicks me out and I have to login again.
    Any input/workaround is appreciated.
    Regards
    -Bala

    As of NetWeaver 2004s variants (created in the BI70 runtime) are stored as an XML string inside of the table RSRPARAMETRIZA. In BW3.5 and before they were stored along with ABAP variants within the table VARI.
    Check these notes:
    1004479
    1003466
    990801
    981693
    973676
    978803
    973844
    774413
    Hope this helps,
    Prakash

  • Change a query variant using a program for APD

    Hello everyone,
    Some background:
    We have a complex reporting based on calculated key figures (CKF). However, the business rules do change over time, and the formulas for CKF get outdated. So the business meaning of CKF remains the same, but the way it gets calculated - changes.
    Yesterday CKF "A" = B + C
    Today CKF "A" = B + D - F
    Since the customer requires reporting for the former periods, maintaining several CKF of the same business meaning but calculated differently for each period becomes a problem.
    Instead of having several versions of CKF "A", we decided to use APD, to periodically run the query with valid CKF, save the query results to transactional ods, then move it to another infocube. Now we will have the infocube with figures and dates, and the customer needs to maintain just one CKF "A".
    After trying this out we've encountered following issue:
    Since the query will run periodically we must use a time period filter (in fact - variable on a time characteristic - APD is not working with filter) to select CKF valid for this month for example.
    The query in APD can work with variables only via query variants.
    Now, the question is how to change the query variant automatically?
    We can not force the customer to create new query variants each month for dozens of reports.
    We plan to integrate APD in the process chain (although we haven't check how it works), where the query variant will be changed using a program.
    so please advice:
    1) is there any function module to change query variants in the background
    2) which tables contain the query variant, so we can change it using abap
    3) may be you can suggest other options to make it work
    thank you
    Message was edited by:
            Northern

    Hi,
    here it is.
    write this code in SE38.
    REPORT  ZDATE_CAL..
    DATA: itab_tvarvc like tvarvc,
          l_date like sy-datum,
          l_monthyear_low type /BI0/OICALMONTH,
          l_monthyear_high type /BI0/OICALMONTH,
          l_day(2) type c,
          l_month(2) type c,
          l_year(4) type c,
          l_mandt(3) TYPE c VALUE '010',
          l_type(1) type c VALUE 'S',
          l_numb(4) type N value '0000'.
          l_day = sy-datum+6(2).
          l_month = sy-datum+4(2).
          l_year = sy-datum+0(4).
          concatenate l_day l_month l_year into l_date.
          concatenate '01' l_year into l_monthyear_low.
          concatenate l_month l_year into l_monthyear_high.
    variable for current month interval
    itab_tvarvc-mandt = l_mandt.
    itab_tvarvc-name  = 'ZDATE_INV'.
    itab_tvarvc-type  = l_type.
    itab_tvarvc-numb  = l_numb.
    itab_tvarvc-sign  = 'I'.
    itab_tvarvc-opti  = 'BT'.
    itab_tvarvc-low   = l_monthyear_low.
    itab_tvarvc-high  = l_monthyear_high.
    update TVARVC from itab_tvarvc.
    This code will always maintain the entry for the variable 'ZDATE_INV' as range from the start of month till current month.
    you can modify it store anything yuou want.
    Now when creating the variant by clicking the create variant option when running the query.
    you have the option in the "selection variable" column here you will find only TVARVC table as option select it and then in "name of variable" use the Z variable you have just created.
    This will automatically pick the current value for the variant for that variable.
    So anytime the variant is used in any of the scheduling it will pick the inout from here.
    make sure that the variable for time interval is of same type as that of the entry in the TVARVC table.
    That if it is of type calmonth then TVARVC table should have variable entry of type calmonth.
    thanks

  • Tables where BEx query variants are saved (BI 7.0)

    Hi Experts,
    I'm looking for the BI tables where BEx 7.0 saves query variants, but I don't find nothing.
    In BW 3.5 there were Table RSRVARIANT, but in BI 7.0?
    Could someone help me?
    Thanks in advanced
    Fede

    Hi Sunmit,
    thanks, I found my query variants RSRPARAMETRIZA.
    In RSRPARAMETRIZA there aren't information about single variable who make the variant!
    In RSRVARIANT I find only variants I have created with Business explorer 3.5.
    All variants of queries I have created with BEx 7 aren't in RSRVARIANT,
    Should I have them in RSRVARIANT?!
    or There is another table for those information about variant query of BEx 7.0...
    bye
    Fede

  • Transport query variants

    Hi,
    I have a lot of query variant which I need in every system.
    Is it possible to transport query variants? I already tried to transport the query and variable in the transport connection. Addionally I figured out that the variants are stored in table rsrvariant, but I'm not able to transport the entries.
    Regards,
    Karen

    Hi,
    Pls transport the table RSRVARIANT ,which contains the entry for all bex variants, all variants will be transported then.You should transport the table contents(via SE16 or SE10).Create a request in SE09 or SE10. From the context menu of the transport no, go to object list (or double click). On the next screen go to 'change' mode.Press 'add new entry' (plus icon).
    Rgds,
    Murali

  • Query variant with exit variable on selection

    Hello,
    I have created a query with exit variable for Date. This date will be defauled to system date -1 using the exit code.
    This variable is ready for input with default value. If user want to change the default value he can change it.
    however when i save the variant for this query, the default value is not getting populated automatically.  The value of this field in variant is date on which the variant is created.
    Is there ay way to make sure the variant will always pick up the value from Exit

    Hi,
    I am trying to create a variant from web template.
    In web template, i am not getting this option of not saving value for calendar day.
    I think this option is available only from RSRT.

Maybe you are looking for

  • How to print all pages of a pdf to jpeg images?

    Hi there, How can i print the pages of a pdf file to jpeg or any other image format? i have a pdf file and adobe acrobat 9 pro. i cannot export as jpeg as there is lock in the pdf file, i want it to be saved as image by printing it. could anyone help

  • Create publicsynonyms for anonymous pl/sql block

    Hi, How do I create a public synonym for an anonymous PL/SQL block? BEGIN      IF a IS NOT NULL      THEN           OPEN b;           LOOP                FETCH b INTO Func;           EXIT WHEN b%NOTFOUND;                c := c || Func || ',';        

  • Moving Employee Org Unit to Another Org Unit

    Hello, +What is the best way and steps to properly move an employee from one Org Unit to Another Org Unit without messing up prior configuration. I need to move this employee from Manager (Org Unit A) to another Manager (Org Unit B).  Would editing t

  • Mapviewer.addImageTheme

    hi there, i'm trying to add an image to the mapviewer-bean and any time i'm receiving an internal server error message 500; -- cannot resolve addImageTheme in the java doc this method is described with the additional hint "for future purposes!". does

  • How to use Nikon D810 Photoshop Raw?

    Hi, I downloaded the update and moved it to the right location, but I still can't open RAW D810 files.. Not sure what else I can do..?