Multiprovider design (InfoObject assign) and query dehavior

Hi experts,
we have a hetergenous  multiprovider, it has several InfoCube as the basis cube.  when execute the query, it will display some duplicated records.
1) the two duplicated records are exactly the same, including characteristics, navigational atrribute, key figures.
2) the two duplicated records have the same characteristics, navigational attribute, with some of different key figures .
It's very hard to identify the root cause why for some of the records, it will have duplicated records.  Meanwhile, I have some question for the multiprovider design..
For example, now we have 4 InfoCube..
In those 4 infoCube, we have the 0Material inside. at Multiprovider level, 0Plant are assign from those 4 infoCube
Only 3 of the InfoCube, have the 0Plant inside. at Multiprovider level, 0material are assign from those 3 infoCube.
1) what will happen , if I include 0plant and 0material as the rows in the query designer, will this cause some duplciated records ?
Now , 0Material, have the navigational attrribute, 0mateiral_0matl_type,  If I only 3 Cube has the
0mateiral_0matl_type Open and assign into the Multiprovider..
In my query, I use the 0material, and also 0material_0matl_type as the variable , both could input the values, and display in the rows
What will happen ? if not all the navigational attribute are assigned at the Multiprovider level, but the master data InfoObject 0material it self are all assigned at the multiprovider level.
2 ) Is there any influence to retrieve the record ?  I am not sure if 0Material are correctly assigned, 0material_matl_type will influence the result (number of records), or will this cause duplicate records ?
I think in some of the case, in the sub -cube, not all the required InfoObject, or navigational attribute are avalable at the ALL Cube level, but in the query level, they are used.
Finally, what could be the reason for duplicated records ?? they should be merged after execution..
Please share your comments.  Thank you very much.
Best Regards,
muwenziwu

HI muwenziwu,
If you iunclude any characteristics or a navigational attribute which is not common in both the infoproviders
then the it will show the result in a seperate line ,
But you have a option to overcome this , refer the How to document in the below link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2
Hope this helps
Regards,
Sathya

Similar Messages

  • Multiprovider design between characterstics and KF

    Hi Experts
    I have 2 MP , i have to design new MP using these 2MP.
    I have to integrate these 2 MP, here challenging key point is:
    I have to integrate between characteristics of 1st MP to KF of 2nd MP, But there are some common characteristics between these two MP's, Can Any experts give suggestion on this design.
    Thanks in Advance

    Hi Meena,
    If your data from ODS is not available in Multiprovider then there can be following three cases:
    1> Data is not activated in ODS
    2> Data is acitvated in ODS but you have not provided characteristic identification from ODS in multiprovider
    3> THe Calendar Day for which you want to see the data from Multiprovider; you may not have any data for that calendar day in your ODS.
    Please check this and let us know if there are any issues.
    Regards,
    Nilima Rodrigues

  • InfoObject missing in Query Designer

    Hi Expert,
              I created one DSO which contain contian InfoObject InfoA, InfoB and other fields . and i also create a query against this DSO. But in Query Designer, there is no InfoObject InfoA and InfoB. all other fields can be find in Query Designer! i feel confuse about this ?
             Anybody can give some advise about this?
       Thanks in advance.

    Hi Dragon
    1. Close query designer.
    2. Activate the DSO once again
    3. Re-open query designer
    Sometimes I also faced refresh issue. but the above steps resolved my problem
    Regards
    Anindya

  • How to assign a query and a template to a role

    Hi gurus
    Considering my little knowledge that i have of BI 7, I just want to confirm is this the way to assign a query to a role.
    On the main menu of the query designer at the top left we have query-->Publish--->to Role and subsequently assigning the query to the specific role required and similar steps are followed to assign the template to the same role as well...kindly confirm this.........as i guess it is important to assign the query and the template to a the correct role so as to get the correct data.As our query is created for the manager role....points will be given

    Hi Anurag,
    Check this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a249a990-0201-0010-e18e-b2f5ed135497
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a101b894-0b01-0010-6c90-e70766b33256
    Roles assigned to a BI 7.0 Consultant
    Role  assigning to a Query in BEX report
    Assign points if this is helpful...........
    Rgs,
    I.R.K

  • Report Designer  and Query Designer in BI 7.0

    Hi friends,
          what is the use of  Report Designer  and Query Designer.. and what is the difference between  these two..
        I know about  Analyser... that is used for designing a query and we can analyse (or) see the result of that query in that  window....
         then what is  the use of Query Designer... can you  give me the brief  introduction abt that...  if any documents plz farword  to me..
    my mail id--- [email protected]
    thanks
    @jay

    Hi Ajay,
    Report Designer is a newly added feature in BI 7. This helps to do cosmetic changes to the report, change the fonts, add colors etc. Please check this link for more info on Report designer.
    http://help.sap.com/saphelp_nw04s/helpdata/en/17/16d941de405f24e10000000a1550b0/frameset.htm
    Query Designer, is where you develop, edit your queries.
    Analyzer, is where you execute the query and analyze the results.
    Hope this helps.

  • User profiles for analyzer and query designer

    Hello,
    I have one short question about user-profiles.
    Which user-profile should I best use for a user, who should just use the BEx Analyzer and which profile does a user need for using BEx Analyzer + BEx Query Designer.
    Thanks

    I just need the SAP-Roles which allows a user to use Analyzer and Query Designer.

  • Errors in BeX Analyzer and Query Designer NW2004S

    Hi All, these are the problems -
    1) We have installed the FrontEnd and applied SP 1. But when I am trying to
    use the Analyzer, the Menu Options are not working. Please give us a
    solution to this problem.
    2) In Query Designer, when we do drag and drop, the query designer hangs and we need to close the query designer .
    3) In Query Designer, if we try to make some changes to an existing query and try to save
    we have the following error message -
    'Terminate - The system tried to insert a data record, even though a
    data record with the same primary key already exists.
    Terminate - Program error is class SAPMSSY1 method: UNCAUGHT_EXCEPTION'
    Any help will be appreciated.
    Best Regards,
    Rajib

    Hi
    The Frontend version is 7.1. So far as I know, only SP 1 is available for version 7.1.
    I have got answer for Question 1 - Answer is in SAP Note 1025122.
    Still the other questions are unaswered.
    Thanks, Rajib

  • Query to get all ports assigned and used by EBS instance.

    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    Milan

    MILAN RATHOD wrote:
    Hi,
    Can some one pleaase help to get
    Query to get all ports assigned and used by EBS instance.
    Help is appreaciated.
    Regards,
    MilanIn addition to the thread referenced above by Helios, please check the context files and (Oracle E-Business Suite R12 Configuration in a DMZ [ID 380490.1] -- F. List of Ports to Open in a DMZ Configuration).
    Thanks,
    Hussein

  • Multiprovider design

    dear all,
    The dimension design of infocube are important for performance and each dimension will link to some master data and SID id.
    but is this concept still true for a multiprovider? thanks.

    Hello,
    Check this Thread:
    Analysis and Performance tuning of a query
    u2022 When the reporting scenario is to be extended, use a MultiProvider as central interface between
    query definition and basic InfoProviders. When another InfoProvider is added to the MultiProvider
    definition, the technical name of a query based on the MultiProvider remains unchanged.
    u2022 Use a MultiProvider to reduce the size of the basic InfoProviders. Advantages: parallel access to
    underlying basic InfoProviders, load balancing, resource utilization, query pruning.
    u2022 Make sure that your MultiProvider only retrieves data from relevant basic InfoProviders at query
    runtime by
    o Using constants in the design of the basic InfoProviders
    o Using different key figures in the design of the basic InfoProviders
    o Using characteristic 0INFOPROV when designing a query on the MultiProvider
    u2022 Are you planning to use a MultiProvider? If so, you have to ensure that the characteristics you want
    to report exist in all basic InfoProviders.
    u2022 Do not use more than one non-cumulative InfoCube (InfoCube with at least one non-cumulative key
    figure) because this could lead to incorrect query results.
    u2022 Do not use calculations before aggregation on MultiProvider because this may lead to wrong query
    results.
    u2022 Do not combine basic InfoProviders having inhomogeneous data models in a MultiProvider. Use the
    report-report interface between queries defined on the basic InfoProvider instead.
    u2022 Avoid using only parts of compound characteristics in the constituent basic InfoProvider of a
    MultiProvider. For more information, see SAP note 702542.
    Assign points if this helps,
    Regards,
    Jorge Diogo

  • BI: some dimensions in multiprovider not showing in the query

    Dear all,
    i have created  cube top of DSO and i created  multiprovider with that cube and with 2 master info object
    but  when i create query it showing only few dimensions in the multiprovider so kindly help me on this
    for example multiprovider has 11 custom dimensions and 3 standard dimensions..!
    Thanks
    sivakumar Ramakrishnan.

    Can you elaborate, how many and which of the dimensions are not shown?(And please specify if they have some special properties like line item,high cardinality etc).Also check whether you have the same problem with the key figures in the multiprovider.
    Also, I know that it sounds silly but check the dataprovider of the query is whether the correct multiprovider.Check that there is characteristic in the dimension which does not appear.Then exit query designer, activate the multiprovider and go to query again.

  • Regarding assign and transform

    Hi all,
    iam doing a task, in which the data from one (oracle 10g) is moved to another database(oracle 12i ),
    source table contains around 30 columns and destiantio contans some N number of columns.
    I just used data polling for source . when data is inserted in the source side ,it is automatically picked and inseted in to destination.
    Around 22 columns are directly mapped , and remaining are validated based on some conditons and then inserted to desinaiton.
    iam using transform activity for direct mapping , and remaining columns are mapped with assign activity(after chcecking the conditions).
    Promblem is only transform values are getting inserted in the destination table.
    can't we use both assign and transform in one bpel process .
    can't we use two transform activities in same bpel process.
    regrads,
    ramakrishna

    HI Buddy,
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Thu Oct 16 16:11:42 GMT+05:30 2008
    Author: 703036713
    Purpose: Empty BPEL Process
    -->
    <process name="assing_transform"
    targetNamespace="http://xmlns.oracle.com/assing_transform"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:client="http://xmlns.oracle.com/assing_transform"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns5="http://xmlns.oracle.com/pcbpel/adapter/db/source/"
    xmlns:ns6="http://xmlns.oracle.com/pcbpel/adapter/db/top/source"
    xmlns:ns7="http://xmlns.oracle.com/pcbpel/adapter/file/source/"
    xmlns:ns8="http://www.emp.org"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/dest/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/db/soure/"
    xmlns:ns4="http://xmlns.oracle.com/pcbpel/adapter/db/top/dest"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/soure"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <partnerLink myRole="dest_role" name="dest" partnerRole="dest_role"
    partnerLinkType="ns2:dest_plt"/>
    <partnerLink myRole="Read_role" name="source"
    partnerLinkType="ns7:Read_plt"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <variable name="input" messageType="ns7:emp_msg"/>
    <variable name="output" messageType="ns2:EmpCollection_msg"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <receive name="Receive_1" partnerLink="source" portType="ns7:Read_ptt"
    operation="Read" variable="input" createInstance="yes"/>
    <assign name="Transform_1">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('Transformation_2.xsl',bpws:getVariableData('input','emp'))"/>
    <to variable="output" part="EmpCollection"/>
    </copy>
    </assign>
    <assign name="Assign_1">
    <copy>
    <from variable="input" part="emp" query="/ns8:emp/ns8:empdet/ns8:name"/>
    <to variable="output" part="EmpCollection"
    query="/ns4:EmpCollection/ns4:Emp/ns4:empname"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="dest" portType="ns2:dest_ptt"
    operation="insert" inputVariable="output"/>
    </sequence>
    </process>
    THIS IS MY BPEL FILE , CREATED FOR TESTING PURPOSE
    IN WHICH I HAVE TAKEN THREE FIELDS IN XML FILE AND TRIYING TO SEND TO DATABASE
    FOR TWO FIELDS IAM USING TRANSFORM
    AND FOR ONE FIELD ,IAM USING ASSIGN
    THE BPEL PROCESS SUCESSFULLY DEPLOYING , BUT IT IS GIVING RUNTIME (CHECKING IN BPEL CONSOLE PROCESS FLOW)
    THE ERROR IS ASSIGN ACTIVITY SHOWING ERROR IN BPEL SPEC 1.1 SECITON 14.3
    COULD U SUGGEST ME , IS THERE ANY OTHER ALTERNATIVES TO SOLVE THE ISSUE
    THANKS AND REGRADS
    RAM

  • Assigning a query dynamically to a cursor based on IF ELSE condotion

    hello guys,
    we are facing a problem while creating a procedure.
    The procedure has been recreated in ORACLE from SQL SERVER 2005.
    the problem is that in SQL server we can assign a query dynamically to a cursor so that it will be called at execution time.But this is not the case in oracle, i.e in Oracle its not allowed to assign a query to a cursor dynamically(OR IS IT...!!!)
    the code is
    vr_SQL varchar2(400);
    declare
       cursor ord_cur  ;  <-----cursor declaration
      begin
       If v_pIsScrutiny = 0 then   +<--------------second condition+
          vr_SQL:='Select NVL(ServiceID,0)  ServiceID,OrdQty,+<-------query assignment to a variable+
              NVL(DrugID,0) DrugID,NVL(ServiceAmount,0) Rate,OrdDtlID 
              from Orderdtl inner join ordermst on Orderdtl.OrdID = ordermst.OrdID 
              Where Orderdtl.OrdID in (Select OrdID From Ordermst Where OrdVisitID = vr_visitid  
              and TO_CHAR(ordermst.OrdDate,''DD-MON-YYYY'') 
              Between TO_CHAR(vr_pActivationDate,''DD-MON-YYYY'') 
              and TO_CHAR(vr_pExpiryDate,''DD-MON-YYYY'') 
              ) And NVL(Orderdtl.Cancelled,0) = 0 And NVL(Orderdtl.PackageID,0) = 0 
              and NVL(Orderdtl.DrugID,0) = 0;';
        Else  +<--------------first condition+
            Update OrderDtl Set PackageID = 0 , AllocationID = 0 , ConsumptionID = 0 
            Where OrdID in (Select OrdID From Ordermst Where OrdVisitID = vr_visitid)  
            And AllocationID = v_pHCPAllocationID; 
           vr_SQL:= 'Select NVL(ServiceID,0)  ServiceID, +<-------query assignment to a variable+
           OrdQty,NVL(DrugID,0)  DrugID,NVL(ServiceAmount,0)
            Rate,OrdDtlID 
           from Orderdtl inner join ordermst on Orderdtl.OrdID = ordermst.OrdID 
           Where Orderdtl.OrdID in (Select OrdID From Ordermst Where OrdVisitID = vr_visitid  
           and TO_CHAR(ordermst.OrdDate,''DD-MON-YYYY'') 
           Between TO_CHAR(vr_pActivationDate,''DD-MON-YYYY'') 
           and TO_CHAR(vr_pExpiryDate,''DD-MON-YYYY'') 
           ) And NVL(Orderdtl.Cancelled,0) = 0 And NVL(Orderdtl.PackageID,0) = 0;'; 
        end if;
           ord_cur is vr_SQL; +<----------query assigned to a cursor variable+
        ord_rec ord_cur%ROWTYPE;
       if not ord_cur%ISOPEN then
            open ord_cur;
       end if;
        loop
        fetch ord_cur into ord_rec;
        exit when ord_cur%NOTFOUND;So currently we are stuck with this problem.
    Any solution would be of great help..
    thank you

    841363 wrote:
    hello guys,
    we are facing a problem while creating a procedure.
    The procedure has been recreated in ORACLE from SQL SERVER 2005.
    the problem is that in SQL server we can assign a query dynamically to a cursor so that it will be called at execution time.But this is not the case in oracle, i.e in Oracle its not allowed to assign a query to a cursor dynamically(OR IS IT...!!!)The problem is that you are thinking in SQL Server terms and Oracle just isn't SQL Server.
    You need to consider using ref cursors for such things (sys_refcursor) e.g.
    SQL> CREATE OR REPLACE PACKAGE reftest IS
      2    PROCEDURE test(P_no in number, cur_o OUT sys_refcursor);
      3  end;
      4  /
    Package created.
    SQL>
    SQL> CREATE OR REPLACE PACKAGE body reftest as
      2    PROCEDURE test(P_no in number, cur_o OUT sys_refcursor) as
      3      myexc exception;
      4    BEGIN
      5      if P_no = 1 then
      6        open cur_o for select empno, ename from emp;
      7      elsif p_no =2 then
      8        open cur_o for select deptno, dname from dept;
      9      else
    10        RAISE myexc;
    11      END IF;
    12    exception
    13      when myexc then
    14        raise_application_error(20991,'input must be 1 or 2');
    15    end ;
    16  end reftest;
    17  /
    Package body created.
    SQL> var x refcursor;
    SQL> exec reftest.test(1,:x);
    PL/SQL procedure successfully completed.
    SQL> print x;
         EMPNO ENAME
          7369 SMITH
          7499 ALLEN
          7521 WARD
          7566 JONES
          7654 MARTIN
          7698 BLAKE
          7782 CLARK
          7788 SCOTT
          7839 KING
          7844 TURNER
          7876 ADAMS
          7900 JAMES
          7902 FORD
          7934 MILLER
    14 rows selected.
    SQL> exec reftest.test(2,:x);
    PL/SQL procedure successfully completed.
    SQL> print x;
        DEPTNO DNAME
            10 ACCOUNTING
            20 RESEARCH
            30 SALES
            40 OPERATIONS
    SQL>

  • How to find the link between strcture and query technical name

    Hi Guru's
    How to find the link between Strcture in the query and query technical name. In other way where used list of the structure  used in queries?
    I know we have table called RSZELTDIR which have the values of strcuture name. from here i do not find any link to query technical name.
    Please can anyone help me?
    Regards,
    Sirisha

    Hi ,
    For structure and query relationship, the structure has to be a reusable structure( a global one). Then you can right click in on the structure name (in BEX query designer) and select the where used list. You will find all the query names where it is being used.
    U can also check out tables RSRREPDIR and RSZCOMPDIR for other query properties.
    Thanks,
    Amit

  • How to assign a query retrived value to a user defined  object in a table

    how to assign a query retrived value to a user defined  object in a table

    Rajeshwar,
    If you use the "Search" feature in this forum, you should be able to find helpful links to similar questions.  You could also look at the RecordSet and DoQuery documentation in the SAP Business One SDK Help Center documentation to assist you with your question.
    HTH,
    Eddy

  • Use of field "design documents assigned" in material master

    hi,
    kindly help me to use the field "design documents assigned" in material master. whenever i creat material master (MM01) in basic data2 view this field comes with grey/black No Link indicator. how to use this and for what .
    regards
    roshan s.

    Hi Roshan,
    Insted of using this field u can assign Document directly to the Additional Data tab.
    TO attach the document to Material Master go to Additional data ---> Document data, assign Document.
    You can confirm it by pressing F1 key by selecting that Field.
    Regards,
    Dhaval
    Edited by: Dhaval Choksi on Jul 10, 2008 3:26 PM

Maybe you are looking for

  • 3 cfselect with "loading please wait" information

    Hi I have 3 cfselect boxes bind to a component. 2nd select box is depend on the 1st and 3rd is depend on the 2nd. Its taking much time to load the select boxes and before loading all the information user is submitting the page, giving the errors. and

  • Does anybodys iphone 4s get very hot when using devices such as camera?

    The side of my new iphone 4s get so hot on the top corner you cant keep you finger on it when using my camera. I know there is a problem with the battery but mine drops so fast it rarely lasts the day. Is their anything i can do now?

  • What on Earth??? iTunes won't start

    I have installed iTunes on my computer (running XP service pack 2) and get the following error iTunes has encountered a problem and needs to close. We are sorry for the inconvenience Then it doesn't do anything else - just the 'do you want to send a

  • OCA_Abuse exception 6402

    Hi Experts, I am encountering this exception during migration process. Details: Migrating from BO XIR2(Linux) to BO4.1 SP4(Linux). I have changed FRS input and output path on BO4.1 to: Errors: Please advise. Thanks. Regards Yue Seng

  • Beans & EJB - difference?

    What is the difference (if any) between Java Beans and EJB, is the latter a mere extension of the former? I've heard that EJBs dont have much in common with Java Beans. is it so? Thanks in advance