Queries on Multiproviders

hai
Can anyone send the 'How to create queries on effeciencitenly on the Multiproviders' document to me please.
rizwan

HI,
Check this.,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a9ab011a-0e01-0010-02a1-d496b94c9c0f.
Hope this helps.
suresh

Similar Messages

  • How to create queries on multiproviders& what are steps to be taken.

    Hi all,
    How to create queries on multiproviders& what are steps has to be take care.
    Thanks,
    cheta.

    Hi,
    Following scenario for  sample for slow moving items for multiproviders.
    Slow Moving Item Scenario
    You want to define a query that displays all products that have been purchased only
    infrequently or not at all. In other words, the query is also display characteristic values for
    which no transaction data or only low values exist for the selected period.
    Procedure
    In the Administrator Workbench;
    1. Create a MultiProvider consisting of a revenue InfoCube, containing the InfoObject
    Material (0MATERIAL), and the InfoObject 0MATERIAL. The InfoObject must be set as
    an InfoProvider in InfoObject maintenance. In other words, you need to have assigned
    the InfoObject to an InfoArea. (also refer to Tab Page: Master Data/texts [Ext.]).
    In the BEx Analyzer:
    2. Select your MultiProvider in the Query Designer.
    3. Define a query that contains the InfoObject 1ROWCOUNT in the columns.
    The InfoObject 1ROWCOUNT is contained in all “flat” InfoProviders, that is, in all
    InfoObjects and ODS objects. It counts the number of records in the InfoProvider.
    In this scenario, you can see from the row number display whether or nor values
    from the InfoProvider InfoObject are really displayed.
    4. Save the query and execute it. All values are now displayed, including those for materials
    that were not purchased.
    If you filter by time (0CALYEAR, for example), values from the InfoProvider
    InfoObjects are not displayed since 0CALYEAR is not an attribute of
    0MATERIAL. You can see this from the absence of values in the 1ROWCOUNT
    column in the query. If you want to restrict by time, you need to proceed as
    follows:
    Constant Selection for the InfoObject
    You need to set the constant selection for the 1ROWCOUNT key figure in order to be able to
    set a filter by time in this query.
    1. In the Query Designer, via the context menu for 1ROWCOUNT, choose Edit.
    2. On the left hand half of the screen, under the data package dimension, select the
    characteristic InfoProvider (0INFOPROV) and drag it into the right-hand screen area.
    3. From the context menu for the InfoProvider, choose Restrict, and restrict across the
    InfoProvider InfoObject.
    4. Also from the context menu for the InfoProvider, choose the function Constant Selection.
    5. Save the query and execute it. You can now also set a filter for a time characteristic, the
    materials display remains as it was.
    Displaying Slow Moving Items
    If you want to display a list of slow moving items, excluding products that are selling well, you
    need to proceed as follows:
    1. In the Query Designer, via the context menu for 1ROWCOUNT, choose Edit.
    2. Via the context menu for InfoProvider, choose the function Display Empty Values. Also
    select Constant Selection.
    3. Save the query and execute it. The result is that the system displays the materials for
    which there was no revenue.
    Displaying Products with Small Revenues
    If you want to display a list of products that have not been sold or have only been selling
    badly, you need to proceed as follows:
    1. Set constant selection as described above, but do not select the display empty values
    function.
    2. In the Query Designer, define a condition for the 0MATERIAL InfoObject. Specify a value
    that is to be the upper limit for a bad sale.
    3. Save the query and execute it. The result is that the system displays all materials that
    have not been sold or have been selling badly.
    Thanks,
    Sankar M

  • Aggregates - Propose & MultiProviders

    Hi,
    When using aggregate propose from query, we never get any query proporsal, but only message:
    "No objects are loaded in the Repository (main memory"
    Why ?
    All our queries are based on multiproviders. Maybe that's the problem ?
    BW 3.5 SP 13.
    BR,
    Ole Paludan

    Hi,
    indeed that's the problem. The proposal doesn't work for queries on multiproviders.
    You can just try one of the other options (from statistics or from technical content). But here you may get a lot of "useless" aggregates.
    Regards,
    Juergen

  • Qeries on MultiProviders Vs Underlying InfoProviders

    Folks,
    Need your help in finding what the best practice is on this topic.
    We are getting ready to begin developing queries and we were debating whether as a standard across the project we should develop our queries on MultiProviders Vs developing them directly under each underlying InfoCube.
    Sometime back I had read a SAP document where they were recommending developing your queries on multiproviders all the time so that if the underlying infocube is impacted, the query definition is not. I question this because when the infocube is undergoing maintenance or impacted for whatever reason the multiprovider will also be deactivated - is it not? Please correct me if I am wrong.
    I just did a search on BWEXPERTONLINE and there is a document that recommends developing your queries all the time on the infocube to save one extra table join.
    What do you folks think is the best practice and why? If you can point me any good links that will be great. If you think one way is better than the other please substantiate with the reason.
    Thanks.
    Abdul

    HI abdul;
    That's true if you create queries from cube itself instead of using multiproviders, you will have less tables but there are situation that you want to use the multiproviders to create queries instead of the cube. For example if you have a cube with plan data and another cube with actual data, This year vs last year..or something like this, if you have a query from multiproviders it one query will do the comparation or variance..whatever you need. But if you design the queries from each cube you may have to create the workbook with two in one, or have users with two different queries.
    In your question of maintainace of cube vs multicube; if you have added some fields into your cube you have to maintain your multiproviders also in the char 'identification' and keyfigure 'selection'.
    Pls read this :
    http://help.sap.com/saphelp_bw30b/helpdata/en/52/1ddc37a3f57a07e10000009b38f889/content.htm
    Hope this helps.
    Buddhi

  • Authorization Check of Multiproviders

    Dear all,
    we have a scenario like this:
    Two Basiscube (A & B) with two authorization objects created in RSSM (AUT_A and AUT_B).
    The assignment in RSSM is like this:
    Cube A checked by AUT_A
    Cube B checked by AUT_B
    No we created a Multiprovider where A and B are assigned to.
    We thought that the authorization check of the underlying Basis Cubes is also carried out in the Multiprovider.  Therfore we thougth it is necessary to assign the user both authorization objects AUT_A and AUT_B to run a query on the MC. Now I found a OSS note (921820) that says:
    "(XIII) For queries on MultiProviders, you must activate the relevant authorization objects for this MultiProvider (in transaction RSSM). The setting for individual basis providers is not relevant."
    For me that would have the following implications:
    We can assign either
    only AUT_A or
    only AUT_B or
    both AUT_A and AUT_B or 
    a new authorization object to MC.
    As long is the authorzation object that is assigned to the MC is also used in the roles the users can run the queries.
    Can anyone confirm this?
    Thanks in advance!
    Thomas

    You will be fine with setting the authorization at the multi provider level as far as the cubes are concerned.
    But you seem to have authorization objects based on info objects. Is that correct?
    If so, then you need to maintain authorization for the objects regardless of how you maintain authorization at the cube level.
    Ravi Thothadri

  • Customer Exit in query on aggregation level

    Hi,
    I try to have variables filled with a customer exit.
    The coding of the customer exit is correct, this have been tested in queries on multiproviders.
    Unfortunately it is not working when these variables are used on level of aggregation levels.
    What I would like to achieve:
    We have some planning queries on aggregation levels. Different users can plan on the same query (and aggregation level), but not for the same set of data. Therefore the query should be restricted to the authorized values. Unfortunately we can not switch to the new authorization concept (analysis authorizations) yet, but we already need this functionality very soon.
    The customer exits are the only possible option. Unfortunately it seems that the customer exits are not being executed when the variables are used in queries on aggregation levels.
    The variables are not ready for input and should be filled in I_STEP = 2
    Is this normal? If so, is there a work around?
    Thanks in advance for quick replies!
    Kind regards,
    Bart

    Hi,
    You can debug your query by putting the break-point in your exit code and execute the query in RSRT. This way you will be able to find if your customer exit is actually being called or not. If it is being called then there can be some logical problem with your code due to which the variable values are not getting populated.
    Regards,
    Deepti

  • Prerequisites for an Infocube to crete BIA indexes

    Hi experts,
    I am very new to BIA. I have just loaded some data into a Cube and I want to create and fill BIA indexes. But before that I doubt whether we need to do any must-be-done activities such as roll up or compressing that particular request. Please guide me step by step approach to create BIA indexes starting from the load to the cube has been done. Thanks.

    Hi,
    I would like to ad that though technically there are no pre-requisits for an InfoCube to create BWA indexes, from a business side there is. This is assuming being on BW 7.x is not considered as a pre-req.
    1. In a BW only enviroment modeling is not very critical as space and selection are both ceheap and manual.
    2. Move to BWA and sudeenly space is a very expensive commodity, not only at the time of ourchase but also on an annual basis. In such an environment if re-modelign can reduce the Cube footprint by 30 to 60% then that company has to spend 30-60% less on blades and annual maintenence costs. Or fit 30-60% more cubes into the BWA. This one seems to be a no-brainer.
    3. A lot of time we run our queries from Multiproviders and go ahead and index all the Cubes. The in some cases user says that the query response is still the same. When we dive deeper we discover that the query, or Muptiprovider, is dependent on a reporting DSO. Well this reporting DOS must now either be converted to an InfoCube or one built on top for leveraging the BWA. This is a common 1st time mistake with some BWA installations - lessons get learnt quite rapidly
    But just at a high level these is a lot of business reasons to reshape the Cubes prior to BWA, or create 'RightModeled" Cubes on top of reporting DSO's. Companies will save manyfolds more in this process and enhance prformances that the cost for deployign this solution. - It's all automated now..

  • Query Performance Tunning

    Dear Experts,
    I am executing a query which is build on a Multiprovider. The execution time is approx. 12 mins, again if I enable a dimension to analyze it takes another 15 mins.
    The technical details of the query are:
    1) The multiprovider fetches data from three different Cubes.
    2) It contains three diff characteristics out of which one is having a 10 level hierarchy and one is having a 2 level hierarchy. Both the hierarchies are externally maintained.
    3) It contains KPIs which calculate the sales on diff time lines such as CM MTD,  LM MTD, CY YTD, LY YTD with the help of a customer exit.
    4) It converts the quatities in alt unit of measures through an exit.
    Kindly suggest for performance tunning. How shall i achieve min query execution time??
    -Kushal

    HI Kushal,
    effective query on MP can be found
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b03b7f4c-c270-2910-a8b8-91e0f6d77096
    for nw2004s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a9ab011a-0e01-0010-02a1-d496b94c9c0f
    modeling on multiprovider
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
    docs on performance available in
    FAQ - The Future of SAP NetWeaver Business Intelligence in the Light of the NetWeaver BI&Business Objects Roadmap
    https://service.sap.com/bi
    -> performance
    Also,
    check the parallel processing setting, your query is non cumulative ...
    629541 Multiprovider: Parallel Processing
    911939 Optimization hint for logical MultiProvider partitioning
    907881 MultiProvider with (too) many part providers
    Performance of non-cumulative queries in MultiProviders
    903559 MultiProvider optimization is only partially active
    942554 Perf when working with BI inp help with multiprov on Oracle
    607164 MultiProvider: Sequential processing is faster than parallel
    913975 Performance problems for MultiProviders with many partprov.
    hope this helps
    Best Regards,
    VVenkat..

  • Aggregates usage

    gurus
    i have to evaluate all my aggregates in production and get rid of few of them.
    questions what i have is
    when was the last time any query actually accessed my aggregate?
    what are the queries which actually use this aggregate?
    we do have statistics cubes active. i used the standard Aggregate usage query but i am not convienced with the data. it actually shows only one query has used my aggregate
    i am trying to get information from RSDDSTAT and RSDDSTATAGGR tables but i am able to understand which of the available fields will answer my question
    can anyone help me out please. would be great if you can be more specific
    thanks

    Are your queries on multiproviders?  I believe some of what gets captured for multiproviders has changed over versions and SPs, but not all aggregate usage gets logged in RSDDSTAT.  At one point MultiProvider queries that ran in parallel did not log the aggregate, and before that, a MP couldn't use an aggregate.  I'm not 100% certain what scenarios get logged, but if you think about it, a MP query could be hitting the multiple aggregates - both aggregates from the different underlying cubes and in some cases, different aggregates on the same cube for different Restricted KF.  Since BW is only logging to RSDDSTAT a single entry for that query navigation, it can't possibly reflect the use of multiple aggregates. I believe I saw a while back that indicated that in this case, no aggregate would be included on the record written to RSDDSTAT. 
    An easy way to confirm this would be to look at the usage counts and last used date/time in the Maintenance for Aggregate window.  That will tell you how many times an aggregate has actually been used and the last time it was used.  These should give you a confirmation about which ones are being used the most.  This, unfortunately, is a total for the aggregate and is not at the query level.
    You can compare the usage counts shown in the Maintenance of Aggregate screen (count is from the aggregate's creation/last change) with what you get from RSDDSTAT for the same timeframe.  I'll bet that for Multiproviders RSDDSTAT is too low.

  • Merging queries for different multiproviders

    Is there are a way to use the output of one query as an input parameter for another query and use the output from the second query in the report.
    My requirement is that the data which is to be displayed in the report is found in two different multiproviders and we cannot create any other multiprovider. I created two queries for the two multiproviders. One of the characteristic of the first query has to be an input parameter for the second query and the one of the Key figure output of the second query should be one of the column in the report. Can anyone please suggest a way for this?

    Hi,
    this is possible by taking a variable restriction on that characterstic in the second report. This variable should have a processing type equal to REPLACEMENTPATH and there you can specify the first query as the source for this variable.
    With rgds,
    Anil Kumar Sharma .P

  • Transport request for BW queries and roles.

    Hi All,
    we need to craete 20 bw queries on 4 multiproviders. We need to save 18 queries as workbooks in one role and the other 2 queries in other role.  Both the roles and queries does not exist and will be created in Developement environment.
    We just want to know how we can transport them in the quality environment. What is the right method to transport them.
    Can we transport all the object queries, workbooks and roles in number of transport requests so that if few queries or workbooks needs any changes then we do not have to transport all objects just the request which includes the changed objects.
    Thanks & Kind Regards,
    Hardeep

    Thanks a lot for all of you for your quick response. But i still have questions.
    If we create one transport for roles and one transport for each query then we will be having 21 transport requests. But the transport request on same multiprovider can lock the clacuated key figures and restricted key figures, if they are present in more than one query, it means they will be present in more than one transport requests, so they can be locked and trasport request will be failed.
    If i just create one transport request for all the objects roles, quaries & workbooks it will not loack any object, and transport request will not fail. But i have to transport all the objects again if i need to change one of the queries.
    Please let me know if there is a method that i can divide my queries as per multiprovider and can create transport requests as per multiprovider so that we can not lock calculated keyfigures and restricted key figures. Is workbooks can be published in the role in the same transport request. If it is and if in more than one transport request we are publishing the different workbooks to the same role, will it lock the role.

  • Filter the content on different queries for the same infoprovider and user

    Hello,
    We are trying to make the following security scenario in BI, and have
    problem with the analysis object concept to filter at query level.
    The idea is to permit to :
    - user A
      - to execute query Q1 and view information about sites 1,2,3
      - to execute query Q2 and view information about sites 4,5,6
    but for example for another user :
    - user B
      - to execute query Q1 and view information about site 1,3
      - to execute query Q2 and view information about site 5,6,7
    Q1 and Q2 are queries from the same infoprovider.
    The idea is to make an automatic generation of analysis objects based
    on the standard program : RSEC_GENERATE_AUTHORIZATIONS.
    During tests, we have faced a problem with the object 0TCTQUERY that we
    thought will permit us to filter at the query level, but unless we add
    the name on the query on a role in the S_RS_COMP authorization object,
    field RSZCOMPID, the query is not granted to the user.
    The fact that we use both authorization objects : one for the query
    definition, and another for the analysis authorization concept
    (S_RS_AUTH, field BIAUTH), has disastrous effect : all values given in
    the analysis objects are for all queries of an indicated infoprovider.
    With that system, it's then not possible to propose dynamically different
    views of the same data (ie from same infoprovider) based on the
    authorization concept unless using the technic of customer-exit variable,
    but with variable you will have a problem with old queries that doesn't
    have a variable and that will permit to see all data given in the new
    authorization objects.
    Is there exists another object to filter at the query level in the
    analysis objects ? If it's not the case, what is possible to do to reach
    our goal with the new authorization concept ?
    Thank you in advance for your help.
    Best regards,
    Gaël.

    The data is protected on infoprovider level and not on the query level,  so when two querys are build from the same Infoprovider then the authorizations are the same,
    To achieve what you want to do,  the querys must be built off different providers.   This can be achieved by placing the infoprovider in 2 differnt multiproviders and building the querys and authorizations seperatly on these.

  • Queries on multicube preferred why?

    Hello BW Experts,
    I am in the process of deciding to have the queries on cube / multiprovider. Could any one provide feedback with your experiences which option is preferrable. I am also considering of multiprovider even if there is only one cube.
    Thanks very much.
    BWer

    Hello dear;
    Please read this thread for your help. If you have only one cube, to me it doesn't make any sense to have multiprovider, unless you are thinking of may be another cube or provider also will be necessary to create a report in near future. Even for that I would recomends you to create the multiprovider when you have that situation.
    Qeries on MultiProviders Vs Underlying InfoProviders
    Hope it helps.
    Buddhi

  • BI Admin Cockpit Queries - BI 7.0

    Hi All,
    I have a requirement to build a BW Statistics quesries on BI 7.0. We already activated the BW 7.0 Statistics. Now i am in the process of creating BW queries on BI 7.0 BI Stats multiproviders.
    My question is whaich business contenct Queries / Multiprovider gives the information of Most/least frequently executed query.
    I found a Key figure (0TCTQUCOUNT) which will capture No of time query executed. But this Key figure is not caputing information, if we ran the query in Portal. This key figure available in Multiprovider 0TCT_MC01.
    I really appreciate if you provide me some information on my issue.
    Thanks in advance
    Edited by: Ram Garigipati on Jan 25, 2008 3:57 PM

    Hi,
    Please go through this doucment:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90080703-4331-2a10-cd98-9c1e95acdea0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50f95b21-7fb8-2910-0c81-f6935d4c654b
    Hope it helps.
    Regards,
    Mona
    Edited by: Mona Kapur on Jan 25, 2008 6:08 PM

  • BEx Analyzer - Hiding infocubes/multiproviders from querying

    Hello,
    We are trying to deny the ability of users to query directly against multiproviders/infocubes/DSO's in BEx Analyzer.  We recently upgraded to 7.3 and have migrated users to 7.x analyzer, but we want to eliminate this specific functionality for the users, as it seems to add unnecessary confusion when they are looking for queries within Infoareas.  An example:
    In this situation when viewing the queries for the infoprovider 0CRM_VC12, the infocube also populates this list.  We ideally do not want this functionality. 
    Are there certain security roles we can initiate for this task?
    Thanks!

    Hello Nanda,
    Unfortunately this disables the infoareas, which is not the functionality we are looking for.  Thanks for the help though.
    We are going to test disabling these "queries" via a security role, S_RS_COMP.  I've noticed when looking at table RSRREPDIR, for example, with this infoprovider, there would be a query called !!A0CRM_VC12 that would be inactivated if no one accessed this infoprovider to query directly against.  When it is accessed though, this query gets activated.  Hopefully this removes the infoprovider from showing in the query selection. 
    I'll report whether this is successful or not.  Thanks everyone for your time.

Maybe you are looking for

  • Dynamically change the Binding of a view object

    I want to reuse a panel several times in my application. The VO has one bind parameter (:1). The same panel should be reused several times with different bind variables. I found a technical note concerning this issue called: How to Dynamically Change

  • Create PDF from scanner with Acrobat 11.0.6

    Ever since Acrobat updated to 11.0.6 the create pdf from scanner option will not complete. I am running OS X 10.9.1 on a Macbook Air as well as a Macbook Pro. The Macbook Air updated to Acrobat version 11.0.6 sometime last week and that's when it sto

  • In the View Responses functionality

    In the View Responses section of a form, can I make the options for a datapoint a dropdown field rather than a free form field?

  • Dragging iTunes files onto disktop

    I seem to have forgotten something. Unless my memory is worse than I thought it was, I used to drag songs from my iTunes library to my desktop in order to attach them to e-mail messages (I found this much faster than using the ATTACH button in my MAI

  • GetDefaultJavaVMInitArgs(void *) structures?  which one do I use?

    Environment: Windows XP sp1 J2SDK 1.4.1_01 P4 - 512meg ram Microsoft Visual C++ 6.0 sp5 Question: I'm writing a program that creates a Java Virtual Machine and launches a static method from a class. It works good so far. Going through the limited doc