Testing the Bex Queries

Hi all,
How is the correctness of the data output in the Bex Queries checked?
Other than seeing the contents in the cube directly?
Thanks in advance,

Hi Madhu,
As for as i know,there is no standard methodology to test BW Queries.We do check Query data manually againest InfoProvider's data.
Execute the Query with some selections.go to LISTCUBE transaction,Provide InfoProvider name and execute it...Select the Keyfigures and characteristics which are there in the Query....If you have executed Query with any specific values,then here also provide same values and execute.This displays cube's data...You can cross check this data againest Query's data...
If you have any RKFs in Query,the try to view Cube's data according to that....
Copy the BCT Queries with different tech names and modify them according to Your requirements.in my experience,i have never used any BCT Queries.almost all Queries i work on are custom defiend ones.
Also check this links which had an Info about List cube
Listcube __
list cube usage
Hop this helps
Regards
Karthik

Similar Messages

  • How to come to know that the BEx queries created in whether in 3.X or 7.X

    Hi Friends,
    How to come to know that the BEx queries created whether in 3.X or 7.X.
    Some queries created in 3.X and some in 7.X in my system. How to know that the query created in which version. Where we can find such information.
    It might be smaal isue for you. I searched the form but i haven't got information which i am looking for.
    Thanks &Regards,
    Revathi

    Hi Revathi,
    Just check if the below can help you.
    You can use table RSZCOMPDIR
    Enter Query Technical Name in field COMPID 
    Field VERSION in the Table RSZCOMPDIR can tell you the version.
    if the value is below 100 then Query is in 3.x versionu2026
    If Greater Than 100 means, it is already Migrated to higher version which is 7.X
    Hope it helps,
    Manish Sharma

  • How to create a Macro on the BEx Queries

    Hi,
    I got a business case where i need to create a Macro on a particular report.
    That Macro should run on that particular report and it should save into .CSV format and fill the data automatically and that file i need to send to client workstation.
    I got a suggestion that Macros can be done only in BEx Analyzer not in the browser.
    Kindly help me in this...
    Thanks & Regards
    Jagannadha Raju

    Yes, macros can only be created if you are working with a report in the Bex Analyzer. For web reports you may need to look for some javascript function to accomplish your reqt.
    Hope this helps...

  • Check the bex queries results for creating dashboards?

    Hi All,
    How can i check the bex query results for creating dashboards, is it possible to view the bex query results before creating the dashboards?
    help me the steps...
    Thanks in advance..

    Yes you can check the query result first in SAP BW Server first using RSRT -TCODE with your query name, where you can do complete debug and  check the query result.
    Create a query, drag and drop the dimensions and keyfigure in the window and click the preview window to check the query result at the bottom of the window.
    Revert for any assistance.

  • Can I create one single  crystal report using 2 bex queries

    HI all,
    I have 2 bex queries and has to develope a single crystal report .Is it possible???? If so, than how to connect two bex queries  and develope  one single crystal report.Any other option is also fine. I mean ....no need to use crystal..( I can go for one single webi..).But need to know the approach ...
    or else...can I create universe on 1 bex and other universe on other bex ..and go for one single webi report..
    Only problem is client is particular about one single report(either crystal or webi)
    if i go for webi ...I know we can use link universe option but I dont know whether it works fro OLAP environment.
    Please let me know if I can link OLAp universes and go for 1 single webi report.
    Any help is appreciated.
    Thanks in advance,
    Mahathi

    You can use either CR or WebI.
    In CR Designer create the report using the SAP toolbar (Create report from query) based on the 1st BEx query. Then use the Database expert (first entry in the Database menu) to add an additional connection to your 2nd BEx query (+Create new connection->SAP BW DX query). You can then join the results of the 2 different queries in the database expert also.. Please note that if you do NOT want to join the result sets, then it is more efficient to use subreports. Create two different CR reports, each based on one of the BEx queries and then use one of those as your main report and insert the other one into it as subreport. Once embedded you do not have to keep the separate .rpt file of your second report.
    For Webi you must build 2 universes, each based on one of your BEx queries. In your report you can add multiple queries based on different universes. You can join the results sets here by using the Merge dimensions button in the report editor area.
    Regards,
    Stratos
    PS; Keep in mind that joining a large number of rows at report level (either in CR or WebI) can cause performance problems. If this is your requirement, how many rows do you expect to get back from each individual query?

  • Help regarding integrating BEx queries onto portal

    Hi Friends,
    CAn anyone please help me in the steps and process required to follow for integrating the bex queries into portal.
    we have queries developed in bex analyser , the users want to access the reports via portal, for this to be acheived  do we need to integrate or develope the report templates in WAD and then integrate into portal or we can directly integrate these bex queries onto portal, your response and help is highly solicited, many thanks in advance!
    Regards
    Srinivas P
    Cell:09676771313

    Assuming you are using BW 7 objects. If you are satisfied with the formatting provided by the standard template (see transaction spro thread SAP Netweaver / business intelligence / settings for reporting and analysis / BEx Web / set standard web templates and read the accompanying documentation) you don't have to create individual templates.
    Simply create an iview of type Bex Web Application iView (sap netweaver 7 format) and specify "query=technical_name_of_query" as property value for the iview-property "Query-String Bex Web Application".
    If you want to use individual templates the property value would be at least "template=yourtemplate" (if queryname is provided as dataprovider in the wad-template) or "template=yourtemplate&query=yourquery".
    hth
    Klaus

  • Lumira on BW BEx queries

    Hello experts
    We intend to connect Lumira to BEx queries.
    How are the authorizations / access to BEx queries from the Lumira view handled?
    We don't have HANA.
    Thanks
    Thomas

    Hi,
    at the moment, the desktop can only "visualise" BW results in an online manner, and not "prepare", "compose" or "share"   (i.e. the other main workflows)
    the next implementation will be a 'download from bw' where the dataset will be queried down and stored in the local client.
    either way, the authorizations concept will be the same - when the user connects from lumira to BW, they use a named user and password to connect to a BW SID (dropdown info coming from the SAPGUI logon pad)
    then the Bex queries are accessible either by Roles or Infoareas
    Bex Variables are handled in the manner you would expect - they are called when the connection to the query is established, mandatory ones are enforced, processed by authorizations etc (much like Webi, Crystal or Analysis via BICS)
    kind regards
    H

  • Crystal Report with multiple BEX queries

    I have a Crystal Report that uses 6 different BEX queries.  The report needs to display the results from each query, there is no need to join these queries.  The Crystal Report is using subreports and displaying the data one BEX query after another.
    The issue I have is that these BEX queries all have the same mandatory variable.  This is causing Crystal to prompt the user to enter the same variable filter once per BEX query.  
    If we change the BEX queries so only the first BEX query has a variable and use Crystal to filter the other 5, the performance is unacceptable.  My guess is the other 5 queries are experiencing client side filtering instead of the filter being passed down to BW.
    Is there a way to have multiple BW queries with the same variable and have Crystal only prompt the user to enter input one time?
    Thanks,
    Andy

    Hi Andy,
    My understanding of the issue is :
    --You have 6 Bex queries and are displying on after the other becaused you have inserted all these queries as sub report.
    --All your Bex queries are having same parameter / prompt / variable which will take user input and filter the data.
    --Now the report is prompting the user to enter prompt / variable 6 times.  You are looking for an option to proimpt only ones insted of 6 tiems.
    If I understood correctly follow the method to link sub reports to grab the parameter value form main report parameter :
    Right click on sub report go in Change Subreport Links, select main reort prompt / varieable and then select sub report prompt / parameter / variable.
    Do the same for all your sub reports.  This will eliminate asking / prompting the same parameter value several times.
    Thanks,
    Sastry

  • Bex queris

    In the Bex queris, when I try to select values for Fiscal year I get the following error message:
    Message     M     Description
    BRAIN        629    specify a value for a Current Fiscal Year (single value entry,                                                                               
    Mandatory)
    BRAIN        633    Variables contain invalid values
    RSBOL       000     Program error in class SAPMSSY1 method : UNCAUGHT_
                                                                                    EXCEPTION
    BRAIN        299      System error in Program RSR_NET_INTERFACE and form
                                  CX_ERROR_RAISED (see long....
    Can anybody explain why this is happening and what is the solution to fix it
    Thank You

    Hi Amit,
    Check the variable and its properties you are using for restrictiing Fiscal year.
    Regards.

  • Is there any table that holds the history of BEx queries

    Hi, I just wanted to know if there is any table that keeps the history of changes done to BEx queries?

    HI,
    Below tables helps you
    RSZELTTXT        Texts of reporting component elements
    RSZELTXREF       Directory of query element references
    RSRREPDIR        Directory of all reports
    RSZCOMPDIR       Directory of reporting components
    RSZELTDIR        Directory of the reporting component elements
    RSZELTDIR        Directory of the reporting component elements
    RSZRANGE         Selection specification for an element
    RSZSELECT        Selection properties of an element
    RSZCOMPIC        Assignment reuseable component <-> InfoCube
    RSZCALC            Definition of a formula element
    RSZCEL              Query Designer: Directory of Cells
    RSZELTPRIO       Priorities with element collisions
    RSZGLOBV          Global Variables in Reporting
    RSZELTATTR       Attribute selection per dimension element
    RSZCHANGES       Change history of reporting components
    RSZELTPROP       Element properties (settings)
    Regards,
    rvc

  • Please share the possible T code in MM of ERP to validate the data of MM bex Queries.

    Dear All,
    Please share the possible T code in MM of ERP  to validate data of MM  Standard bex Queries.
    Thanks
    Regards,
    Sai
    Basic Qs
    Message was edited by: Pravender Kumar

    Try something like this..
    data : lv_flag .
    LOOP AT GT_ZKPC2 INTO GS_ZKPC2.
    ld_amount = ld_amount + GS_ZKPC2-SALK3
    at end of prctr.
    <b>lv_flag = 'X'.</b>
    endat.
    at end of prctr1.
    <b>IF LV_FLAG = 'X'.</b>
    ld_amount = ld_amount + GS_ZKPC2-SALK3.
    move GS_ZKPC2-BUKRS_VF to GS_ZKPC3-BUKRS_VF.
    move GS_ZKPC2-PSPNR to GS_ZKPC3-PSPNR.
    move gs_zkpc2-konts to GS_ZKPC3-BUKRS_VF.
    move GS_ZKPC2-ALOC_SAKHA to GS_ZKPC3-ALOC_SAKHA.
    move gs_zkpc2-prctr to gs_zkpc3-prctr.
    move GS_ZKPC2-SALK3 to GS_ZKPC3-SALK3.
    move gs_zkpc2-prctr1 to gs_zkpc3-prctr1.
    move ld_amount TO GS_ZKPC3-RAMOUNT.
    APPEND GS_ZKPC3 TO GT_ZKPC3.
    clear: gs_zkpc3,ld_amount.
    <b>
    CLEAR LV_FLAG.</b>
    endat.
    endloop.
    Thanks
    mahesh <b></b>

  • How to retrieve the deleted Bex Queries

    HI all
    Do we have any way to retrieve back the Bex query that is deleted, we dont have that in Quality and Dev
    regards

    hi
    use the table RSRREPDIR which has a filed COMPID put the query name in this filed i.e. technical name
    t.code: SLG1
    thx
    vije

  • BEx queries - one or more SQL statements generated?

    Iu2019m a BusinessObjects man and BEx is new to meu2026When you execute a BEx query against a cube u2013 how does BEx manage that query and what gets send to the backend DB (e.g. Oracle)?
    I understand the cube is one table in Oracle?, but other tables (dimensions?) will also be needed to return all the data for a given report/query.
    Does BEx pass that as one query to Oracle, or is it performed as separate queries, with BEx pulling the result sets together?

    Hi Durgesh, Susan
    Thank you to both of you for your response to Ed on this thread.  The background to these questions on how SQL statements are generated from BEx queries that we are working with Ed in a project to test the capability of accelerating the performance of BEx queries via the following process described below. (Please excuse any terminology errors as like  I do not have a background in SAP):
    1. Export fact table InfoObjects relevant to queries for InfoCubes to be accelerated by defining as Open Hub destinations, creating mappings and a data transfer process. Trigger export from SAP BI via a Process Chain and then load data to external database via ETL tool.  Master data (dimension tables) remain in SAP BI
    This step was completed successfully, including exporting of data.
    2. Create a Universal Data Connect (UDC) source system to map to the exported fact tables.
    3. Create a virtual provider mapping to the UDC source defined in step 2 to enable access to external table via JDBC.
    4. Execute BEx report, selecting the query properties 'Cache inactive' and 'Reading all data at once', specifying restrictions (variables) in the report which would result in a small subset of data being returned from the fact table if applied in the SQL passed to the external database.
    We hoped that SAP BI would push down predicates which could be applied to the fact table into the SQL sent to the external database via the virtual provider, but instead an SQL query selecting all columns with no WHERE clause was generated with the result that a 36 million row results set was sent across a network to join with dimension data, rather than a few rows.
    Is this how SAP BI works in version 7.0 or are there configuration options which can change this behaviour?  Is so, if all tables (including master data (dimensions) were exported to external database would SAP BI then transmit the database queries as joins to the external database?
    Sorry this was a bit long, and thank you in advance for any advice you can give.
    Stuart.

  • How to use one WAD template for all the available queries

    Hi,
    I have created a WAD template... Now we have close to 25 queries which will use that template for displaying their output at Portal...
    Is there any way that i don`t have to create multiple copies of my WAD template...
    I.e. all queries would call that same template through portal...

    Hi,
    The Bex report uses the Standard Template 0ANALYSIS_PATTERN while it is executed.
    So if your sure that the look and feel of all the Reports is going to remain same, you don't need to even attach all these Queries to Templates in WAD.
    When you execute the BEx query, it would pick up the standard template and run it in portal.
    But if you want to customize the Report Template:
    1) You can change this standard template 0ANALYSIS_PATTERN  and customize it according to ur requrement in WAD.
    2) Or you can create a copy of this standard template and change it as required. Then change the template in spro (transaction RSCUSTV27) to point to this Z template.
    Let me know if you need more details.
    Regards,
    Forum

  • Error while Activating / running Bex queries/reports

    Hello
    I have following ERRORs while activating / running BEx reports/queries.
    1. While Activating BEx reports, I keel getting following ERRORS
    Object directory entry R3TR ELEM E341OIR6G715GUMGN0MRXP3MA does not exist
    Error when activating element BX7FOOKQB4588RROCBTC2YVZN
    BEx transport request 'BIDK901352' is not available or not suitable
    2. While running the BEx report/query in Bex Analyzer, I'm getting ERROR in entering the parameters, its NOT allowing / giving me option to select the parameters, for example for 0COSTCENTER, it is NOT displaying list costcenters to select before I can RUN that particular report.
    3. How can I trouble shoot ERRORs related to BEx and Portal connectivity.
    4. How would I setup the Variants for a Bex query/report ? Are these Variants for per user basis / per report basis. Can I have each variant for particular users OR all users must select their own variant each time when they RUN the report ? 
    Thanks, Sorry I have asked multiple questions, in jst one thread.
    BI

    Goto SE03 -->Search for Objects in Requests/Tasks  option , select the object type and execute it will give all the transports it has collected before ..
    Also you can use transport connection in RSA1 and select the query and find out all the objects in query locked by what request etc ..
    Thanks,
    Ravi

Maybe you are looking for

  • Emptying trash isn't freeing up any space on MacBook Pro or external drive. Time Machine is OFF.

    Yesterday, while using Final Cut Pro X, I noticed the program/my computer was starting to run slow--and then I was totally caught off guard by a warning that my startup disk was full. I checked Storage and Finder and both my MacBook Pro and external

  • Resource not available error for JSP application

    Hi i have developed J2EE - Web Module DC with JSP pages. I built the .WAR file of this application. Now I created J2ee - Enterprise application DC which references above WAR file and created EAR file. This EAR was then deployed on the server and RC w

  • Magic mouse no longer recognized

    Hello everyone, I have my 2009 mac pro about 13 feet away from my keyboard and magic mouse, and though it would connect via bluetooth, it was very laggy and at times unresponsive, so I purchased an IOGEAR GBU421, plugged it into my USB hub that sits

  • Problem while creating user

    Hi We have installed a SAP Netweaver 2004s system on AIX box. We have installed the J2EE + ABAP Engine. While creating the user from the portal we get the following error: #1.5#1E656000400200710000008E000890AC00042D27C0FEBD4D#1175548671736#com.sap.se

  • BPM           Package SWF_XI_ADAPTER missing two objects

    Hi , we are running XI SR1 or SP09 and Workflow Adapter for XI Appl-> component BC-BMT-WFM are missing Workflow template WS77200005 and Standard task TS77207918. I found it out when I tried to make activation of Process Definition in transaction SXI_