BW QUERY and BW MDX Query

Hi,
While creating a report through crystal i see one option while creating a connection to database.
SAP BW Query
SAP BW MDx Query.
Could anyone told me whats the technical diffrence between two.
When option should be used when.
Thanks
Ashwani

The BW Query Driver is an old version. the BW MDX is an enhanced version.
The BW MDX Driver is able to leverage a BW query with two structures and it shows display attributes.
ingo

Similar Messages

  • Link Query and Ref Cursor Query

    Hi all!!
    How can I link Query and Ref Cursor Query??
    I mean, How can I pass input parameters to the PL/SQL procedure if they are not User parameters but they come from another table??
    Thanks a lot
    F.

    I have searched the forum and this is the closest to my problem.
    Just started using ref cursors in my reports.
    The problem I am running into is that I have two ref cursor queries in my report - they each contain a column named seq_no which forms a join (in the database) .
    My report returns the correct number of records in each query, but I can't find a way to enforce the join. I've tried all the methods I can think of including combining the results into one query.
    The IDE won't let me join on a column and when I join on the group (which I make only contain the seq_no fields) that join is ignored.
    Can anyone help me on this?

  • No flashback versions query and flashback transaction query tools on EM?

    No Flashback Versions Query and Flashback Transaction Query tools on EM Console?
    How to do Flashback Versions Query work and Flashback Transaction Query on EM Console?

    No Flashback Versions Query and Flashback Transaction
    Query tools on EM Console?WOrks on mine.
    How to do Flashback Versions Query work and Flashback
    Transaction Query on EM Console?Part of the Maintenance , Recovery wizard. Not intended to be a casual query tool.

  • Authorization on Modify Y* Query and View Z* Query

    Hi Experts,
    is it possible to allow user to modify only Y* query and to display Z* and Y* query?
    I add two times S_RS_COMP (&S_RS_COMP1) in the SAME role (PFCG), one time allowing ALL activities for Y* query and othe allowing only display activity on Z* query...but it doesn't work! I have to do 2 different roles and add the two roles to the user?
    Any hints will be rewarded.
    Many thanks in advance,
    Fabio.

    mentioning in one role or two roles depends on your requirement.
    if you are planning of using one role, entries should be as below.
    S_RS_COMP
              actvt  --03, 16
              rszcompid -- Z*
    S_RS_COMP
              actvt  -- *
              rszcompid -- Y*
    S_RS_COMP1
              actvt ---*
              rszcompid ---Z, Y

  • How to link a non-linkable query and a plsql query in the datamodel

    Hi,
    I am creating a matrix group....
    Where in I get my
    1) Column values from a non-linkable query - Period (Jan, Feb....)
    2) Row values from a plsql query (ref cursor). Group is also from this query
    3) Cross product is on the above two queries.
    4) Cell info comes from a plsql query (refcursor).
    I created a group link from the cross product group (3) to the cell info query (4)
    I prepared the layout and executed the report... I am getting redundant data....
    The reason being the (4) and (1) are not linked properly.
    From google, About non-linkable queries column.... I understood that to link two non-linkable queries, we need to create a group link and then add a where clause in the child query referring the parent query column.
    But my case is a non-linkable query (which is a parent ) and a plsql query which is the cell.
    Any help...?
    Thanks in advance.
    KK

    Hello Sam,
    >
    I was wondering if you could have any link or examples to show how to make a form with report and an insert form in the same page, these two forms are related to the same table. Our customer wants a user can add new row to the table in a form and see all of rows created by this user in a report, this report should provide edit link as well. the problem is: whenever I inserted a new row or edit a row or delete a row, and submitted, and return to this page, all of hidden items lost their values, so report is blank, and some display only items also lost their values. Could anyone give me suggestions?
    >
    This will help:
    http://www.grassroots-oracle.com/2011/09/apex-tutorial-form-report-sharing-same.html
    Hope it helps!
    Regards,
    Kiran

  • Differences between Native Query and Hibernate Native Query?

    What is the differences between this two queries? as i was looking for native query. i saw hibernate native query... from what i've search through the internet, i know noted that hibernate query and native query is a totally different queries
    so is hibernate native query belongs to hibernate query? i m quite confuse 2 differentiate this with native query

    hi,
    Information is retrieved from the data base for use in out programs via a special language known as structured query language (SQL). SQL is a language designed for the use with relational data base systems.
       Open SQL is a subset of native SQL . SQL has been divided into two parts.
    > Open SQL  can recognized by the ABAP program.
    > They are 10 SQL statements out of which we use only 5.
    1. Select.
    2. Insert.
    3. Delete.
    4. Modify.
    5. Update.
    6. Fetch.
    7. Open Cursor.
    8. Close Cursor.
    9. Roll Back.
    10. Commit.
    out of which we use only the first 5.....
    > Native SQL. cannot be recognized by the ABAP program.
    > To execute Native SQL
    Exec SQL.
    End Exec.
    as it cannot be recognized by the ABAP we go for Open SQL.
    If this has helped u solve ur problem then dont forget to reward them with pointrs.
    with regards,
    madhuri.

  • Error running a query and creating a query report.

    Hi all
    I have a problem with a query when I'm running it or trying to create a report for it.
    23/09/2009  11:47:31: 1). [Microsoft][SQL Native Client][SQL Server]Arithmetic overflow error converting expression to data type datetime.
    'Document' (RDOC) -- Run query
    23/09/2009  11:01:58: 1). [Microsoft][SQL Native Client][SQL Server]Invalid object name 'CSHS.T0'.
    2). [Microsoft][SQL Native Client][SQL Server]Statement 'Received Alerts' (OAIB) (s) could not be prepared. - create a query report
    This happened on a Windows Server 2003 OS , when I ran the same query on local pc on xp it ran fine on both scenarios.
    Please help
    Bongani Dlamini

    select SlpName, ItmsGrpNam, sum(LineTotal) as 'Total Sales Minus Returns'
    from
    SELECT T4.SlpName, T3.ItmsGrpNam, T0.LineTotal FROM dbo.INV1 T0 INNER JOIN dbo.OINV T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1]
    UNION
    SELECT T4.SlpName, T3.ItmsGrpNam, (T0.LineTotal * -1) AS 'LineTotal'
    FROM dbo.RIN1 T0 INNER JOIN dbo.ORIN T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod INNER JOIN OSLP T4 ON T0.SlpCode = T4.SlpCode WHERE T1.DocDate >=[%0] and T1.DoCdate<=[%1 ]
    ) InvoicesMinusReturnsDerivedTable
    group by slpname, ItmsGrpNam

  • Designing a query and displaying the query output

    The goal is to create a report (in HTML form) of all the jobs
    (and job-related information) for a given department.
    I envision the department name as a hyperlink to a report
    based on the unique DepartmentID.
    For example, the “Sales” department might contain
    these jobs:
    VP of Sales
    Associate Salesperson
    Sales Assistant
    Each job requires a set of skills and a specific skill level.
    “Persuasion skill” could vary as follows:
    VP of Sales: ADVANCED persuasion skill
    Associate Salesperson: MODERATE persuasion skill
    Sales Assistant: BASIC persuasion skill
    “Communication skill” could vary as follows:
    VP of Sales: EXPERT communication skill
    Associate Salesperson: ADVANCED communication skill
    Sales Assistant: NOT REQUIRED
    And so on…
    Each job has roughly 20 skills that are related to it.
    I’d like to display this information in a table with
    the skills listed in rows, the job titles listed in column
    headings, and the skill level (e.g., ADVANCED) located in the
    appropriate cell where the skill and job title intersect. That way,
    the reader can easily compare skill levels across jobs.
    The requisite tables are below. (A field name preceded by
    “frn_” is the foreign key related to another
    table’s primary key.)
    Table: Departments
    Fields: DepartmentID, DepartmentName
    Table: Jobs
    Fields: JobID, JobTitle, frn_DepartmentID
    Table: Skills
    Fields: SkillID, SkillName
    Table: Skill_Levels
    Fields: Skill_LevelID, Skill_Level_Description
    Table: JobSkills (this table “links” a job,
    skill, and skill level)
    Fields: JobSkillID, frn_JobID, frn_SkillID, frn_Skill_LevelID
    I'm not sure how to do this, so thank you for any help!
    Luke

    You're correct; I want to display the data as you described,
    with one slight change.
    Instead of the words "expert" or "basic," the proficiency
    ratings should be displayed as numbers, e.g., "1" for "basic, "3"
    for moderate, and "5" for expert. (Table: KSAProfRatings contains
    fields for both, i.e, Field: PRStatement for "basic", "moderate",
    "expert" etc. and Field: PRRating for "1", "2", "3", etc. I want to
    use Field: PRRating)
    Table: KSAs contains Field: KSAStatement, which contains the
    skills. In addition to skills, Field: KSAStatement also contains
    knowledges and abilities.
    So, in addition to the skills that I mentioned above, there
    might be a knowledge, such as "Knowledge of company products &
    services," and an ability, such as "Ability to communicate
    effectively." These knowledges and abilities receive a proficiency
    rating just like the skills.
    There is conceptual overlap among knowledges, skills, and
    abilities (KSAs), so I had referred only to "skills" for clarity.
    The query that I posted reflects the actual table names,
    e.g., Table: KSAs instead of Table: Skills, and Table:
    KSAProfRatings instead of Table: Skill_Levels (see my first post),
    but the principle is the same.

  • Difference between Static SQL Query and Dynamic SQL Query.

    Hi,
    Please explain the basic difference between static and dynamic sql queries. Please explain with example.

    Static: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/static.htm
    Dynamic: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/dynamic.htm

  • SSRS report with cube – MDX query how to get an extra row with value '0'.

    Hello everyone,
    I'm unable to write the MDX query to get '0' value as first row in output. Following is my MDX query:
    WITH MEMBER [Measures].[Dummy] AS   '0'
    SELECT NON EMPTY Union( {[Measures].[Amount] },{[Measures].[Dummy]}) ON COLUMNS,
    NON EMPTY  { ([Customer].[Customer Nbr].[Customer Nbr].ALLMEMBERS * [Fiscal].[Year].[Year].ALLMEMBERS ) }
    having  [Measures].[Amount] > 5000
    ON ROWS FROM [cube]
    With above query, the output returns the value '0' as a separate column.
    I would like to get it in form of first row for [Measures].[Amount]. Like,
    Amount
    0
    500
    200
    100
    What needs to be changed to achieve the above result? I'm planning to use the above value in line chart to start the line from 0th value as described in following URL. (Note: The below URL is using SQL query and not MDX expressions.)
    http://spinerain.blogspot.in/2013/09/ssrs-line-chart-create-stacked-line-and.html
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    The round brackets in your expression are forcing an implicit crossjoin between the 3 lines. I would do the following which creates a set of the DummyYear plus the real year members and then crossjoin that with the customer set.
    WITH MEMBER [Fiscal].[Year].DummyYear AS   '0'
    SELECT NON EMPTY {[Measures].[Amount]} ON COLUMNS,
     NON EMPTY  {[Fiscal].[Year].DummyYear,
         [Fiscal].[Year].[Year].MEMBERS} *
                [Customer].[Customer Nbr].[Customer Nbr].MEMBERS
     having  [Measures].[Amount] > 5000
    ON ROWS FROM [cube]
    http://darren.gosbell.com - please mark correct answers

  • BEx variables ignored in MDX query

    I am having some issues with Crystal Reports running off a Bex query. In the Bex query I have a variable defined on characteristic posting date. However, even though I select a specific posting date when prompted, records from all posting dates are returned. So I copied the MDX statement and ran it in MDXTEST only to get the same result.
    MDX:
    SELECT NON EMPTY EXCEPT([OPSTNG_DATE].MEMBERS, {[OPSTNG_DATE].[All]}) ON ROWS FROM [EFIGL_M01/QEFIGL_M01_4250] SAP VARIABLES [!V000001] INCLUDING "08/01/2010" : "08/01/2010"
    Anyone ran into a similar problem before? The MDX statement does indicate that I only picked one posting date for SAP VARIABLE

    Hi Ingo,
    Yes this variable is built in the underlying Bex query, and running the query in web analyzer or RSRT shows the correct filtered reesult.
    The variable is created under the Posting Date Characteristic under "Default Values" in the "Filter" tab. Now that you mentioned this, I tried moving the variable to "Characteristic Restrictions" from "Default Values" and I am able to get the correct result! What I don't get now is why the original configuration worked for Bex but not for MDX, but worked for both once moved to "Characteristic Restrictions"?
    Thanks!

  • Date format with BW MDX Query driver

    Hi,
    I have a question regarding the BW MDX Query driver.
    I have updated the driver from BW Query to BW MDX Query on my crystal reports and all the Date fields have been converted to Strings. Has anyone experienced the same issue?
    Thanks,

    Hi Abhilash
    Thanks for the reply. We have two different environments and are using Crystal XI R2 and Crystal 11. We have installed SAP Integration toolkit XI R2 and SAP GUI 7.1 Patch 14. The date issue is appening in both environments.
    Does MDX supports Date fields/formats?
    Thanks,

  • SAP BW Query Vs SAP BW MDX Query

    Dear Gurus,
    Can someone please tell me the difference and advantages of connecting Crystal Reports2008 to  "SAP BW Query" & "SAP BW MDX Query"while .
    My main concern being SAP BI resource is , we don't create SAP MDX queries in BW.
    Regards,
    -Neha

    Hi Ingo ,
    So the Crystal report  datasource will be SAP BEx queries when we select the connection SAP BW MDX Queries .
    My question is do we have to write MDX statements somewhere in SAP BW  or the system will automatically generate when we select the SAP BW MDX Queries ?
    Regards,
    -Neha

  • MDX query with a DMX query

    Hi All,
    Do I have a way to run a MDX query with a DMX query? (Avoiding the “link server” options… )
    I need to get the cube last update date like this DMX query:
    SELECT 1
    as CubeStatus
    FROM $System.MDSCHEMA_CUBES
    where 
    format(LAST_DATA_UPDATE,
    'dd/MM/yyyy') = format(now(),
    'dd/MM/yyyy')  --"1" means that the cube was processed, NULL cube did not process today
    and cube_source = 1
    and cross reference it to a result I get from this MDX query:
    with
    member measures.LastDateCube
    as [Comm Date UTC].[Date].currentmember.PROPERTIES("KEY")
    select measures.LastDateCube
    on 0 from comms
    the purpose of this is to know for sure that my current member (date integer) is equal to the cube last update date. thus, making sure the cube was processed and I get the correct member I expect.
    What do you think?
    Thank you
    Yoni.

    Hi yonibiel,
    According to your description, you want to combine a DMX query with a MDX query. Right?
    In SQL Server, it is not supported to parse the MDX query without connecting the SSAS database server. So if you want to combine the DMX and MDX query into one dataset, the only way is using linked server to SSAS in openquery() function.
    In this scenario, if you render these data from two result sets for reporting purpose, I assume you using SSRS, you can create two datasets and use lookup() to combine data fields from two datasets into one data region.
    Reference:
    Joining the results of two MDX queries together
    Best Regards,
    Simon Hou
    TechNet Community Support

  • SAP BW BEx query - WEBi MDX query

    Hi Experts, have we had some discussion on this?
    Does MDX query send by WEBi report to BW use the same program to extract data from BW database?
    One of the option for WEBi report source of data is to build Universe on top of BEx query. Could you share how this process actually happen.
    I think
    - WEBi query will pass parameters that is relevant for BEx query filter of the universe
    - the BEx query will then extract the data (following normal process if we run BEx query independently)
    - if WEBi has further filtering, it will then get the BEx result above and filter it further ..??
    So, how is MDX query come into the picture?
    Or is it:
    - WEBi query and the BEx query will determine what MDX query will be generated, and this MDX query will then fetch the data.
    But why BEx query extract data faster then MDX query?
    Sorry, i am new to this. hope someone could share some light here. In the meantime i continue to real those documentation and try to get some more ideas of what is actually happening.
    Thanks.

    Hi Thanks a lot for pointing this out.
    Did i understand it correctly that BEx query is using a different set of program (platform) to retrieve data compare to MDX query, and not MDX uses those program that is used by BEx to retrieve data from BW database and have extra steps on top of that?
    Can anyone share what is actually happen WEBi MDX query is executed (how the database is hit with SQL, and what are the tools to evaluate the efficiency of the WEBi (or the used BEx). As for BEx we have RSRT to analyze it right.
    And even to test the MDX query using MDXTEST and try to get the data from WEBi report, i found WEBi report still take considerably a lot longer. Why is this so? just because BO is a different system then BW?
    And as it's shared the BO 4.0 is using the same platform as BEx to retrieve data from BW database, does this mean we don't need to care about MDX usage in BW anymore as far as BO data extraction concern?
    Thank you very much.

Maybe you are looking for

  • Flash 10.3 not working with Firefox 6

    Up until today, I've never had any problems with Firefox and Flash Player. However, all of a sudden, Flash won't work for me, today. I've already uninstalled Firefox, uninstalled Flash Player, re-installed Firefox (Windows 7) and re-installed Flash P

  • Implementing heirarichal structure in data warehouse

    I want to create a data warehouse for credit card application. Each user can have a credit card and multiple supplementary credit cards. Each credit card has a main limit, which can be sub-divided into sub-limits to supplementary credit cards as requ

  • Can I stream what is on my computer to my TV using ATV?

    I am new to ATV, can I stream what I am doing on my computer it my TV using ATV. Thus almost using it like a monitor? Thanks

  • Need BAPI/RFC for Updating Category field of CRM_DNO_MONITOR  from SAP R/3.

    Hi SAP GURUS!! I need to have a new field category in "Create support message"  of the HELP menu in SAP server. This field values needs tobe updated with that of Category in Solution Manager ( CRM_DNO_MONITOR) .We have found a BADI (SBCOS001 ) where

  • 720c printer, wireless networking laptop/pc, win7

    I have searched your support without success. PC running Win 7 32bit with 720c colour printer - works no problem. Laptop Win 7 64 bit has wireless link to PC for data & print. Brother laser on PC work fine from Laptop, Deskjet says "no driver". Suppo