Using BW Query in designing Universe

Hello Experts,
I want to create Universe from BW Query. Can anyone tell me what are the steps of using BW query in Universe designing?
I successfully connected my BW Dev. server with BO Universe and able to select Cubes in designing universes but I was not able to select any queries.
Regards,
Nirav Shah

Hi Nirav,
in order to be able to select BW queries when building a universe you have to first allow external access on them. You can do this by opening the desired query with the SAP query designer (Business Explorer Tools) and navigate to the properties of your query. In the "advanced" tab just check the "Allow external access to this query" option.
Regards,
Stratos

Similar Messages

  • Using hierarchies from SAP BW BEx Query in BO Universe

    Hello,
    I'm trying to use a hierarchy (e.g. a simple customer class hierarchy) which is a part of a BEx Query in a BO Universe. But until now I have not found a way to get a hierarchy from a BEx Query working in a BO Unvierse.
    1. Is it generally possible to use hierarchies in BEx Queries with a BO universe? (at the moment I can see all characteristics and keyfigures from the query... but I can't see the hierarchy levels for the characteristic)
    2. If 1) is possible: I want to use a hierachy variable to select a hierarchy depnding on the user who is using a report... that's not a problem in BEx. But: Is it possible to use this query/scenario with a BO universe? Does the BO universe update itself automatically if the hierarchy has changed in a BEx query?
    I've tried it with SAP BW 3.5 and SAP BI 7.0. BO Release is XI 3.0. Unfortunatelly without result.
    Regards,
    Thorsten

    Hi Thorsten,
    1) Hierarchies are mapped in the same way as custom-made universe hierarchies. When a hierarchy is defined on a characteristic in the BW Query, Designer creates one hierarchical structure in the universe, with a subclass for each level in the hierarchy. The structure depends on the current BW Query definition.
    2) If the number of levels in a hierarchy changes in the BW query, you must update the universe. In the universe connection select *Use Single Sign On when refreshing
    reports at view time* to allow the user to benefit from SAP SSO.
    Hope this helps
    Jacques

  • WebI Report using BW Query

    Hi,
    I am using WebI Report using BW Query. I don't see some Formulas in Universe which is there in BEx Query.
    Did anybody face the same problem before?

    Hi,
    I meant that you should post in the forum the calculation contained in the formula that you cannot see in your universe.
    But let's start from the begining since you are new to SAP: Did you generated the universe yourself? If the formula was added in the query after the universe was created then you must refresh your universe (In the Universe designer  please select the option "Refresh structure" under the "view" menu) in order to get the newly created formula (I assume we are takling about a calculate figure here) in your universe also.
    Regards,
    Stratos

  • How to use a query in Web template

    Hello i have really a very silly question.
    How can i use a Query that is already defined by BEX into a Web template so that i can set up simple properties like changing colours of Row as well as avoid Tab pages.
    I logged into a Web template.
    Can any provide step by steps.
    Please help

    No questions is silly, doubt is always a doubt and clarifying the same is the best way to deal with that.
    Anyway philosophy apart and coming to business.
    1) created the query in Query designer, say Zquery1
    2) logon to WAD.
    3) for assigning Zquery1 to WAD template, you haev to decide how you are going to use Zquery1 in WAD.
    4) for ex: you want to display the query result and also a graph based on that result.
    5) So we have to drag drop Chart and table in WAD.
    6) create dataprovider and assign zquery1 to this dataprovider.
    7) save and execute.
    For chanding the colors, under properties, we will have many stylesheets delivered by SAP. Yiou can choose anyone on this which suits to your requirement. If not, then edit the stylesheet and code it as per your need.
    Hope this helps. If yes, please assgin points.
    Regards
    Pankaj

  • How to use three part name with using dynamic query.

    Dear all, (sqlserver 2008 express r2)
    q1)following is showing error, is it possible to accomplish the task with out using dynamic query.
    DECLARE @A VARCHAR(100)
    DECLARE @A1 VARCHAR(100)
    SET @A='DB1'
    SET @A1='DBO'
    SELECT * FROM @[email protected]
    q2) table value function is not accepting dynamic query , is there any way to do this task.
    yours sincerley

    Certain parts in an SQL query like FROM tablename cannot be local variables. In such a case, dynamic SQL can be applied:
    http://www.sqlusa.com/bestpractices/dynamicsql/
    As noted above, more information needed to decide if dynamic SQL the correct solution in this instance.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to tack print out use with Query ?

    Hi
    I have to tack purchase order print out (print details- PO date, BP code, name, item name, Quantity and Amount . System Print Layout means from Purchase Order layout designer) use with Query
    How to tack print out use with Query (system print layout means from  Purchase Order layout designer) ?
    Regards
    Aravind M

    Hi
    I have to take purchase order print out and I created 3 templates for that purchase order in layout designer (Because as per the MIS requirement I created 3 templates, its cover more information). I have to take print out 3 templates at a time. So i try to take print use with Query.
    Regards
    Aravind M

  • Using Bex Query with cell definition with WEBI

    Hi,
    Currently I am using a Bex query as a datasource for a webi, normally this works ok but I am having trouble with one particular query.
    This query has cell definitions defined in the query. When i import the query into WEBI I get an MDX error.
    Any suggestions?
    Thanks
    Flash

    Hi,
    We do not see all elements of the BW query in the universe, just those not using cell definitions.
    We are currently on Business objects XI 3.1
    Using BW 3.5
    And the query runs fine using RSRT, it does show some asterix for some of the values but this can be removed by filtering on currency type in BW report
    Thank You,

  • How to use recursive in Information Design Tools?

    Hi all,
    I want to use recursive for count number of employee in each organization. I write code something like this.
    with EmpCTE as
          select RootID = D.ORG_CD , D. ORG_CD, D .ParentOID
          from  (SELECT     CURRENT_LEAF as ORG_CD ,
                   D .DATE_KEY AS DateKey,
                        CASE WHEN LEAF_LEVEL = 1 THEN LEVEL0
                                   WHEN LEAF_LEVEL = 2 THEN LEVEL1
                                   WHEN LEAF_LEVEL = 3 THEN LEVEL2
                                   WHEN LEAF_LEVEL = 4 THEN LEVEL3
                                   WHEN LEAF_LEVEL = 5 THEN LEVEL4
                                   WHEN LEAF_LEVEL = 6 THEN LEVEL5
                        END AS ParentOID
           FROM [BISIPH_HR]. [dbo].[ORG_HIER_STD] H , MST_DATE_DIM D
           where 1= 1
           and D. DATE_KEY between BEGDA and ENDDA
           and D. DATE_KEY between C_L1_BEGDA_KEY and C_L1_ENDDA_KEY
           and D. DATE_KEY between C_L2_BEGDA_KEY and C_L2_ENDDA_KEY
           and D. DATE_KEY between C_L3_BEGDA_KEY and C_L3_ENDDA_KEY
           and D. DATE_KEY between C_L4_BEGDA_KEY and C_L4_ENDDA_KEY
           and D. DATE_KEY between C_L5_BEGDA_KEY and C_L5_ENDDA_KEY
           and D. DATE_KEY between C_L6_BEGDA_KEY and C_L6_ENDDA_KEY
           and D. DATE_KEY between C_L7_BEGDA_KEY and C_L7_ENDDA_KEY
           )   D
          where 1= 1
          AND DateKey = 20140101
          union all
          select EmpCTE. RootID, D .ORG_CD, D.ParentOID
          from (
            SELECT   CURRENT_LEAF as ORG_CD,
                   D .DATE_KEY AS DateKey,
                        CASE WHEN LEAF_LEVEL = 1 THEN LEVEL0
                                   WHEN LEAF_LEVEL = 2 THEN LEVEL1
                                   WHEN LEAF_LEVEL = 3 THEN LEVEL2
                                   WHEN LEAF_LEVEL = 4 THEN LEVEL3
                                   WHEN LEAF_LEVEL = 5 THEN LEVEL4
                                   WHEN LEAF_LEVEL = 6 THEN LEVEL5
                        END AS ParentOID
           FROM [BISIPH_HR]. [dbo].[ORG_HIER_STD] H , MST_DATE_DIM D
           where 1= 1
           and D. DATE_KEY between BEGDA and ENDDA
           and D. DATE_KEY between C_L1_BEGDA_KEY and C_L1_ENDDA_KEY
           and D. DATE_KEY between C_L2_BEGDA_KEY and C_L2_ENDDA_KEY
           and D. DATE_KEY between C_L3_BEGDA_KEY and C_L3_ENDDA_KEY
           and D. DATE_KEY between C_L4_BEGDA_KEY and C_L4_ENDDA_KEY
           and D. DATE_KEY between C_L5_BEGDA_KEY and C_L5_ENDDA_KEY
           and D. DATE_KEY between C_L6_BEGDA_KEY and C_L6_ENDDA_KEY
           and D. DATE_KEY between C_L7_BEGDA_KEY and C_L7_ENDDA_KEY
           ) D
          inner join EmpCTE on D .ParentOID = EmpCTE.ORG_CD
          AND D. DateKey = 20140101
    select distinct
    ORG_DIM.ORG_CD
    , ORG_DIM. ORG_DESC_T
    , EmpCTE. ParentOID
    --, EMP_DIM.EMP_CODE
    , cnt. Child
    , cntemp. ChildEmp
    from MST_EMP_DIM EMP_DIM
    INNER JOIN TXT_EMP_ORG_FACT EMP_ORG_FACT ON EMP_ORG_FACT .EMP_KEY = EMP_DIM.EMP_KEY
    INNER JOIN MST_ORG_DIM ORG_DIM ON ORG_DIM .ORG_CD = EMP_ORG_FACT.ORG_CD
    INNER JOIN EmpCTE ON EmpCTE .ORG_CD = ORG_DIM.ORG_CD
    INNER JOIN TXT_EMPLOYMENT_FACT EMPLOYMENT_FACT ON EMPLOYMENT_FACT.EMP_CODE_KEY = EMP_ORG_FACT.EMP_CODE_KEY
    INNER JOIN (
           SELECT ORG_CD = RootID, Child = COUNT (*)
           FROM EmpCTE
           GROUP BY RootID
    ) cnt ON cnt.ORG_CD = EMP_ORG_FACT. ORG_CD ------------------ ¹Ñº¨Ó¹Ç¹ ORG ·ÕèÍÂÙèãµé ORG »Ñ¨¨ØºÑ¹
    INNER JOIN (
           SELECT ORG_CD = RootID, ChildEmp = Count (*)
           FROM EmpCTE
           INNER JOIN TXT_EMP_ORG_FACT EMP_ORG_FACT ON EmpCTE .ORG_CD = EMP_ORG_FACT.ORG_CD
           INNER JOIN MST_EMP_DIM EMP_DIM ON EMP_ORG_FACT .EMP_KEY = EMP_DIM.EMP_KEY
           INNER JOIN TXT_EMPLOYMENT_FACT EMPLOYMENT_FACT ON EMPLOYMENT_FACT.EMP_CODE_KEY = EMP_ORG_FACT.EMP_CODE_KEY
           WHERE 1= 1
           AND 20140228 BETWEEN EMP_ORG_FACT.ORG_ASSIGN_START_DT_KEY AND ORG_ASSIGN_END_DT_KEY
           AND 20140228 BETWEEN EMP_DIM.EMP_START_DATE_KEY AND EMP_DIM.EMP_END_DATE_KEY
           AND 20140228 BETWEEN EMPLOYMENT_FACT.START_DATE_KEY AND EMPLOYMENT_FACT.END_DATE_KEY
           AND EMP_ORG_FACT. EMP_ASSIGN_PAYROLL_AREA_CD IN ('Z1', 'Z2')
           AND EMPLOYMENT_FACT. EMPLOYMENT_STATUS_KEY = 3
           GROUP BY RootID
    ) cntemp ON cntemp.ORG_CD = EMP_ORG_FACT. ORG_CD
    WHERE 1= 1
    AND 20140228 BETWEEN EMP_ORG_FACT.ORG_ASSIGN_START_DT_KEY AND ORG_ASSIGN_END_DT_KEY
    AND 20140228 BETWEEN EMP_DIM.EMP_START_DATE_KEY AND EMP_DIM.EMP_END_DATE_KEY
    AND 20140228 BETWEEN EMPLOYMENT_FACT.START_DATE_KEY AND EMPLOYMENT_FACT.END_DATE_KEY
    AND EMP_ORG_FACT. EMP_ASSIGN_PAYROLL_AREA_CD IN ('Z1', 'Z2')
    AND EMPLOYMENT_FACT. EMPLOYMENT_STATUS_KEY = 3
    ORDER BY EmpCTE.ParentOID
    and result
    I want to create ChildEmp object for display in web-i report. How can i use recursive in Information Design Tools? or Do you have other solution for this?
    Thank you for your advise.
    Notto Zung

    Hi,
    NoDim is a function of the Bex query formula ,  so you can't delegate that to the cube.
    What object is, and what are you trying to do.   For example,  Sales, and trying to leave out Currency attribute.
    You can do an awdful of customizing  in a Business Layer or Data Foundation,  that is where your solution where probably come from.
    Regards,
    H

  • Using SQL query directly in DI

    Hi,
    I have a five long SQL query that extracts columns from 2 tables based on conditions and creates 5 new tables with new columns. The query looks some thing like this:
    select a.num_1, b.unid, c.tycod, min(b.csec) - min(a.csec) turnout into
    #tab1
    from un_hi a
    left join un_hi b on a.num_1 = b.num_1
    and ((a.unid = b.unid and left(b.unid,1) not in ('E','Q') and
    left(a.unid,1) not in ('E','Q'))
    or (right(a.unid,len(a.unid)-1) = right(b.unid,len(b.unid)-1)
    and left(b.unid,1) in ('E','Q') and left(a.unid,1) in ('E','Q')))
    and b.unit_status = 'ER'
    left join aeven c on a.num_1 = c.num_1 and c.rev_num = 1
    where a.num_1 like 'F011%' and a.unit_status in ('DP','XE')
    group by a.num_1, b.unid, c.tycod;
    Is there any way i can directly incorporate the above query in DI and run? The source file is excel sheet and output is SQL server.
    Should i use the script in the work flow to execute the query?
    Appreciate your inputs.
    Thanks,
    Arun

    I am not sure if BODI can execute SQL directly from Excel sheet as source...
    Though, you may try to create a File Format for your excel sheet (& multiple tabs), set it as source then use the Query Transform to apply your SQL?
    As stated in the Designer Guide:
    The Query transform can perform the following operations:
    u2022 Choose (filter) the data to extract from sources
    u2022 Join data from multiple sources
    u2022 Map columns from input to output schemas
    u2022 Perform transformations and functions on the data
    u2022 Perform data nesting and unnesting
    u2022 Add new columns, nested schemas, and function results to the output
    schema
    u2022 Assign primary keys to output columns
    Hope this helps!

  • How to add the fields to the transaction 'Z10SD25' using ABAP Query

    Hello,
    I want to add the new fields like 'From' and 'To' depending on some conditiions. But i have to do this using ABAP Query.
    Can any one help me with this as I am not much aware of ABAP Query .
    Regards,
    Darshana

    Hi,
    ABAP/4 query can be designed in four steps
    1.     Creation of a user group
    2.     Creation of Infoset
    3.     Assignment of user group to Infoset
    4.     Creation of the query based on Infoset
    By executing the transaction codes mentioned below
    u2022     SQ01   ABAP/4 Query
    u2022     SQ02   Infosets
    u2022     SQ03   User group
    Step 1: To create an Infoset without a logical database
    One of the following can be selected
    u2022     Based on a single table
    u2022     Using an ABAP/4 program
    u2022     Using Table Joins
    u2022     Using Sequential Dataset
    NOTE: The tables to be used in the join should have at least one field in common i.e. it should have the same name, domain or data element.
    Step 2: Here you specify the users who should be authorized to run the query. A user group is always associated with a Infoset.
    Step 3: In Query Definition you can define the Selections Screen. Here you can check against the fields(fields from the tables specified in the infoset above) that you require to be shown on the selection screen.
    Now we Finally need to specify the output type for the query as Basic List, Statistics or Ranked List. Choose the option Basic List and also select the fields to be displayed in the output list(in your case from and to fields...)
    After providing all the above options you can save the query and execute it by clicking the Execute button twice.
    Hope this helps
    Regards
    Shiva
    Edited by: Shiva Kumar Tirumalasetty on Sep 15, 2009 12:44 PM

  • Checking correct data format using sql query

    1) I got column date of joining which accepts date in below format
    DD-MON-YYYY
    DD-MON-YY
    MON-DD-YYYY
    MON-DD-YY
    Month DD,YYYY
    Question:- how do i check whether all dates in Date of joining column are in above format or not using sql query?
    2) I got one more date column which accepts date in below format
    MMDDYYYY
    YYYYMMDD
    MM/DD/YYYY
    MM/DD/YY
    YYYY/DD/MM
    Question:- how do i check whether all dates in date column are in above format or not using sql query?
    sorry if it is a very simple question since I am new to sql and trying to learn ......Thanks for the answers from the group............

    In short, NO, it's not possible.  If you store dates correctly in the database as DATE datatype then you don't have this problem.  If you store them as VARCHAR2 you have a problem.
    So, you get a date of 20092012
    Is that 20th September 2012?  or is it 20th December 2009?
    What about...
    11-Jan-12
    Is that 11th January 2012 or 12th January 2011?
    Dates should never be stored on the database as strings.  That is why Oracle gives you a DATE datatype so you can store them properly.
    Also, when dates are passed from an application to the database, the application should be passing them as DATE datatype, and the application interface should be designed to accept dates from the user in a format specific to their country/locality and it would then know what that format is and automatically convert it to a DATE datatype before it gets anywhere near the database or any SQL.

  • Query layout designer

    i have generated a report in sap buisness one using query layout designer.now i want to deploy that report in another machine.
    how to deploy query layout designer?

    Hi Atasi,
    You can use Copy express add-on to copy the Query and the Query Print layout from one database to another.
    1. Install copy express on customer server
    2. Restore a copy of your database in the Customer Server as well.
    3. Copy from the restored database to the Live database of Customer using Copy Express.
    Copy Express is a very simple add-on and easy to use.
    Hope this helps.
    Regards,
    Hamsa

  • Is it ok to buy student version of CC and i use it mainly for the University but ...

    Is it ok to buy student version of CC and i use it mainly for the University ... But i sometimes design (Logos, Posters .. etc..) for my friends and other peoples and i charge them for it  ? ... is legal ? because i really care about this small details.

    You are allowed to use student/teacher version for commercial purposes.
    Education FAQ

  • Create ShortCut  For Query Layout Design

    Hi All !!!
    I Designed a Report By Query Layout Design , so I want to Create ShortCut for it  , Because . If  I want to use This Report , I will do a lot Step .
    Please Help me.
    Thank alot .

    There is no specific SDK function for this, you could however write code to automate the manual steps:-
    - Launch Query Manager (ActivateMenuItem 4865)
    - Iterate through query groups in Item "6", and expand the group containing your query
    - Iterate through queries within the group, and use click method to highlight the required query
    - Call Print or Print Preview (ActivateMenuItem 520 / 519)
    John.

  • Audit mviews which are used by query rewrite

    Hi all,
    on of our main customers want to find out which MVIEWS are used after an automated query rewrite.
    Example:
    select * from OP_SUM_BACKLOG_DAY_SAP_001;
    select * from dba_audit_trail
    where timestamp > trunc(sysdate)
    and username = 'SMITH'
    and obj_name = 'OP_SUM_BACKLOG_DAY_SAP_001'
    This following statement is using the same MVIEW because of aggregations and the use of query rewrite:
      SELECT fbld_ddat_sales_month,
             SUM (fbld_dummy_zero) fbld_dummy_zero,
             SUM (fbld_dummy_null_number) fbld_dummy_null_number,
             SUM (fbld_oab_quantity) fbld_oab_quantity
        FROM op_fct_backlog_day_sap
    GROUP BY fbld_ddat_sales_month;
    This query is never listed in dba_audit_trail!!!
    Plan
    3 SELECT STATEMENT ALL_ROWS Cost: 291 Bytes: 52 Cardinality: 2 CPU Cost: 0 IO Cost: 0 Time: 00:00:00 Partition #: 0
    2 HASH GROUP BY Projection: (#keys=1) "OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_DDAT_SALES_MONTH"[VARCHAR2,6], SUM("OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_OAB_QUANTITY")[22], SUM("OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_DUMMY_NULL_NUMBER")[22], SUM("OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_DUMMY_ZERO")[22] Cost: 291 Bytes: 52 Cardinality: 2 CPU Cost: 0 IO Cost: 0 Time: 00:00:00 Partition #: 0
    1 MAT_VIEW REWRITE ACCESS FULL DWHOP.OP_SUM_BACKLOG_DAY_SAP_001 [Analyzed] Projection: "OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_DDAT_SALES_MONTH"[VARCHAR2,6], "OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_DUMMY_ZERO"[NUMBER,22], "OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_DUMMY_NULL_NUMBER"[NUMBER,22], "OP_SUM_BACKLOG_DAY_SAP_001"."FBLD_OAB_QUANTITY"[NUMBER,22] Cost: 290 Bytes: 1.016.600 Cardinality: 39.100 CPU Cost: 0 IO Cost: 0 Time: 00:00:00 Partition #: 0
    Any ideas how to audit this access???
    Regards
    Stephan

    Hi,
    Get the UID of your query from the query designer (select query in the properties window, goto Advanced tab).
    Pass it to table RSZELTXREF (pass query UID to field SELTUID and 'VAR' to field LAYTP). This gives the list of variables used in the query. Now got to table RSZGLOBV, pass all the variable IDs (field values for TELTUID from table RSZELTXREF) to the field VARUNIID and restrict VPROCTP to '6'. This gives a list of all the auth variables used in a query.
    Regards,
    Murali.

Maybe you are looking for

  • The geo-fence in Reminders doesn't work on my 4S since ios7.

    The geo-fence in Reminders doesn't work on my 4S since ios7.  Any reminders I put in as remind me at a location do not work.  Location services are turned on.  Maps work fine & show my location.  Reminders are turned on in location services & I see t

  • Payment Proposals (F110) did not created in Batch job

    Hello, We had 1 time issue today. I am just trying to find out if anyone come across this issue. We have the daily  automated batch jobs which kickks of Payment proposals. Somehow system did not create any proposals and showd as  Zero incoming Paymen

  • XOR (Exclusive OR logical operator)

    Does such a thing exist in SAP ? Do I have something else other than AND and OR as logical operators (like XOR in other languages ? bitwise operators won't help, since I need them in queries). Thanks Avraham

  • Anyone try a Solid-State Disk as PS Scratch Disk?

    Has anyone tried using one of the new solid state drives such as the Intel X-18M as a Photoshop scratch disk? These have very low latency and ought to boost performance quite a lot. But I'd rather not spend the money without hearing if anyone's made

  • Apple khao beshi beshi

    [url= s://drive.google.com/file/d/0B3yZt7dGm7Yfa2RKZGh4ZnF3Wjg/ preview?pli=1] W.atch Atletico Madrid vs AC Milan liv.e strea.m fre.e [/url] [url= s://drive.google.com/file/d/0B3yZt7dGm7Yfa2RKZGh4ZnF3Wjg/edit?usp=sharing] W.atch Atletico Madrid vs AC