More than one join condition for 2 tables in obiee

Hello,
I am using obiee 11g.
There are 2 tables tableA and tableB where the join condition is like (tableA.col1=tableB.col1) or (tableA.col1 is null and tableB.col1 is null)
where should i do these type of joins.
I tried putting in physcial layer->f(x) but giving error like here only columns an d opertaors are allowed.
Thanks

ok here it goes.
I have a tableA with columns col1(pk),col2 and other columns
I have tableB with columns col1(pk),col2..Only these 2 columns.
Now distinct tableA.col2 values are put in tableB.col2. For those distinct values i have put the tableB.col1 values.
Now tableA.col2 as well as tableB.col2 can be null beacuse there may be null values in tableA.col2.
Now in tableB i have added one more row which has col1 as value and col2 as null.
Now when in physical layer when i do tableA.col2=tableB.col2 i dont get the null values.
What i want is whenever the tableA.col2 and tableB.col2 is null then take tableB.col1 for those vales.
So when i query i do
select * from tableA,tableB where
((tableA.col2=tableB.col2) or (tableA.col2 is null and tableB.col2 is null))
What i want is when i do a join i should be able to give this OR condition in rpd thats it.
because when i do in where clause of content tab it goes like a AND condition and not OR.
Thanks
Edited by: user123 on Jul 5, 2011 1:57 PM

Similar Messages

  • Can we maintain more than one shipping condition for a customer

    Hi,
    Can we maintain more than one shipping condition for a customer

    Hi Raj,
    Yes you can maintain the different shipping condition for one customer but for this that SOLD To Party should have different SHIP to Party also as we mainatin the shipping condition for Ship for the party. In other words you can maintain as many shipping condition equal to the number of ship to party.
    Other way is if that customer is in different sales area then you can maintain the different shipping conditions for that customer in all the different sales area.
    Hope I could make myself clear enough to help you.
    Please reward if its useful.
    Regards,
    Abhi.

  • How to bring the more than one rows from the table into the script

    Hi
    I have to bring more than one rows from the table into the Main windows of the script. so plz help me out.
    Thanks in Advance
    Ananya

    Hi Ananya,
       Bring more than one row into main window of script.
       For this you need to do some changes for data which you pass to main window.At a time you need to pass more than one row,so for this you need to define one structure.See below code.
    Types:begin of ty_rows,
         include structure (your row_structure),
         include structure (your row_sturcture),
    Types:end of ty_rows.
    for example....
    If i need to pass 2 vendor details at a time to main window then the structure should be like this.
    Types:begin of ty_rows,
           vendor1 like lfa1-lifnr,
           vendor1_name like lfa1-name1,
           vendor2 like lfa1-lifnr,
           vendor2_name like lfa1-name1,
          end of ty_rows.
    Data:i_main type standard table of ty_rows,
         wa_main type ty_rows.
    Based on condition you can pass more than one rows of your actual internal table data to i_main internal table.
    Then you can pass i_main internal table to your main window.
        I think this will help you.
    Cheers,
    Bujji

  • More than one Planning plant for a maintenance plant.?

    hi Friends, can we have more than one Planning plant for a maintenance plant.Is there any advantage or disadvantage of this condition.?

    Hi,
         You can have Maintenance Planning Plant & Maintenance Plant in any of the follwing ratios, i.e., 1:1 / 1:n / n:1. Actually in Maintenance, there can be electrical & mechanical maintenance.
              In the case of 1:1 relation, all the maintenance activities (Electrical & Mechanical) will be planned by single Maintenance Planning Plant for single Maintenance Plant.
            In case of 1:n, single maintenance planning plant will do the plaaning of maintenance activities for all the maintenance plants.
          In case of n:1, electrical activity will be planned by one Maintenance planning plant & mechanical activities by another planning plant for a single Maintenance plant.
          Defining Maintenance planning plant & maintenance plant in different relations will help us in generating different kind of reports.
    I am looking forward your reply.
    Regards,
    Maheswaran.

  • Fetching more than one row from a table after selecting one value from the dropdown

    Hi Experts,
    How can we fetch more than one row from a table after selecting one value from the dropdown.
    The scenario is that I have some entries in the dropdown like below
      A               B               C        
    11256          VID          911256  
    11256          VID          811256
    11256          SONY      11256
    The 'B' values are there in the dropdown. I have removed the duplicate entries from the dropdown so now the dropdownlist has only two values.for eg- 'VID' and'SONY'. So now, after selecting 'VID' from the dropdown I should get all the 'C' values. After this the "C' values are to be passed to other methods to fetch some data from other tables.
    Request your help on this.
    Thanks,
    Preeetam Narkhede.

    Hi Preetam!
    I hope I understand your request proberly, since this is more about Java and less about WebDynpro, but if I'm wrong, just follow up on this.
    Supposed you have some collection of your original table data stored in variable "origin". Populate a Hashtable using the values from column "B" (let's assume it's Strings) as keys and an ArrayList of whatever "C" is (let's assume String instances, too) as value (there's a lot of ways to iterate over whatever your datasource is, and since we do not know what your datasource is, maybe you'll have to follow another approach to get b and c vaues,but the principle should remain the same):
    // Declare a private variable for your Data at the appropriate place in your code
    private Hashtable temp = new Hashtable<String, ArrayList<String>>();
    // Then, in the method you use to retrieve backend data and populate the dropdown,
    // populate the Hashtable, too
    Iterator<TableData> a = origin.iterator();
    while (a.hasNext()) {
         TableData current = a.next();
         String b = current.getB();
         String c = current.getC();
         ArrayList<String> values = this.temp.get(b);
         if (values == null) {
              values = new ArrayList<String>();
         values.add(c);
         this.temp.put(b, values);
    So after this, you'll have a Hashtable with the B values als keys and collections of C values of this particular B as value:
    VID --> (911256, 811256)
    SONY --> (11256)
    Use
    temp.keySet()
    to populate your dropdown.
    After the user selects an entry from the dropdown (let's say stored in variable selectedB), you will be able to retrieve the collection of c's from your Hashtable
    // In the metod you handle the selection event with, get the c value collection
    //and use it to select from your other table
    ArrayList<String> selectedCs = this.temp.get(selectedB);
    // now iterate over the selectedCs items and use each of these
    //to continue retrieving whatever data you need...
    for (String oneC : selectedCs) {
         // Select Data from backend using oneC in the where-Clause or whatever...
    Hope that helps
    Michael

  • How can I maintain more than one contact person for a supplier

    Hi
    As per our business requirement , How can I maintain more than one contact person for a single supplier in SRM?
    How these contact persons are supposed to log in to a portal with different user id and passwords and access the bids for same supplier.
    we are in SRM 7, and currently we are creating contact person throug customised BDC.
    please advice.
    Thanks & Regards
    NITIN
    Edited by: nitinkk on Sep 9, 2011 10:22 AM

    Dear Yaniv,
    Thanks for your information,
    I am able to create  users But my problem is How these contact persons are supposed to log in to a portal with different user id and passwords and access the bids for same supplier ? Is there any kind of maping is available for the user/ contact person to the supplier no.??
    Thanks & Regard
    NITIN

  • How can I create more than one printer queue for a printer

    I would like to have more than one "default" setting for my printer.  This is so I can use a 3rd party print utility (fingerprint) to print to a non-airprint printer from my ipad.  The utility prints using the default configuration.  I don't need to get fancy here.  Just "draft B&W' , "normal", and "Color best quality".  If I need something else, I can always email the document to my MacBook.  The utility has something about a virtual printer, but all I could find about that is that it is used for PDF printing and maybe a workflow.
    My technology level:  Used to be a programmer,  after a decade of retirement, I can't even program an applescript today.

    Take a look at this add-on.
    https://addons.mozilla.org/en-US/thunderbird/addon/signature-switch/

  • EJB3 - More than one remote interface for Session Bean?

    Hi,
    Is it possible in EJB3 to have more than one remote interface for a SessionBean?
    I have seen it posetd on here that it is possible but never been able to find any other information.
    Using JBoss as my App Server, I have deployed an App, where a SessionBean is defined as implementing 2 interfaces, both of which are annotated using @remote.
    However when I examine the JBoss JMX Console, Global JNDI Namespace only one remote interface is listed, and indeed it is the first one defined in the SessionBean.
    Considering I use a String similar to (MyApp/MyBean/remote) to do the JNDI lookup, this would indicate that it is not possible to have more than one remote interface.
    1. Is this a JBoss specific limitation?
    2. Is there another way of performing the JNDI lookup?
    Thanks,
    Alan.

    Hi,
    Thanks for prompt response! I tried the suggestion in my application, and the output from JBoss JMX Console was
    +- XXXBean (class: org.jnp.interfaces.NamingContext)
      |   |   +- remote (proxy: $Proxy291 implements No ClassLoaders found for: xxx.xxx.xxx.xxx.xxx.Remote1 (no security manager: RMI class loader disabled))Again only displaying the remote interface that is first in the @remote ({ Remote1.class , Remote2.class}) list. This would lead me to believe that JBoss does not support this.
    Can anyone confirm this?
    Alan.

  • How to have more than one free good for a material ?

    Hi everyone,
    we have this requirement from the user where he wants give more than one free good for a material.
    As far as i know we can configure only one free good for a material in standard SAP.
    if have any idea about how to achieve this please guide me how to configure the same in SAP.
    thank you in advance

    Hi
    Check my two links where I have explained this.
    Free goods using Sale order BOM methodology
    Different business scenarios and Sales BOM techniques for header and item level stock and prices
    Thank$

  • More than one entity found for a single-object find method

    Hi everyone...
    I have this error when my webservice is running..I don't know what it means and what would be the best solution..
    <pns:message>More than one entity found for a single-object find method.</pns:message>
    it throws an Exception..
    Thanks!

    = More than one row found in a DB with the "unique" key supplied...
    Your method is returning an object where it should return a collection ?
    Enjoy

  • More than one outbound interface for the webservice scenario

    Hi Experts,
    Is it possible to have more than one outbound interface for the Webservice synchronous scenario? I have tried it , but I couldn't implement it.
    I would like to have your suggestions.
    Regards
    Sara

    Hey,
    Creation of a wsdl file
    /people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    N:1 seemz he was refering to multimapping scenario.
    <b>Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*</b>

  • How to display more than one column with for each

    Hi guys,
    how to display more than one column with for each like below?
    for each
    Item1
    Item2
    Item3
    Item4
    Item5
    Item6
    Item7
    Item8
    Item9
    Item10
    End for each
    for each          
    Item1     Item2     Item3
    Item4     Item5     Item6
    Item7     Item8     Item9
    Item10          
    End for each

    Take a look at this to see if the solution provided would work for you: https://blogs.oracle.com/xmlpublisher/entry/multi_column_row_woes
    Won't you have more than 10 records in your data file ? If you are going to have only 10 items then you may be able to use position() function to limit it to 3 each..
    Take a look at this: https://blogs.oracle.com/xmlpublisher/entry/turning_rows_into_columns
    Thanks,
    Bipuser

  • Enter more than one personnel number for the same confirmation in CO11N

    More than one labor working on Machine work center simultaneously.
    So that during production orders confirmation in CO11N we need to enter more than one personnel number for the same confirmation but in CO11N the system allow me to enter only one personnel number.
    Note: I can not distinguish between the productions for each labor so that I can not enter separate confirmation for each labor.

    Hi,
    You can use the User Exit: CONFPP07  Single Screen Entry: Inclusion of User-Defined Subscreens
    for this purpose..
    Take help from the ABAPer for this enhancement..
    Regards,
    Siva

  • How to retrive more than one row value from table

    hi,
      I had create one table if i entered value in more than one row, the second row override the first row value and while printing it in flat file i am getting the second value entered twice.
      i created one context for each column.
        plz provide me a solution..........
           very urgent..........
            Regards,
            Kiruthika

    Hi,
    Create seperate element for each row and then set values.
    for(int i=0;i<4;i++)
    IPrivate<view name>.I<node name>Element element = wdContext.node<node name>().create<node name>Element();
    wdContext.node<node name>().addElement(element);
    element.set<Att>();
    to retrive:
    int s=wdContext.node<node name>.size();
    for(int j=0;j<s;J++){
    wdcontext.node<nodename>.getnodeelementAt(j).getAttribute();
    Check this link about tables
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/bad3e990-0201-0010-3985-fa0936d901b4
    Regards,
    Vijayakhanna Raman

  • More than One root in Tree Table

    Hi all
    I am Using Jdev version of 10.1.3 . I am using tree table component .
    I am not able to display more than one root at the same time. It usually displays one root and children underneath it if there are multiple roots it has navigation.
    But i require to display more than one root at the same time without any navigation. If it is not possible in jdev 10.1.3 how can i acheive the result , i am bound to use jdev 10.1.3 and i need to have a table which has parent and child and all the parents to be displayed at same time, Should i try with any custom renderer.
    PleaseAny light on this would be helpful.
    Thanks
    Pavan

    i can select them from different parents that depends on what i want to select Like:
    Admin-Sam
    -Dinda
    Users-David
    -Marylinn
    -Sandra
    for ex: i wana choose Sam , Sandra & David to view thier times and OT on selecting them

Maybe you are looking for

  • Ipod is synced with another library.

    I rarely ever automatically sync my Ipod but decided to sync only one of my many genre's and received a message that my ipod is synced with another itunes and asks the question do I want to erase my ipod and sync with the current computer. Of course

  • Error : Rowkey does not have any primary key attributes

    Hello All, I'm developing an ADF application which has a few ADF forms. The forms have VO's and some tables. On running, I seem to be getting this error <Error> <oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet> <BEA-000000> <ADFv: Rowke

  • How to run the Servlet program?

    hi, all, I am new to servlet, and I want to know how to run the servlet program. I got the TomCat and Java JDK install in my computer, something else I need for create and run the servlet program?

  • How to Logon to Web Dynpro developer studio in real time scenario.

    Hi,      1. How to Login to Web Dynpro developer studio in real time scenario.          Do we have login pad and User id to enter developer studio.          Is the user id for login maintained in UME of J2EE engine.      2.  How to stop and start j2e

  • Need help with Ipod/FM transmitter use in Europe !!!

    HELP! I need to know if I can use my ipod and my Griffin FM Transmitter to listen to tunes and charge the player with a car in Europe (Germany, Italy, etc.) HP   Windows XP