Universes to query from multiprovider

Hi,
I am trying to create an universe from a query that was created from a multiprovider. But I can't see the query under the folder of the multiprovider.
The query is marked with "allow external access to this query".
I can see the queries from infocubes.
what may be happening
thanks

Hi,
You might check the query properties in the query monitor in SAP BW (transaction: rstt).
Select you query and click on the properties tab.
Check if the 'Req. Status' is equal to '7'. If so then the query won't show in the list for the universe connection.
I had the same problem and changed the 'Req. Status' to 0. The query then showed up to be used as a universe connection.
See also SAP Note: 1408037
Cheers,
Harry

Similar Messages

  • Error Query from Multiprovider

    Hi,
    We are creating a Query from a Multiprovider. This Multiprovider was made using one infocube and one ODS. When we run the Query the data from ODS are not being displayed. If  the Query contains only characteristics from ODS, the Query display data.
    If  the Query contains only characteristics from Infocube, the Query display data. But when the Query contains characteristics from both InfoProviders the data  are not being displayed.
    The following example tries explain better the issue.
    There're 2 infoproviders infocube X and ODS Y we want to report as combined.
    Both of them have order number 0DOC_NUM and order item 00RD_ITEM in common.
    Cube A keeps order item based key figures: S Keyfigure &
    D Keyfigure.
    ODS B has detail order item based characteristics Char1 & Char2, which don't exist in cube A.
    Cube A
    Order Number___Order Item____S Keyfigure___D Keyfigure
    100_______________10____________25___________23______
    100_______________20____________45___________40______
    100_______________30____________30___________30______
    ODS B
    Order Number____Order Item_____Char1________Char2
    100_______________10____________SSS_________Blue______
    100_______________20____________TTT_________Blue______
    100_______________30____________SSS_________Black____
    We want the query to display the way below:
    Order Number_Order Item__Char1___Char2____S KF___D KF
    100____________10________SSS____Blue_____25______23
    100____________20________TTT____Blue_____45______40
    100____________30________SSS____Black____30______30
    But when we combine these two in a multiprovider, query result doesn't list the data from ODS.
    Can you help us with this?
    Thanks..

    That means the multi provider is not making any union, because the chars in the cube and that in the ODS are disjoint. Try if you can acheive this with an infoset and I doubt you cant.
    Altervatively, you can make the report via the same cube if you have a logic for combining the chars in the cube with that in the ODS and update the cube with that char in the ODS. You need to revisit the data model and design.
    Ravi Thothadri

  • How I create query from infoset ???

    Case 1 : I cannot create query from infoset
    Case 2 : I cannot create query from multiprovider that is created from infoset
    When I create multiprovider from infoset , I open query designer from this multiprovider... I received error message from query designer as below...
    File name : bextrace_qd_25510925_0556.txt
    Application error:
    17:56:02.171: Info: Query Designer Start. Revision: 601
    QueryDesigner.UserSettings.LoadSettings: Could not find file 'BExQueryDesigner.xml'.
    17:56:11.15: DEBUG ASSERT ### False - QDbCommandManager::.ctor - Method not called from CommandManager
    -CALLING-FROM- 17:56:11.15: DEBUG ASSERT ### False - QDbCommandManager::.ctor - Method not called from CommandManager ---
       at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Debug.Assert(Boolean iExpectedCondition, String iAdditionalInformation, String iDetailedMessage)
       at com.sap.bi.et.QueryDesigner.QDfForm.InitFromCommandManager(QDbCommandManager iCommandManager)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager..ctor(QDbApplicationData iApplicationData, QDfForm iWindow)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Init()
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    QDbApplicationData::ApplyUserSettings  - Standard View
    QDbCommandManager::DoViewCommand  - Table View
    QDbCommandManager::DoViewCommand  - Rows/Columns
    QDbCommandManager::DoViewCommand  - Cells
    QDbCommandManager::DoViewCommand  - Conditions
    QDbCommandManager::DoViewCommand  - Exceptions
    QDbCommandManager::DoViewCommand  - InfoProvider
    QDbCommandManager::DoViewCommand  - Filter
    QDbCommandManager::DoViewCommand  - Documents
    QDbCommandManager::DoViewCommand  - Where-Used List
    QDbCommandManager::CommandExecute  - Properties
    QDbCommandManager::DoViewCommand  - Properties
    QDbCommandManager::DoViewCommand  - Messages
    QDdEventDispatcher::MenuItemClickedHandler - Bar clicked: NewQuery
    QDbCommandManager::CommandExecute  - New...
    QDdEventDispatcher::MenuItemClickedHandler - Bar clicked: OpenQuery
    QDbCommandManager::CommandExecute  - Open...
    -EXCEPTION-START- 18:03:12.671: TRACE EXCEPTION  ---
    Exception Name: NullReferenceException
    Exception Message: Object reference not set to an instance of an object.
    Exception    at com.sap.bi.et.QueryDesigner.QDmCharacteristic.LoadValues()
       at com.sap.bi.et.QueryDesigner.QDbCharacteristic.GetValues(Boolean iReload)
       at com.sap.bi.et.QueryDesigner.QDmMetaBase.GetValues(Boolean iReload)
       at com.sap.bi.et.QueryDesigner.QDmCharacteristic.get_ValuesNonTechnical(QDeInfoObjectFilter iFilter)
       at com.sap.bi.et.QueryDesigner.QDpCharacteristicReference.ValueInitial()
       at com.sap.bi.et.QueryDesigner.QDpCharacteristicReference.set_pValue(Object value)
       at com.sap.bi.et.QueryDesigner.QDpString.set_Value(String Value)
       at com.sap.bi.et.QueryDesigner.QDbVariable.FromTable(RSZ_X_VAR isVar, QDcElement iElements)
       at com.sap.bi.et.QueryDesigner.QDbElement.FromTables(Hashtable iTables, QDcElement iElements)
       at com.sap.bi.et.QueryDesigner.QDbElement.CreateElements(Hashtable iTables, QDcElement iElements)
       at com.sap.bi.et.QueryDesigner.QDbElement.Load(QDeElementType iElementType, String iName, String iCompUid, String iGenUniId)
       at com.sap.bi.et.QueryDesigner.QDbQuery.Load(String iName, String iCompUid, String iGenUniId)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.LoadQuery()
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.LoadFromServer()
       at com.sap.bi.et.QueryDesigner.QDbCommandOpenQuery.ExecuteCommand()
       at com.sap.bi.et.QueryDesigner.QDbCommandBase.Execute()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.CommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.InitialCommandExecute(QDbCommandBase iCommand)
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.DoExecuteCommandInternal()
       at com.sap.bi.et.QueryDesigner.QDbCommandManager.ItemClickedHandler(Object sender, BarItemClickedEventArgs args)
       at com.sap.bi.et.QueryDesigner.QDdEventDispatcher.MenuItemClickedHandler(Object iSender, BarItemClickedEventArgs iE)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarManager.OnItemClicked(BarItemClickedEventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.OnItemClicked(EventArgs args)
       at com.sap.bi.et.QueryDesigner.QDiBarItem.OnItemClicked(EventArgs args)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarItem.PerformClick()
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarRenderer.OnMouseUp(MouseEventArgs e)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at Syncfusion.Windows.Forms.Tools.XPMenus.BarControlInternal.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Full Stack:   at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    -EXCEPTION-END----
    -CALLING-FROM- 18:03:12.671: TRACE EXCEPTION  ---
       at com.sap.bi.et.common.appl.Log.Debug.WriteTraceToFile(Level lLevel, String lString, Exception ex)
       at com.sap.bi.et.common.appl.Log.Trace.Exception(Exception ex, String iAdditionalInformation)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at com.sap.bi.et.QueryDesigner.QDbApplicationData.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDbQueryDesigner.Run(Boolean iAsApplication)
       at com.sap.bi.et.QueryDesigner.QDStarter.QDStartup.Main()
    Please kindly help me !!

    Hi,
    check the links to create  Infosets
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d6419190-0201-0010-0cb0-d7e4503c1231
    http://help.sap.com/saphelp_nw04s/helpdata/EN/ab/7a877cba29144b85d07f26f1f50cd8/content.htm
    Thanks.

  • Copy Query from One MultiProvider to Another

    How easy is it to copy a Query from one MultiProvider to another?
    thanks

    If the elements of the query is not same try using following function module RSZ_I_COPY_QRY_TO_CUBE to copy queries
    Re: Copying query structure to new infoprovider
    Ravi

  • WebI:Creating a minus query from data providers not using the same universe

    Hi there. A client of ours wishes to use Combined Query on multiple universes in the same WebI report. So far, I have heard it is not feasible in WebI. I know it is possible in DeskI. Even the sub-query option is limited to just one universe in WebI. So, I am stuck.
    Is there a workaround to creating a minus query from data providers not using the same universe in WebI?

    Hello Amit,
    what are the Datasources ? Usually when you create a Sub Query you can choose a seperate Universe.
    Maybe if you only see one Universe you only have the rights for this Universe ?!.
    Regards
    -Seb.

  • RC 8 error while transporting the query from Dev to Qa - Element missing

    Hi All,
    I have made a multiprovider by copying one existing one.
    I have copies one of the Bex queries using RSZC from the source to Target MP.
    While transporting the query from Dev to QA i have got the following error. (I have already moved the Multi Prov in a previous TR) 
    Has anyone seen similar types before. Any inputs will be highly appreciated.
    Start of the after-import method RS_ELEM_AFTER_IMPORT for object type(s) ELEM (Activation Mode)     
    Error when activating element 4LUSZK561QN74UDBJ7BPU9GFM                                             
    Element 4LUSZJXHIS1HM7TVDD9DK7HPU is missing in version M                                           
    End of after import methode RS_ELEM_AFTER_IMPORT (Activation Mode) - runtime: 00:00:06                                                                               
    Start of the after-import method RS_ELEM_AFTER_IMPORT for object type(s) ELEM (Delete Mode)         
    End of after import methode RS_ELEM_AFTER_IMPORT (Delete Mode) - runtime: 00:00:14                  
    Errors occurred during post-handling RS_AFTER_IMPORT for ELEM L                                     
    RS_AFTER_IMPORT belongs to package RS                                                               
    The errors affect the following components:                                                         
       BW-WHM (Warehouse Management)                                                                    
    Post-import method RS_AFTER_IMPORT completed for ELEM L, date and time: 20110517070045              
    Post-import methods of change/transport request BDAK959603 completed                                
         Start of subsequent processing ... 20110517070025                                              
         End of subsequent processing... 20110517070045                                            
    Kind regards,

    Hi Jith,
    First of all try to consolidate all your objects in a single TR and then move to Q from D.
    In this case check for the list of objects that you have in your TRs. If TR 3 have all the Objects that were in TR1, TR2, then transporting TR3 alone will work.
    Also, you can find the information related to the elements that were missed in your TR1,TR2 by following process.
    1. Go to your transport Logs and then to the entries marked as Error.
    2. There you will find the Query Element Ids, copy them
    3. Now, go to Table(Se16) RSZELTDIR, there enter those query elements.
    Now, you can able to find the elements that you have missed in your TRs. Hope this helps you.

  • Can I directly access BEX query from web version

    Hi expert,
            Can I directly access BEX query from web version ? I know we can access bex query from webi rich client.
    Many Thanks,

    Hi,
    Yes, you can access BEx query via BICS connection (OLAP Connection).
    In SAP BusinessObjects BI 4.0 you have multiple options to connect your SAP BusinessObjects BI client to your SAP NetWeaver BW system.
    Direct BI Consumer Services (BICS)
    SAP BusinessObjects BI 4.x Relational Universe (UNX)
    SAP BusinessObjects XI 3.1 OLAP Universe (UNV) used in a SAP BusinessObjects BI 4 environment
    Web Intelligence
    Yes
    Yes
    Yes
    SAP BusinessObjects Dashboards
    Yes
    Yes
    No
    Analysis, edition for Microsoft Office
    Yes
    No
    No
    Analysis, edition for OLAP
    Yes
    No
    No
    SAP BusinessObjects Explorer
    No
    Yes
    No
    SAP BusinessObjects Design Studio
    Yes
    No
    No
    Visual Intelligence
    No
    Yes (1)
    No
    Predictive Analysis
    No
    Yes (1)
    No
    Design Studio
    Yes
    No
    No

  • How to get Universe Long Name from DataProvider from BO SDK Web XI R3

    In BO 6.5 I was able to query the repository using an Oracle query to get details about the classes, property(s) and property data value(s). I'm using the following query:
    SELECT DISTINCT u.uni_longname, c.cls_name, p.prp_name, p.property_id,
                    d.prp_datavalue
               FROM unv_universe@PRBA u,
                    unv_class@PRBA c,
                    unv_property@PRBA p,
                    unv_prop_data@PRBA d
              WHERE c.universe_id = u.universe_id
                AND c.universe_id = p.universe_id
                AND c.class_id = p.class_id
                AND p.universe_id = d.universe_id
                AND p.property_id = d.property_id
                AND d.prp_datatype = 'W'
           ORDER BY 1, 2
    where PRBA is our BO oracle repository. It would return the following, though I get multiple rows for this query, I am pasting one row only
    UNI_LONGNAME          CLS_NAME            PRP_NAME               PROPERTY_ID      PRP_DATAVALUE
    Accounting Universe   Account Details     Account Option     15                      ACCT.ACCT_ID  IN  @Prompt('ACCOUNT_OPTION','N', ['Account Details\Account ID'],multi,free)
    I'm wondering what is the equivalent methods/objects using BO Java SDK in Webi XI R3 to get the same information. I use the above information to delete the prompts for which user has not provided a value.
    Also I need to know, Is it possible to get Univers Long Name from DataProivder, then from Univers Long Name, will I be able to get the above Records Set? Is this possible in BO SDK Webi XI R3?
    My requirement is, I have BO Prompts and I need to remove certain prompts which are not supplied by the User, for example if I need to remove ACCOUNT_OPTION, I iterate the record set, as long as ACCOUNT_OPTION is there in PRP_DATAVALUE then I would remove the Filter Condition.Can anyone help me out on this? Rightnow This is a show stopper for me.
    Thanks

    Thanks for your reply, NO Java SDK means, what is it not possible? and what is possible through COM SDK?
    my requirement is, I need to remove certain Filter condition for a DataProvider, for example, ACCOUNT_OPTION is the name of the field, but through JAVA SDK, I am getting Account Option ,
    I have been trying the below code, Can anyone help me out what am I doing wrong? I could not go further.
    ACTXTRACTCon is my list of arrays, these prompts have to be removed from BO Prompts. Although I wanted to post my entire code, for some reason I could not embed the code. This code may have some compilation errors.
         // Get Providers from DocumentInstance
                   DataProviders oProviders = oDoc.getDataProviders();
                   int iDataProviderIndex = 0;
                   int iQueryCount = 0;
                   int iQueryIdx = 0;
                   Query oQuery = null;
                   // Declare ConditionContainer
                   ConditionContainer oCC = null;
                   int iCCIndex = 0;
                   FilterConditionNode oFCN = null;
                   ConditionObject oCO = null;
    String ACTXTRACTCon [] ={                    
                   "PRINTER_NAME",
                   "PARTNER_RANK",
                   "PARTNER_DOMICILE",
                   "TO_GL_CYCLE_DT",
                   "ENTITY_OPTION",
                   "LONG_MEMO",
                   "SHORT_MEMO",
                   "ENTITY_TYPE",
                   "POST_END_DT",
                   "TCODE_TYPE",
                   "ACCOUNT_OPTION",
                   "PARTNER_STATUS",
                   "ACCT_TYPE",
                   "POST_BEGIN_DT",
                   "TCODE_OPTION",
                   "FROM_GL_CYCLE_DT",
                   "PARTNER_TYPE"
    while (iDataProviderIndex <= oProviders.getCount()-1){
                        // Get DataProvider from DataProviders
                        DataProvider oProvider = oProviders.getItem(iDataProviderIndex);
                        // Get Query from DataProvider
                        QueryContainer oQuerys = oProvider.getCombinedQueries();
                        System.out.println("oProvider------->"+oProvider);
                        System.out.println("oProvider.getName().."+oProvider.getName());
                        System.out.println("oProvider.getDataSource().getLongName().."+oProvider.getDataSource().getLongName());
                        System.out.println("oProvider.getDataSource().getUniverseID().."+oProvider.getDataSource().getUniverseID());
                        iQueryCount = oQuerys.getChildCount();
                        if (iQueryCount > 0) {                         
                             // Loop through Query to get ConditionObject
                             for (iQueryIdx = 0; iQueryIdx <= iQueryCount - 1; iQueryIdx++) {
                                  oQuery = (Query)oQuerys.getChildAt(iQueryIdx);
                                  oCC = oQuery.getCondition();
                                  if (oCC != null){                              
                                       // Only Leaf object has condition
                                       if (!oCC.isLeaf()){
                                            // Loop through ConditionContainer to get all conditions
                                            int iCCCount = oCC.getChildCount();
                                            int iRevCCIndex = 0;
                                            //Removing universe level conditions
                                            for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
                                                 iRevCCIndex= iCCCount - iCCIndex -1;
                                                 oFCN=oCC.getFilterConditionNode(iRevCCIndex);
                                                 if (oFCN instanceof ConditionObject) {
                                                      oCO = (ConditionObject)oFCN;
                                                      FilterCondition oOperand=(FilterCondition)oCO.getOperand();
                                                      System.out.println("oOperand.."+oOperand);
                                                      for (int iRow = 0; iRow <= ACTXTRACTCon.length - 1; iRow++){     
                                                           if (oCO.getName().trim().toString().equals(ACTXTRACTCon[iRow])){
                                                                oFCN.remove(oCO);
                                                                break;
                                            // Removing report level conditions
                                            iCCCount = oCC.getChildCount();
                                            for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
                                                 iRevCCIndex= iCCCount - iCCIndex -1;
                                                 oFCN=oCC.getFilterConditionNode(iRevCCIndex);
                                                 if (oFCN instanceof ConditionObject){
                                                      oCO = (ConditionObject)oFCN;
                                                      FilterCondition oOperand=(FilterCondition)oCO.getOperand();
                                                      if (oOperand != null){
                                                           int iOperandCount = oOperand.getOperandCount();
                                                           int iRevOperandIdx = 0;
                                                           boolean bBreakInd = false;
                                                           for (int iOperandIdx = 0; iOperandIdx <= iOperandCount-1; iOperandIdx++){
                                                                // Removing conditions start with high index
                                                                iRevOperandIdx = iOperandCount - iOperandIdx - 1;
                                                                for (int iRow = 0; iRow <= ACTXTRACTCon.length-1 ; iRow++){                                                                 
                                                                     if (oOperand.getOperand(iRevOperandIdx).toString().equals(ACTXTRACTCon[iRow])){
                                                                          oFCN.remove(oCO);
                                                                          bBreakInd = true;
                                                                          break;
                                                                if (bBreakInd == true){
                                                                     // Exit from loop if condition has been removed
                                                                     break;
                        // fetch the changes
                        oProvider.runQuery();
                        iDataProviderIndex++;
                        System.out.println("Data Provider Index = " + iDataProviderIndex);
    Thanks
    Gokul.
    Edited by: mgggkn on Jul 11, 2011 8:18 PM

  • URGENT: Error with query on MultiProvider

    Hi,
    I am designing a query on a MultiProvider that combines a cube and ODS. the common characterisitics in the cube & ODS are Material, fiscal period, country.
    I have 2 rows & 1 column and several free characterisitics (mostly navigational attributes of Material).
    Rows: KF1 (from cube) & KF2 (from ODS)
    Column: Fiscal Period
    I have done all the selections & Identification in the multiprovider and set the ODS for BW reporting.
    I am not able to get data from ODS with query on MultiProvider.
    And i need to add another row that calculates the product of KF1 & KF2. KF1 is sales quantity and KF2 is price identified uniquely by Material/Country combination. When we report at Country level wihtout any material selection the output revenue should be SUM of individual products between KF1 & KF2 (if there are 3 materials (A) sold that have a price of X and 2 materials (B) sold that have a price of Y, the answer should be 3X + 2Y instead of (32) * (XY)/2.
    and also i have geographical hierarchy for 0country which is used in ODS & cube. can i use the geographical hierarchy for ODS as well for aggregation of values?
    Regards
    Emil

    Hi, i have solved the issue by impementing an SAP note.
    and the issue is the in Query i need to calculate a key figure based on the other 2 key figures.
    KF3 = KF1 * KF2
    the only issue here is i need to find the KF1 for each material/country/fiscal period from cube 1 and KF2 for each material/country/fiscal period.
    and multiply and then aggregate according to the filter & selection conditions.
    can anyone let me know how to do it..
    its very urgent..
    thank you
    Emil

  • Query from BW executed in BO

    Hi!!
    I have the following question.
    I created a query in BW and when i executed this query en BEX i go to sm66 transaction and i see that my query ran by 200 seconds.
    This query have diferent views (diferent format to present the information, example: 1 sheet show the sales by country, another sheet show the sales by region and date, etc).
    But, when i executed this query en BO, and i go to sm66 transaction en BW, i can see that my query ran by 200 second (more o less) but then it starts again.
    My question is that in BO my query is executed one time by each view that i have.
    Can you help me please??
    I am using SAP BO XI 3.1 SP3.
    Ruddy Alvarado

    HI!
    Let me explain my problem.
    I ran my query in BW (BEX) and its ran good (like 200 seconds).
    When i ran the same query in web intelligence (previously i created a bo universe with a conecction reference to its bw query).
    My query (in BW and its version in BO) has many ratios or indicators like sales, averages, max and min sales, etc, but when i executed the query in BO and then i go to sm66 transaction in BW, i can see that my query is executed many times.
    Its important to say that my universe in bo (that is related to my query in bw) has ratios (its the name in bw) or indicators (the name in bo) with diferents fuctions (database delegated, sum, etc) and in my webi report i created formulas or calculations (through variables) and a i used some breaks.
    Before Victor Gabriel told me that If the key figures in the universe are databased delegated and  BO report contains sums or breaks or any kind of calculations, BO will have to query BW more than one time. (thakns victor for this information).
    This information is available in any standard documentation??
    Is any way to avoid the multi refresh query from bo??
    Please i need your help.

  • Query from a huge data source

    I am currently working on the query on the BO through a Java application. Following the sample procedure, I can perform a query to extract data from the built-in Universe e-fashion using the JDK-provided web services: QueryService and ReportEngine.
    However, I encountered some problems when doing the same thing in a universe that contains million rows of data [let say Unvierse A]. I am not sure how the differences between the 2 universes affect the result.
    I have tried several times like setting different query objects and query condition but the results still outputs error. There are some error messages I commonly found when I tried to execute the query from the Universe A.
    DataProviderInformation  boDataProviderInfo = boQuerySrv.createDataProvider(boUniverseUID, boQuerySpec, boRetProp);
    DocumentInformation docInfo = objReportEngine.getDocumentInformation(boQueryDocRef, null, actions, null, retBOData);
    org.apache.axis2.AxisFault: Read timed out
    org.apache.axis2.AxisFault: Read timed out
    When I tried doing the same query job in QaaWS / Webi, the report result looks fine. Am I missing some setting in Java ?
    Any help is greatly appreciated.
    Here are my findings on the Universe Specification:
    (com.businessobjects.datasource.DataSourceSpecification)
    e-fashion
    getAdvancedConditionSupported() - true
    getBothOperatorSupported() - true
    getCombinedQuerySupported() - true
    getConditionObjectValueSupported() - true
    getDuplicateRowSupported() - true
    getEditQueryAllowed() - true
    getIsNullOperatorSupported() - true
    getMaxInListNumber() - 999
    getMaxRetrievalTime() - 300
    getMaxRowsRetrieved() - 90000
    getMissingRowSupported() - false
    getName() - eFashion
    getNotIsNullOperatorSupported() - true
    getPercentageRankConditionSupported() - false
    getRankConditionSupported() - false
    getSortOnAnyObjectSupported() - true
    getViewSQLSupported() - true
    Universe A
    getAdvancedConditionSupported() - false
    getBothOperatorSupported() - false
    getCombinedQuerySupported() - false
    getConditionObjectValueSupported() - false
    getDuplicateRowSupported() - false
    getEditQueryAllowed() - true
    getIsNullOperatorSupported() - false
    getMaxInListNumber() - -1
    getMaxRetrievalTime() - 600
    getMaxRowsRetrieved() - 5000
    getMissingRowSupported() - false
    getNotIsNullOperatorSupported() - false
    getPercentageRankConditionSupported() - false
    getRankConditionSupported() - false
    getSortOnAnyObjectSupported() - true
    getViewSQLSupported() - false

    I am currently working on the query on the BO through a Java application. Following the sample procedure, I can perform a query to extract data from the built-in Universe e-fashion using the JDK-provided web services: QueryService and ReportEngine.
    However, I encountered some problems when doing the same thing in a universe that contains million rows of data [let say Unvierse A]. I am not sure how the differences between the 2 universes affect the result.
    I have tried several times like setting different query objects and query condition but the results still outputs error. There are some error messages I commonly found when I tried to execute the query from the Universe A.
    DataProviderInformation  boDataProviderInfo = boQuerySrv.createDataProvider(boUniverseUID, boQuerySpec, boRetProp);
    DocumentInformation docInfo = objReportEngine.getDocumentInformation(boQueryDocRef, null, actions, null, retBOData);
    org.apache.axis2.AxisFault: Read timed out
    org.apache.axis2.AxisFault: Read timed out
    When I tried doing the same query job in QaaWS / Webi, the report result looks fine. Am I missing some setting in Java ?
    Any help is greatly appreciated.
    Here are my findings on the Universe Specification:
    (com.businessobjects.datasource.DataSourceSpecification)
    e-fashion
    getAdvancedConditionSupported() - true
    getBothOperatorSupported() - true
    getCombinedQuerySupported() - true
    getConditionObjectValueSupported() - true
    getDuplicateRowSupported() - true
    getEditQueryAllowed() - true
    getIsNullOperatorSupported() - true
    getMaxInListNumber() - 999
    getMaxRetrievalTime() - 300
    getMaxRowsRetrieved() - 90000
    getMissingRowSupported() - false
    getName() - eFashion
    getNotIsNullOperatorSupported() - true
    getPercentageRankConditionSupported() - false
    getRankConditionSupported() - false
    getSortOnAnyObjectSupported() - true
    getViewSQLSupported() - true
    Universe A
    getAdvancedConditionSupported() - false
    getBothOperatorSupported() - false
    getCombinedQuerySupported() - false
    getConditionObjectValueSupported() - false
    getDuplicateRowSupported() - false
    getEditQueryAllowed() - true
    getIsNullOperatorSupported() - false
    getMaxInListNumber() - -1
    getMaxRetrievalTime() - 600
    getMaxRowsRetrieved() - 5000
    getMissingRowSupported() - false
    getNotIsNullOperatorSupported() - false
    getPercentageRankConditionSupported() - false
    getRankConditionSupported() - false
    getSortOnAnyObjectSupported() - true
    getViewSQLSupported() - false

  • Is it possible to open a query from sap menu favorite to excel?

    Hi all
    I have added a query in favorite . From the favorite in sap menu , i want to open the query in excel.
    Is is possible?
    Currently the query open in web.
    Please revert back if you have any idea
    Thanks
    ajay

    Hi Daya Sagar,
    You said the query saved in favorite from query designer will open in browser and the one saved from analyzer will open in bex excel. But it does not work for me. It saves as web icon and both query is opening in browser.
    Hi All,
    The different story for me is I have problem of opening the web browser by running a query from favorite or user menu because in the url I have different Client. Is there any way to fix this url problem. Any one in this thread can help me on this issue and will be awarded. Thanks.
    Raj

  • See sql query from crystal report without crystal report

    see sql query from crystal report without crystal report 

    Hi,
    Depends on datasource type but you could have a look at ODBC trace or if you have access to the SQL Server you could use profiler to monitor the session.
    Regards,
    Craig
    And this will only be of use if you know which Server/Insstance/Database the Report is connecting to...
    Please click "Mark As Answer" if my post helped. Tony C.

  • How to call a BW Query from an ABAP program?

    How to call a BW Query from an ABAP program?

    hi
    check this link
    /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
    /people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
    /people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
    hope this helps
    cheers

  • 0ADHOC error while executing the query from Report Designer

    Hi All,
    When I am executing The Query from Report Designer,  am getting the below error.
    Please help me in this regard.
    The initial exception that caused the request to fail was:
    The Web template "0ADHOC" does not exist in the master system
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: The Web template "0ADHOC" does not exist in the master system
    at com.sap.ip.bi.webapplications.runtime.service.template.impl.TemplateService.getTemplateContent(TemplateService.java:57)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:82)
    at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:163)
    at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:79)
    at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:133)
    Thanks,
    KVR

    Hi,
    The web template 0ADHOC is usually the standard web template for 3.x queries. The Report Designer executes the reports in java web, thus tries to find the template 0ADHOC in the 7.0 templates and does not find it. Check whether you have maintained the standard web template 0ADHOC for 7.0 reports also:
    Transaktion SPRO -> SAP Reference Image -> SAP NetWeaver -> Business Intelligence -> Settings for Reporting and Analysis -> Bex Web -> Set Standard Web Templates
    Best regards,
    Janine

Maybe you are looking for