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

Similar Messages

  • 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

  • How to refresh report data from bex query (BW) with parameters

    Hello,
    i hope someone can help me with my problem. I developed an desktop application, which loads (actual state) a report from the local file system. After setting the parameters, the report should be saved as a pdf file. Loading the report into the ReportDocument object and exporting the report to a pdf works fine. Setting parameters (without) a data source too. But now i can't refresh the data in the reports given by a parameter (e.g. time).
    I know there are two methods to do this. Push and pull. I want to use the pull method, cause my program should exports different reports and i think it should be easier to handle this with this method.
    On my development environment is installed:
    Crystal Reports SP 4
    MS Visual Studio 2010 (coding with C# .NET)
    .NET Framework 4
    SAP Integration Kit
    Crystal Reports for Visual Studio 2010 SP1 - SDK libraries
    Crystal Reports for Visual Studio 2010 SP1 - Runtime 32 bit
    SAP GUI 7.20 (Compilation 3)
    The bex query is enabled for external use from ole db for olap. Do i have forget something else?
    Here is a part of my code:
            public ReportDocument doPullMethod(ReportDocument crReportDocument)
                TableLogOnInfo crTableLogOnInfo = crReportDocument.Database.Tables[0].LogOnInfo;
                ConnectionInfo crConnectionInfo = crTableLogOnInfo.ConnectionInfo;
                crConnectionInfo.Password = "*******";
                crReportDocument.SetDatabaseLogon(crConnectionInfo.UserID, crConnectionInfo.Password, crConnectionInfo.ServerName, crConnectionInfo.DatabaseName);
                MessageBox.Show(crConnectionInfo.UserID + " _ " + crConnectionInfo.Password + " _ " + crConnectionInfo.ServerName + " _ " + crConnectionInfo.DatabaseName);
                for (int i = 0; i < crReportDocument.Database.Tables.Count; i++)
                //    crReportDocument.Database.Tables<i>.ApplyLogOnInfo(crTableLogOnInfo);
                    MessageBox.Show("TestConnectivity: " + crReportDocument.Database.Tables<i>.TestConnectivity());
                return crReportDocument;
    Cause i'm using only one bex query, i know that the SetDatabaseLogon()-method should bring me the same result as the ApplyLogOnInfo()-method SAP Crystal Reports .NET API Guide
    Exists an order which i have to follow? First setting parameter and then set the login informations or backwards? Cause i also get the "Failed to load database information" exception, when i set a parameter and TestConnectivity() returns false.
    Do i have to activate the data refresh manually or will be the data refreshed automatically on export?
    I searched in this forum (.NET - SAP Crystal Reports) and found only this thread which according to my problem:
    [Re: Crystal report connects to BW RFC by .NET;
    The question is assumed answered.

    Hi Robin,
    There is a SAP Integration Kit you need to allow CR to connect to SAP data sources. There isn't one for CR for VS 2010 and I don't believe there are the various extra options available in the SDK, no SDK access to the DB driver.
    Possibly, Check the other post, download and run the app Ludek suggested, it will get the connection info for your report using RAS and then plug the output code into your code and see if that works. It should show the crdb_olap dll is the database driver, assuming that is the connection method you used when designing the report.
    Pay attention to the database dll in the output from that app and verify it is on your PC in: C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86
    If that doesn't work then.....
    The problem is, CR for VS 2010 ( version 13 ) is the runtime for BOE 4.0  ( version 14 ) which includes the Integration kit drivers on install. There is no standalone install of the database drivers. They are installed with CR 2011, which doesn't have a SDK included, CR for VS 2010 is also the Developer version for CR 2011.
    Because of the "custom" connection requirements there is no SDK or access to the BW datasource extra options....
    Also note that CR 2008 is not supported in VS 2010, it should work though as long as you stick to 2.0 -> 3.5 framework, no 4.0 Framework support in CR 2008 or BOE 4.0
    You may want to try the SAP Integration Kit forum to see if anyone has been able to make this work or contact your account manager to verify if there are any plans to do what you are doing....
    Don

  • Problem with a Bex Query Report with Web Intelligence

    Hello!
    I have a Bex query (with query Bex version 7.0) I'm connecting with Web Intelligence (4.0) but one of the attributes instead of displaying the description shows only the key, and it is strange because other cubes if given by the conversion.
    I wonder if there is a solution for this or if it is a problem of version 4.0 of Web Intelligence.
    I await your response,
    Greetings!

    Hi,
    Whereabouts in the application are you seing this problem?  (in the query panel conditions, in the prompt list of values, or in the table block? )
    also, what do you mean by "and it is strange because other cubes if given by the conversion" ?
    it's worth noting that the "key and text display properties" in the Bex Query Designer do not influence webi.  WebI consumes the global infoobject property from BW RSH1.
    Regards,
    H
    p.s. if you need to understand which features are or are not supported with BI 4.0 tools, please look here: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d056e1bc-2794-2e10-959e-8779c5623cc5

  • FAQ: CR (based on Bex query) bursting with Local profile

    We have the following scenario
    1. A CR based on BEx query, specified to use a BW account with the property - 'use same DB account for refresh'.
    2. Created a profile with two different Groups, each group having a specific CR expression for a field. The users in this group are enterprise aliases not BW aliases
    3. Created a publication with the above two Groups as 'Enterprise Recipient'
    4. Assigned personalization on a specific field with local profile (the profile created in step2)
    When we schedule the publication with the option 'single DB refresh for each batch', it fails with the error "User specific security is in use. One database fetch per recipient must be used"
    Env: BOE XI 3.1 SP2, Windows
    Edited by: Rajesh Jayakumar on Oct 27, 2009 9:33 PM

    Hi,
    would suggest you open it in the general BusinessObjects forum as this doesn't look to be related to the SAP Integration Kit
    Ingo

  • SAP BW ,BEX query,Infocube with the universe problem

    Hi gurus,
    Plz throw some light....
    1. Now i can create the universe on the top of each bex query,but how to select<b> 2 or more query in the singel univers</b>e itself.Because this leads to me to create <b>lot of universe.
    </b>
    2. I <b>dont have option to select the infocube</b>..how i can select the infocube???only folder is there,when i click on it,<b>bex query is there,but how to select the INFOCUBE??
    </b>
    3. In the particular folder(infocube) itself i <b>cant find the all the bex query</b> available...for eg:i have 2<b>0 bex query in SAP BW but i see only 5 querys in universe...</b>
    plz guide me gurus...
    santose

    Hi,
    This is a normal behaviour.
    Please have a look on the deffierent Universe's guides:
    [Designer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/xi31_designer_en.pdf]
    [Using SAP BW in Universe Designer|http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_sap_olap_universes_en.pdf]
    Moreover please have a look on SDN documentations:
    [OLAP universes best practices|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb]
    [Best Practices. Web Intelligence XI 3.x on SAP NetWeaver BI |https://wiki.wdf.sap.corp/wiki/display/globalregions/BestPractices.WebIntelligenceXI3.xonSAPNetWeaver+BI]
    [OLAP Universes - how to samples and recommendations |https://wiki.wdf.sap.corp/display/globalregions/OLAPUniverses-howtosamplesand+recommendations]
    Regards
    Didier

  • BEx Query RRI with authorization object

    Hi,
    I have two queries linked using RRI (Sender and Receiver).
    Queries have authorization object.
    Both queries work fine with authorized user if I use them separately.
    (Query Sender works fine with authorized user, Query Receiver works fine with authorized user)
    Using BEx in Excel:
    - when an authorized user jumps from the Sender to the Receiver, system tells him he doesn't have the authorizations, and Receiver query doesn't appear.
    Using Web: 
    - when an authorized user jumps from the Sender to the Receiver it works fine and user can see the results in the Receiver Query
    Could anyone help me?
    Thanks in advance
    Fede
    Edited by: Federico Carta on Jun 23, 2009 2:53 PM

    Hi Mohan,
    I checked the authorizations and S_RS_COMP, S_RS_COMP1, S_RS_MPRO, S_RS_ICUBE are correctly set.
    The strange thing is that if user calls the Receiver query from the web (BI web server), it works fine. The problem is only if user executes them by BEx in Excel. If he uses Receiver query directly without using Sender query, it works fine!!!
    Best Regards
    Federico

  • BEx Query Problem with variable

    Hi experts,
    I want to create a report with month variable such that when the user enters (let say)October the report will look like this:
    October    November   December
    I want to see the October column as cumulative(sum of Jan-Oct) and the remainings as single values.How can I achieve this?
    Thanks and regards,
    Sunny

    Hi,
    As far as i understand your problem you need three things to display.
    Suppose you have a key figure sales and you want to display cumulative sales (current year till month entered by user) and another sales of next two months.
    For next months based on user entry you can work around with offset only.Restrict your keyfigure with 0calmonth offset1 and offset2.
    FOr yeat till month requirement you need to make one customer exit variable.Please check the below link for the same.
    Variable Exit
    Hope it helps.
    Regards,
    AL

  • BEx query - report with hierarchy, strcuture and cell

    SDN,
    I need to create a report like -
                                  Profit center1     Profit Center2     PC3   PC4    PC5      ... till PC20
    Account
       001                            10                  20                  30      40       50     ...        100
       002                            10                 10                   10      10      10                 100
    North                             20                 30                   40      50      60                 200
    On rows, I need various account with their hierarchy, I should be able to expand account hierarchy node when wants to see details.
    in Column... I need various profit center (on header) and data filled with various revenue. so intersection of account and profir center - should be revenue in that acoount from profit center.
    Revenue - is based on formula - Ned to define based account-profit center interaction using Cell edit.
    In order to create cell - I need two structure, so account I am making part of structure.
    trouble is - I am not able to expand account hierarchy?
    If I do not make account as part of strcuture, I can not use cell concept. If include them in struc... can not expand/drill on them?
    profit center can be expanded as it is outside structure (of key figure)
    what I am messing?

    cell will only work for struc-struc intersection, we can not expand hierarchy obj defined within struc (confilct with cell static feature)...may be fix in fture release.

  • Bex Query designer withour Enterprise Portal?

    Dear BW experts,
    After launching the Bex Query designer with BI7 system. After designing query, If I click on execute (Ctrl+R). It is launching internet explorer with error "Invalid Syntax error - Page cannot be displayed"
    It is launching the following URL
    http:///irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZCCQ20071048070001&VARIABLE_SCREEN=X&DUMMY=1
    I think it is looking for Enteprise Portal server. I dont have an EP server.
    What is the alternate way to execute this?
    Thanks in Advance...

    Hello to all of you,
    just to make sure that I do not missunderstand:
    As far as I know in BW3.5 (without EP installed) you were able to execute a query directly out of the query designer and it was shown as a web-query.
    Now I tried to do the same with a BI7-System the first time and I get the same symptom as Abdullah. We also do not have an EP installed on that system.
    As solution, you all describe that I have to open the query in analyzer to see it in excel - OK - BUT if I do not want to see it in excel but as a webquery (like in my good old BW3.5) instead ? Isn't that possible anymore ???
    Uwe

  • Transport of sap queries report with variants

    We created an ABAP Query report (it is system generated report). We created Z transactions to which we attached generated report. We added Z transaction, User group & infoset in transport & transported same to quality system.
    For some transactions report is transported for some it is not. why so?
    Also we created variants for these transactions & mentioned same while creating transaction. These variants are also not transported. I checked that these programs are generated by system as local obj. & when i tried to add variants in transport request using program RSTRANSP system gave me message that cant add variants for local objects.
    Can you please let us know how can we transport Transactions created by ABAP query report with variants?

    Hi
    To use the variants in the other systems, you have to create System Variants. While creating a variant provide the name of the variant starting with CUS& and include the same in request number.
    For transporting the Query, User group and Info set use the Query Transport tool program - RSAQR3TR
    ~~~Ganesh Kumar K.

  • 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

  • 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

  • Structure copy in BEx query Designer?

    I created structure in BEx Query Designer in BI PRD which is our BI production system.
    I'd like to copy structure to BI DEV which is our BI development system.
    Is is possible?
    If you have any solution, tell me about that.
    Thanks.

    Hi
    If you want the object which is there in PRD to DEV system means, the only way is to do transportation. but to do reverse transportation, you should have STMS connection from your PRD to DEV system.
    The better way is to create the structure again in DEV system.
    If you want to go with reverse transportation, consult your basis person.
    Regards,
    Venkatesh

  • 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 !!)

Maybe you are looking for

  • In PR GL a/c and commitment Item change

    Hi Guru, Whenever we select any GL code in PR, automatically system picks the relevant commitment no. & if we change the GL code, commitment no. doesn't get change. I think commitment no. should get change with the change of GL code. but in our syste

  • Adobe Acrobat 9 Pro upgrade to XI.

    We purchased the Acrobat XI upgrade and it was assigned to one of our three products.  However, we want the upgrade to be for one of our other Adobe 9 products.  How can we make the change? 

  • Printing to PDF adds printer margins

    I have an extremely frustrating problem. I have a large Word doc with a full bleed border. I need to convert it to PDF for printing, but when I try, I get "the footer/margins in Section X are outside the printable area of the page." If I hit "ok," th

  • Please explain the IMPORT statement?

    I have been searching for information on the import statement, but can't seem to locate it. I understand how to use import, but I would like to know, in detail, exactly what it does. When I import, for example; "java.awt.*", I would expect this state

  • Database privileges for integration between EBS and Third Party software

    Hi, We have engaged a third party invoice scanning software vendor that wants to install database components on our existing EBS database. We run Oracle EBS 11.5.10.2 on a 10g database. The third party software vendor wants privileges like select, up