Variants in BEx Query.

I've created a variant on a Bex Query. When I run the query in the browser, I see a complete list of all variants created by everyone in our team for that query. I really want to restrict the variants created by user to be displayed for that user. How can I do this?
Thanks,

Hi,
first of all, u can save variants for web reports globally (for one report, visible for all users) and locally (user specific variant).
Global variant: At the selection screen u choose "Save as variant". Disable "save as user variant". There u can enter a discription and a technical name. The variant is visible for all users.
Local Variant: At the selection screen u choose "Save as variant". Enable "save as variant". Enter only the description without a technical name. The variant is only visible by the author of this variant.
The same feature is available for BEx Analyzer 7.0 on SP 16.
Hope it helps,
Regards

Similar Messages

  • To create variants for Bex query

    Hi Guys,
    where and how do we create variants for Bex query.
    Thanks,
    Your help is appreciated.

    Hi Sheo,
    There are several threads about this, check here:
    /thread/297437 [original link is broken]
    Hope this helps...

  • How to Ignore Fiscal Year Variant in BEx Query displayed with FISCYEAR?

    Hi All,
    I am developing a report.
    In which I have taken Fiscal Year in columns.
    When I executed the report Fiscal Year is showing with Fiscal Year Variant, I mean it is displaying as K5/2009.
    Please let me know the settings how to ignore Variant? I mean Fiscal Year should show 2009 only.
    Regards,
    HM.
    Edited by: Hariman on Nov 9, 2010 7:47 AM
    Edited by: Hariman on Nov 9, 2010 8:05 AM
    Edited by: Hariman on Nov 9, 2010 8:13 AM

    Hi,
    Fiscal year variant is compounded to Fiscal year. So in Bex query output it will be the format.
    In case you need to remove the fiscal year variant you need to write customer Exit code.
    -- Selva

  • 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

  • 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...

  • Variable Selections in BEx Query Variants

    I am trying to save a variant for a BEx query that uses a floating date range.  I want the date range to move with the calendar.  I r/3 this is done with the variable selection.  In BW 3.5, I don't see how this is possible.  I only see options for TVARVC which are user exit selections.  Can someone point me in the right direction.
    Regards,
    Kevin B

    Hi Kevin
    Your requirment is that date range should move with calendar (ex. In first week , the date range should be from 1 to 7 of the current month & in  second week the date range should be from 1 to 15 of current month) ...if it is like this then you can go ahead with - create a variable and do the coding with sydatum (system date ) and embed the required logic. But if your requirement is completely random then you can not use this.
    Hope this helps
    Regards
    Pradip
    (Rewarding points is the way of saying thanks on SDN !!)

  • Bex Query Variants Information

    Hello,
    I have 15 variants created for a Bex Query - QUERY1, I would like to know which SAP Tables does this variants get stored. Out of these 15 variants, I would also like to know among these which are Global Vs Personal variants.
    Could you please share your inputs.
    Thanks in Advance.
    Regards,
    John

    Thanks Again for the quick reply.
    I have checked the Query in table RSRPARAMETRIZA , I have only found 8 variants in this table.
    But when I opened the same query in the Bex Analyzer, I see 15 variants. And these are not my variants to think that the additional variants are my personal varaints.
    Can I know why I will be seeing only less varainats in this table RSRPARAMETRIZA, when it have more variants? Is this the only table which the Bex Query to Variants relationship.
    Please let me know, if we have any other additional tables?
    Appreciate your help .

  • BEx 7 - how to order variants on a query

    Hi,
    I've created many variants on a Bex Query (over 40 and they will increase).
    When I run the query it's difficult searching one variant, because they are not ordered in any way.
    they are not in alphabetical order (by name or technical name)
    they are not in creation date order
    Could someone help me?
    Thanks in advance,
    Fede

    I dont think there is a way to sort the variants in a selection screen. Once waht you can do is to sort these manual by giving numerics to the variants.

  • BEx query with variant from ABAP

    Hello,
    I'm looking for possibility to start BEx query with variant (variant is created with tx RSRT) from ABAP. There are some funktion modules, which start queries (launch excel), for example RSAH_LAUNCH_EXCEL or RSSEM_QUERY_LAUNCH, but they are ending with short dump, when there are variables in the query. Is there any standard FM, which starts the query with variant or accepts parameters?
    regards,
    Krzysztof

    Hi,
    the short dump was my fault, I've passed query name instead of genuniid to the RSAH_LAUNCH_EXCEL.
    What I'm trying to do is to I'll start BEx query with parameters (I don't want to get selection-screen from the query, I need to fill it from ABAP).
    Here is my example, which is not working.
    DATA:
      lv_query(30) TYPE c,
      lv_genuniid  TYPE rsrrepdir-genuniid,
      ls_var       TYPE rrx_var,
      lt_var       TYPE TABLE OF rrx_var.
    lv_query = 'YB_MAKLER_DETAIL'.
    CALL FUNCTION 'CONVERSION_EXIT_GENID_INPUT'
      EXPORTING
        input  = lv_query
      IMPORTING
        output = lv_genuniid.
    IF lv_genuniid = ''.
      WRITE: / 'There is no Query', lv_query.
    ELSE.
      ls_var-vnam = 'YS_MKLE'.
      ls_var-sign = 'I'.
      ls_var-opt  = 'EQ'.
      ls_var-low  = '0000005100'.
      APPEND ls_var TO lt_var.
      ls_var-vnam = 'YS_VTGJ'.
      ls_var-sign = 'I'.
      ls_var-opt  = 'EQ'.
      ls_var-low  = '1999'.
      APPEND ls_var TO lt_var.
      CALL FUNCTION 'RSAH_LAUNCH_EXCEL'
        EXPORTING
          i_genuniid                       = lv_genuniid
          I_OBJVERS                        = 'A'
          i_hide_sapgui                    = 'X'
        TABLES
          I_T_VAR                          = lt_var.
    ENDIF.
    If parameter 'i_hide_sapgui' is empty, I'm getting empty selection-screen,
    If parameter 'i_hide_sapgui' equals 'X' I'm getting selection-screen filled with values, which were used last time manualy, not with values from the internal table 'lt_var'.
    Do you have any idea how to pass parameters to the query with this function module?
    Regards,
    Krzysztof

  • Bex query copy with variants

    Hi,
    How do we copy a Bex query with variants?
    thanks in advance.
    regards,
    Prasad

    Hi VaraPrasad,
    The query can be copied using the transaction RSZC between the cubes.
    Regards
    Rohit

  • Refresh BEx-Query with variant

    Dear all,
    i have a question about refreshing Queries with variants.
    To refresh a BEx-Query (BW3.5) in a Workbook with VBA is no problem.
    For example:
    Run "SAPBEX.XLA!SAPBEXrefresh", False, myRange
    But is there a possibilty to refresh a BEx-Query with a variant (also with VBA)?
    My target is to create a VBA-Tool:
    1 which user can select a single Query and the available variant.
    2 Then push a VBA-Button
    3 After the selection no Variable-Screen will pop-up
       and the refreshing is completed.
    Thanks all

    Hi Ashok,
    refreshing Queries automatically on Workbook open is standard...
    What i need is to refresh a Query with variant (saved variable-values for a query e.g. the name of the variant is "ZMYVARIABLES").
    The user should not select an existing variant (ZMYVARIABLES)
    manually with Shift+F5 (Get Variant) on the Query-Variable POPUP-Screen.
    What i need is a codefragment which implement that all.
    Pseudo code:
    Sub RefreshQuery(QueryID As String, Variantname As String)
    End Sub
    Thanks,
    Erol

  • Crystal Reports 2008 and SAP BEX query.  Issue in retrieiving multiple recd

    Hi All,
    I have designed a crystal report which has BEX query as a datasource. The values from this query are placed in page header. Also two subreports are available which get data from an RFC. Main report and sub report are linked by primary key ID.
    (In the bex query one condition is implemented on a key figure)  When I run the BEX query , it retrieves single record. But when I execute the crystal report, execution says 2 records and my details section is getting repeated.
    I am unable to use filter as it is a keyfigure.
    Any suggestions or  help here is highly appreciated.
    Regards,
    Surya

    Hi,
    BEX query retrieves only one record (In the bex query one condition is implemented on a key figure) When I run the BEX query , it retrieves single record). I am puzzled on how the crystal is retrieving two records.
    Actually infocube has 2 records one with status "active" and the other with status "postponed". Some other fields also will vary.
    So, I cannot use this formula to supress.
    Regards,
    Surya.

  • How can I create variant of control query?

    Dear Expert,
    I am using BEx Broadcaster to bradcast query as a report.
    In tab Filter Navigation, I enter the control query, but the variant always gives me "(No Selection Possible)".
    How can I create variant of control query?
    I try to create variant via variable entry page when I excute my query.
    The variable show in table "RSRPARAMETRIZA" but not show in BEx Braodcaster.
    Thank you,
    Zilla

    Hello,
    Please run this control query on the portal and then save variant you require. If you want this variant to be available
    to all users make sure that the user specific flag is unchecked while saving the variant.
    Regards,
    Michael

  • Bex Query which uses Dynamic columns to display actuals

    Hi Bex experts,
    I have a query issue/question.
    I currently have a Bex query which shows me the the planned values for each period, spanning 6 years into the future. My Key figure columns are defined as follows:
    Value type  = '020'
    Version  = mandatory variable, entered at execution.
    Posting period (FISCPER3)  = These columns are fixed values using periods 1 to 12 for each column.
    Fiscal year (0FISCYEAR) = Each column contains SAP exit for current year, and using the offset +1, +2, +3, +4 etc, when I define the future years coulmns.
    Currency = fixed 'USD'.
    Fiscal year variant = fixed 'Z4'
    The above works fine for plan data.
    I want to now include is:
    Seperate 'Dynamic columns' to show only actuals for period ranges from period one to the previous period (or current period minus 1). Each period should have it's own column for actuals.
    The dynamic actuals columns should be grouped together to the left of the plan columns.
    Actuals are only for current year, so I will still use the SAP EXIT for current year in the column definition.
    Example: If I am currently in period 10, the query should show me actuals from period 1 to period 9 in seperate columns, then continue to show me my plan values columns that I have in place already.
    How can I construct these actuals columns in to my existing query. If you have possible screens shots.
    Thanks, and maximum points will be alotted.

    The way I have approached this you may not like as it involves quite a bit of coding
    12 CKFs
    each CKF adds up 2 RKFs
    So 24 RKFs
    example Column 6 CKF
    Adds Column 6 RKF Actual and Column 6 RKF Plan
    Column 6 RKF Actual contains Actual version + key figure + Period variable column 6 Actual
    Column 6 RKF Plan contains Plan version + key figure + Period Variable column 6 Plan
    Period variable column 6 Actual
    is a cmod variable which reads the entered date
    if the period of entered date is LE 6
    then return period 6 into "Period variable column 6 Actual"
    else put 0 into "Period variable column 6 Actual"
    Period variable column 6 Plan
    is a cmod variable which reads the entered date
    if the period of entered date is LE 6
    then return period 0 into "Period variable column 6 Plan"
    else put 6 into "Period variable column 6 Plan"
    Now what happens is that if you enter period 6 in your selection screen all the Actuals of columns greater than 6 all have period 0 put into their selection so return 0 and all the columns less than or equal to 6 return the values for the fiscal period (ie column 1 gets period 1)
    And in addition all the Plans columns return the value of their column ie for their period for those greater than 6 and for those less than 6 they all return 0
    It's convulted - but you get the idea - and yes it works
    There may be a better way to do it - and I am open to suggestions
    (this does assume that NOTHING is posted to period 0 otherwise it won't work)

  • Bex query; RSBBS: GOTO ECC transaction

    Hello experts,
    i have been looking SDN and google this afternoon, but i cannot find my specific problem.
    My customer wants to start an ECC transaction from a Bex query.
    I created a 'transaction'  RSBBS variant and am testing to see how it works.
    From Bex analyzer i use the GOTO and i see an URL which seems logical to me.
    http://xxxx.nl:8002/sap/bc/gui/sap/its/webgui?sap-language=NL&sap-client=100&transaction=rsrr_web&okcode=ENTR&G_S_WEB-DEST=BWDCLNT100&G_S_WEB-HANDLE=3OK0Z1JJ597ZBBRJPKKJQSY6M
    it gives me an error that mandant, name or ww are not correct.
    I'm sure i was able to give the right values for these three, so my guess now is that something on the ECC system is not right.
    My customer doesn't use portal/web server functionality in ECC; i think that is my problem.
    Do you agree with this or can you give me a clue what to check for?
    And can you give me clue where to activate the web server functionality?

    Hi,
    Check your configuration in RSBBS. This looks simple but sometimes we miss..
    Have you selected correct source system with client and transaction code? Once these details are saved. Log into Bex Analyzer and check the option of Goto on that particular object. It will takes you source system transaction.
    Please check the below link for more details.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/607e63d5-b56f-2c10-718f-8e33a08baa89?QuickLink=index&overridelayout=true
    Hope it helps you.
    Thanks
    Riyez

Maybe you are looking for