BMM - Decision criteria on how to define LTS for a multi-source object

I am curious to know what others use as their decision criteria when determining how to setup a BMM logical table that has multiple sources that map to multiple columns in the logical table.
For example,
If you have defined logical table Dim - Customer in the BMM that has 4 fields:
Dim - Customer
Customer Id
Customer Name
Customer Address
Customer Phone
The sources for this logical table from the physical layer are:
CUSTOMER (all customers exist here)
CUSTOMER_ADDRESS (A customer may or may not have an address, but can have only one address to simplify this conversation)
CUSTOMER_PHONE (A customer may or may not have a phone, but can have only one phone to simplify this conversation)
Field Mappings from Logical Table to Physical Table are:
Dim - Customer
Customer Id - CUSTOMER
Customer Name - CUSTOMER
Customer Address - CUSTOMER_ADDRESS
Customer Phone - CUSTOMER_PHONE
How would you setup the logical table and LTS's for this object in the BMM knowing the following requirements?:
1. The Address and Phone tables should only be joined in when fields from those tables are used in a report/query.
2. Since a customer may or may not have an address or phone, the BMM table needs to be setup such that adding those fields into a query will not filter all customers that dont have data for those fields, i.e. display null if it does not exist.
My initial approach for resolving this would be to set it up as follows:
A single Logical Table Source: LTS_CUSTOMER
Three Tables added to the LTS:
CUSTOMER, CUSTOMER_ADDRESS, CUSTOMER_PHONE
Two joins defined for the three tables:
CUSTOMER - CUSTOMER_ADDRESS (LEFT OUTER JOIN)
CUSTOMER - CUSTOMER_PHONE (LEFT OUTER JOIN)
Issues/Questions:
- The problem I have run into is that any query that uses Customer Id or Customer Name still causes a join to the CUSTOMER_ADDRESS and CUSTOMER_PHONE table even though I didn't use a field from those tables. I assume this is because OBIEE things that any query to that Logical Table using that LTS has to query it as the LTS is defined (so all three tables are joined in)
- Is there a way around this? If so, is it to specify separate LTS tables for the Logical Table Dim - Customer? If you do this, then there is no way to specify a LEFT OUTER JOIN and the query will just default to what is specified in the Physical Layer as an inner join.
- Curious as to what peoples thoughts are in general for how to decide whether to specifiy multiple sources in a single LTS or just add multiple sources to the Logical Table and the decision criteria for going either way.
Thanks in advance.
K
Edited by: user_K on Jun 3, 2010 11:09 AM
Edited by: user_K on Jun 3, 2010 11:10 AM

Thanks a lot for the example, that fixed the problem.
I've been reading the NSAPI programmers guide several times now and I was under the impression that you should either use <object> or <client>, never thought about this approach. Now when I re-read it is makes sense, but wasn't very clear at first.
I think I'll e-mail Sun to suggest an addition of the <Object> tag in their <Client> tag example (http://docs.sun.com/source/817-6252/npgobjcn.html#wp1045056) to make things a little more clear.
Thanks again, now I can finally implement the final configuration settings and plan for the actual switch later this evening.

Similar Messages

  • How to define variable for value range in Bex Query?

    Hi
    How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
    Example: On runtime user select one of the following condition:
    1)User want to those records where amount is greater than $1000
    2)User want to those records where amount is greater than $1000 and less than $5000
    3)User want to those records where amount is greater than and equal to $1000

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • How to define roles for the reports that i have created using WAD?

    Hi all,
    Can anyone let me know how to define roles for the reports generated using WAD. And what is the procedure for creating and defining roles. Is this process take care of Bw consultant nor the basis guys.
    Can anyone let me know the entire procedure about the roles in bw 3.5
    thanxs
    haritha

    Following links might helps you
    create a role
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/authorizationinSAPNWBI&

  • How to define job for V_V2

    Can anybody tell step by step "how to define job for V_V2"?
    Thanks in advance for the answers.....

    BElow there exist a good document:
    http://www.scribd.com/doc/39230554/Background-Job-Scheduling-in-SAP#source:facebook

  • How to define Discounts for Salesman?

    Hi all,
    How to define Discounts for the Salesman in either the Receivables or Order Mgt Module?
    Rgds

    Hi,
    Please try this:
    Define discount account in Financial Options
    In Payable Options > Payment Tab, uncheck the Check box: "Exclude Tax from Discount Calculation"
    In Payable Options > Invoice Tax Tab, check following Check boxes: "Use Automatic Tax Calculation", "Calculation Level Line", "Allow Calculation Level Override".
    In Payable Options > Withholding Tax Tab, check following Check boxes: "Use Withholding Tax", "Allow Manual Withholding", "Include Discount Amount", "At Invoice Validation Time", "Never"
    At supplier site level in Payment Tab, use the Payment Terms as create in step 1:
    Term Date Basis - Invoice,
    Pay Date Basis - Discount, and
    Check the Check Box - Always Take Discount.
    At supplier site level in Invoice Tax Tab, use the Tax code as created in step 2:
    Calculation level - Line,
    Check Allow Calculation Level Override,
    Rounding Rule - Nearest, and
    Uncheck - Distribution Amount Include Tax.
    Thanks,
    Shikha

  • How 2 define alias for WD Component / Application

    Hi all,
    There are methods in IWDDeployableObject to get WD Component / Application (WDDeploableObjectPart) by alias.
    But how to define alias for them? Where should definition be placed and what is the format? Could anyone share working example or point to related documentation?
    VS

    Noufal & Bharathwaj,
    Probably there is a confusion here: HTTP aliases are related only to corresponding service, and affects how URL is composed / interpreted.
    On other hand, aliases I mentioned are related to  deployment service (in this case: lookup deployable object part by alias). By the way, they cover both WD applications and <b>components</b> (probably component interfaces and more).
    Valery Silaev
    EPAM Systems
    http://www.netweaverteam.com/

  • Please help me how to define step by step multi level a hierarchy in BW?

    Hi expert.
    Please help me how to define step by step multi level a hierarchy in BW?
    HieuLM
    Edited by: hieulm_VietNam on Oct 11, 2011 11:21 AM

    Hi all,
    I want to create a Hierarchy base on Product hierarchy attribute in 0Material characteristic.
    I want 4 level :
    1. SBU
    2. BRAND
    3. SUBBRAND
    4. Material Number
    In Product hierarchy I have a string store 4 level like 01.001.0001
    Ex :
    01 : is BUNS (SBU)
    001 : is ALOHA (BRAND)
    0001 : is FRESH (SUBBRAND )
    Please help me how to capture this information like that, I want to drill down by level examble drill down from SBU to BRAND,...
    Thanks
    HieuLM

  • How to define ranges for a keyfigure

    Hi Frnds,
    I have two keyfigures for employee experience. One for present company experience and the second for previouse experience. And I have created a calculated keyfigure for calculating the total employee experience by adding the those two keyfigures.
    Here I want to design a query using the range values for that calculated keyfiger values. And for that range i want to display count i.e the no. of employees.
    for eg:
    range   | TotalYrsof exp
    <1       |  10
    1-2      |  20
    3-5      |  30
    6-10    |   40
    So anybody pls help me in this problem.
    Here How can I define ranges for that calculated keyfigure?
    Is there any other way to define ranges?
    Thanks in advance,
    Sridhar

    Hi,
    Create a Cal.Keyfigure on Total Exp. and use that for another cal keyfigure
    Example for  <1
    Total Exp <1
    for 1-2
    Total Exp >=1 AND Total Exp <=2
    for 3-5
    Total Exp >=3 AND Total Exp <=5
    and so on...
    Thanks,

  • How to define validity for RA key

    Hi
    I want to define validity for RA key. This is available in OKG3 under Edit tab.  However, the functionality of "Define Validity" is inactive.
    How can we activate the same?
    Regards,
    Vijay

    Hi,
    I think Michael is asking how you would define the Filter in the Coherence Console not in Java code.
    In the Console you prefix the method name for the filter with an exclamation mark.
    In your example you see this
    Map (jk):  filter f Equals getUserId 'Master'...when you press enter you see the toString of the Filter...
    EqualsFilter(.getUserId(), Master)Using an exclamation mark you get a Key Filter like this
    Map (jk): filter f Equals !getUserId 'Master'...when you press enter you see the toString of the Filter...
    EqualsFilter(KeyExtractor(extractor=.getUserId()), Master)...which you can see has a KeyExtractor.
    JK

  • How to defining mimetypes for project?

    Which is the way to define mimetypes for a project?

    Stephen,
    Now I know that setting this signal is not possible for this resource.
    But I always thought that the less threads in process are the less CPU consumption is, which means that not all cpu-shares are used?
    So if I have the case that application server has a control loop which
    is responsible for finding the optimal size of thread pool, then it can rely on SIGXRES which indicates that cpu-shares threshold is exeeded and size of thread pool shouldn't be increased.
    Anyway if signals are not supported threre is a possibility to analyze syslog messages which for me is unconfortable.
    I appreciate your help!
    marcin

  • Custome Defined Pacakge for transporting the BW Objects

    hai
    Im going to transport the BW-Objects from the development server to QA server.
    I need to 'Custome Defined Package(ZBW)' for this one . So how can i create the Custome Package for transportating the BW objects.
    pls tell me , i will assign the points
    kumar

    Transaction SE80
    Select development class and create.
    Jaya

  • How to do mosaic for different two georaster object?

    I have done mosaic for single georaster object, But I can't do it for different two georaster object. Oracle returned the error: ORA-13419.
    My PL/SQL code is:
    DECLARE
    gr sdo_georaster;
    BEGIN
    INSERT INTO georaster_table (georid, georaster) VALUES (1, sdo_geor.init('rdt_1')) RETURNING georaster INTO gr;
    sdo_geor.mosaic('city_images', 'image', gr, null);
    UPDATE georaster_table SET georaster=gr WHERE georid=1;
    END;
    There are two rows in city_images.I want to know how to set these data?

    Will,
    in general, all the images should be georeferenced. otherwise it would not make too much sense to do mosaic. so, you might want to load real image data from either georeferenced GeoTIFF files or TIFF plus TFW files.
    but GeoRaster doesn't require the images must be georeferenced. In GeoRaster, any image can have a different ULT coordinate, which doesn't have to be (0,0). This is a special feature of GeoRaster, in considering most formats always treat the upper-left corner pixel of an image as the origin (0,0) only. So in the cell space, non-georeferenced images can be co-located in different areas and so they can be mosaicked as well. specifically, you loaded two GIF files. their current ULT coordinates in georaster must be (0,0). If you setup the UTL coordinates of them differently and properly, then you shall be able to do the mosaicking. the functions you can use are getULTCoordinate and setULTCoordinate.
    hope this helps
    Jeffrey

  • How to create infostructure for my own archiving object?

    We created our own archiving objects.
    Could you help tell how to create infostructure for each of them?
    Any info would be appreciated.

    Hi,
    Infostructure creation:
    1. Create Field Catalog
    2. Create Infostructure and assign Field catalog created
    3. Activate Infostructure
    4. Fill Infostructure
    >> Retrieve archived data
    Path to create Field Catalog:
    Goto SARI >> Customizing >> Environment >> Create Filed catalog
    Note: 1. During creation of Field catalog make use of field name from SE11 transaction.
    2. Target field and Reference filed should be same and Source table from which you are considering the filed name
    3. Key filed name should be Indicated
    Path to create Infostructure
    Goto SARI >> Customizing >> Environment >> Create Infostructure
    Assign Archiving object for which this infostructure is created and assign filed catalog
    Activate it.
    Path to Fill structure
    Goto SARI >> Status >> Select Archiving object and consider option Fill per Infostructure
    In Archiving explorer you can retrieve archiving data.
    -Thanks,
    Ajay

  • How to define endpoint for SessionBeans webservice in OC4J 10.1.3.1?

    Hi Gurus,
    I am trying to find solution for defining endpoint in HTTP/SOAP webservice created from SessionBeans based on annotations JSR-181. My problem is that I have cluster of J2EE nodes where my webservice is deployed and each node has its own hostname. when I access WSDL file from particular node I see that endpoint definition is pointing directly to its hostname. For example:
    <service name="CreditService">
    <port name="ValidateCreditCardServiceSoapHttp" binding="tns:ValidateCreditCardSoapHttp">
    <soap:address location="http://node1.site.com:7777/CreditService"/>
    </port>
    </service>
    But this is unwanted behavior, because I am loadbalancing my nodes by HW loadbalancer and I'd like to have this endpoint to pointing to my HW loadbalancer. Like this:
    <service name="CreditService">
    <port name="ValidateCreditCardServiceSoapHttp" binding="tns:ValidateCreditCardSoapHttp">
    <soap:address location="http://hwloadbalancer.hostname/CreditService"/>
    </port>
    </service>
    In normal WebService project I could force this endpoint definition in oracle-webservice.xml by adding this tag to it:
    <oracle-webservices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oracle-webservices-10_0.xsd">
    <web-site host="hwloadbalancer.hostname" port="80" />
    But it SessionBeans webmethods I can't do it because I don't have oracle-webservice.xml file. I have just this java file where I specified by annotations webmethods:
    package org.soademo.customerservice.business;
    import java.rmi.RemoteException;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import org.soademo.customerservice.persistence.Customer;
    @WebService(serviceName = "CustomerSvc",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    public interface CustomerService {
    @WebMethod
    Customer findCustomerById(
    @WebParam(name = "custid",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String custid) throws RemoteException;
    @WebMethod
    Customer findCustomerByEmail(
    @WebParam(name = "email",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String email,
    @WebParam(name = "password",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String password);
    @WebMethod
    String getCustomerStatus(
    @WebParam(name = "CustomerID",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String CustomerID);
    @WebMethod
    String addNewCustomer(
    @WebParam(name = "customer",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    Customer customer);
    Do you have any idea how to do it?
    Any advice is welcomed.
    Thanks
    Peter

    Hello Peter,
    The version of JSR181 (WS Annotations) we have implemented does not provide such feature.
    So Oracle has implemented a proprietary annotation to control the endpoint (context) generation, this is the @Deployment annotation that is documented here
    Regards
    Tugdual Grall

  • How to define routes for freight cost calculation

    Hi,
    in our company we plan to use LE-TRA Transport with Freight costs calculation. To use Transport it is a must to maintain routes in all sales orders/deliveries. Currently we do not use it and now we have the challenge to define routes and later due to freight costs calculation Stages. There are different solutions for routes. In some other companys we have only routes dependent on the Transit duration, but that's all. They don't use stages and they don't use freight cost calculation in SAP.
    As I know routes should describe geographical locations (The way location A till location B). Based on the route we have a defined stage with a distance, shipping type.... That would mean for a company:  They need to analyse all delivery channels with different forwarding agents and so on. Is that possible when the forwarding agent is responsible for scheduling? That means for a company with customer around the world thousands of routes?
    Alternatively it is possible to create stages in the transport documents. Is that more recommendable? It would be nice, when someone could post his experience with that topic.
    Thank you,
    Raphael

    Hi Luis,
    thank you for the response. My problem is not the technical view. I know how to create the routes and what kind of information I need. The problem is to unterstand how this concept can operate in practise in a company with many different customer.
    The following site describes the concept of routes in SAP:
    http://blog.tkreddy.com/2010/09/17/understanding-the-concept-of-routes-le-shp-in-sap-ecc-6-0/
    A company with many delivery plants and customer around the world needs to forward all delivery channels they have to us, A route describes an area and includes stages with location A and B. The stages are assigned to a forwarding agend. Based on that information I can start a freigt cost calculation. The structure of stages and routes also depends on the situation how many different forwarding agents are involved in a delivery process.
    In my opinion it is really a big effort to find a reliable solution for the amount of routes and stages. I am thinking about to use the solution to create the stage manually in the transport document and to use the routes to describe the transit time.
    Raphael

Maybe you are looking for