How to select different database columns in a single BO Universe Object

We have 'n' databases. All the databases have identical tables and views but some tables in few database have custom columns.
Ex. 'database1' has table 'sites' with the following columns
1. sitenumber
2. sitename
3. siteaddress
4. phone
5. email
6. ActivatedDate
'database2' has table 'sites' with the following columns
1. sitenumber
2. sitename
3. siteaddress
4. phone
5. email
6. ActivatedDate
7. LocalActivatedDate
The condition says that
"Local Activated date will be used if populated in the system otherwise Activated Date will be used"
How do i create a condition at the universe level which checks whether the column "LocalActivatedDate" is present in the database or not. Also, how to give a condition which select between "ActivatedDate" and "LocalActivatedDate"
A single universe needs to be created for all the databases. Only the Default Database in connection parameter changes during deployment.
Can this be achieved using BO Universe Designer only?
Thanks in Advance,
Arun
Edited by: arunkumars on Dec 2, 2009 10:00 AM

Create a universe with your default connection and then while changing the universe connection you can write an SDK script using universe designer sdk  do a REFRESH STRUCTURE so that all the you will get the schema same as current DB and then you can add predefined condition or object to this universe  (before doing this keep a copy of the universe) .
You have to do a lot of stuff to keep your universe proper and stable to work with all the databases using designer SDK.
Can achieve this but with an overhead of writing and calling SDK scripts again and again . ...
Hope this helps...
Regards
Kunal

Similar Messages

  • Using Labview how can one store different data in different sheets of same excel file, I mean how to select different sheets to store data??

    Hello Everyone,
    I want to store various data but in different sheets of excel file. So how to select Different sheets of same excel file???
    Thanks so much 
    Pallavi 

    aeastet wrote:
    Why do you not want to use Active X?
    One very good reason that I can think of is that MS keeps changing their ActiveX interface with each version of Excel, so code written for one version of Excel using ActiveX may not work for another version of Excel, even though the basic functionality hasn't changed. A perfect example is when MS changed the "Value" property to "Value2". Yeah, that made a whole lot of sense.
    pals wrote:
    I dont want to use active X as i am not
    getting results... by using write to spreadsheet in am getting results
    but on just one sheet... I want different data on different sheets of
    same excel file. So....
    Can anyone help me in this...
    Then it's something you're doing. Please post your code. Have you tried a search on this forum for ActiveX and Excel? There have been tons of posts on it, including lots of examples. There's also the Excel thread.

  • How to select different Querys based on Variable Value

    Hi guys i need to know how to select different Querys, based on variable values selected by the user, i try to do it using a Web Template but i don´t know how to program a Dynamic Query.....
    I hope sombody could help me with this
    Message was edited by: Oscar Diaz

    Hi Diaz,
    Can you explain the exact scenario which you are looking for!!!
    regards
    Happy Tony

  • How to select the "in columns" dimension on export all Command ?

    Hello,
    I'm trying to export data from an V6.5 Essbase database to a 9.2 one.
    The easier and faster way I found is to use the 'Export database all data in Columns' from the 6.5 cube and load the data with a rule file in the 9.2 (The Export database command is MaxL command).
    The Export All Command with the "in columns options", export all data and put one dimensions in columns. Previously, It was always the Time dimension (M01 .... M12). And all worked fine.
    But someone changed the order of the dimensions in the V6.5 Essbase database. And now, there is another dimension (which changes more often) in columns and which have a lot of members (meanwhile my time dimension only have 12 members).
    So do you know how to select the dimensions which is in columns when using the export database all data function ? I do not see any options in Maxl ?? Maybe there is a rule to follow, in the dimensions order ?
    Do you have any idea about it ?
    Thanks for your help
    P.S : I'd prefer to avoid workaround such as using Reports Scripts or Calc Script (there are too slow).

    Why not use Essbase's native export format, bring it over onto your new environment, and reimport? Change to your heart's content on the target.
    Yes, the dimensionality (names, order, members, etc.) will have to be the same, but this approach, not the columnar export, is the fastest and most efficient way.
    Regards,
    Cameron Lackpour

  • How to select a specific column in a bean method?

    Hey everyone,
    I'm trying to select a specific column in my adf table so i can hightlight the ones i can after, with a method bean that does a match from another table. I'm using JDeveloper 12.1.2.0.0.
    Here's my table at the moment (its a static list that Timo and Alejandro helped me create, thanks to them again!):
    <af:table value="#{bindings.Anos1.collectionModel}" var="row"
                                                              rows="#{bindings.Anos1.rangeSize}"
                                                              emptyText="#{bindings.Anos1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                              rowBandingInterval="0" fetchSize="#{bindings.Anos1.rangeSize}"
                                                              filterModel="#{bindings.Anos1Query.queryDescriptor}"
                                                              queryListener="#{bindings.Anos1Query.processQuery}"
                                                              filterVisible="false" varStatus="vs" id="t5"
                                                              styleClass="AFStretchWidth" columnSelection="multiple"
                                                              inlineStyle="max-width:100%;" columnStretching="multiple"
                                                              columnSelectionListener="#{ControlBean.onAnoColumnSelect}"
                                                              disableColumnReordering="true"
                                                              binding="#{ControlBean.dimAnos}">
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2011.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2011"
                                                                   id="c54" width="16%">
                                                            <af:outputText value="#{row.A2011}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2011.tooltip}"
                                                                           id="ot54">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2011.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2012.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2012"
                                                                   id="c55" width="16%">
                                                            <af:outputText value="#{row.A2012}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2012.tooltip}"
                                                                           id="ot55">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2012.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2013.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2013"
                                                                   id="c56" width="16%">
                                                            <af:outputText value="#{row.A2013}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2013.tooltip}"
                                                                           id="ot56">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2013.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                    </af:table>
    I've deleted some of the columns because they are all equal and by doing so, you have less problems in reading it.
    In my method i have a matchEm but i'm trying to select a column by using this line:
            dimAnos.setColumnSelection("A2012");
    dimAnos is the binding for my table Anos (Years in Portuguese). I even tried another values fro the columnSelection but i couldn't make it selected. Am i doing anything wrong?
    Please help me or give me an idea of how can i do this.
    Regards,
    Frederico.

    Hi Frederico,
    The method setColumnSelection is meant to set whether your table supports column selection or not. It doesn't select the column. In order to select the column, you need to set the column attribute Selected to true. So I don't know if its an option for you but you can create a binding to all the columns you have in you bean, and then call the method A2012.setSelected(true), and then add a partial target to the table to re render it and show the selected column.
    Hope this helps

  • How to select even the column names of a table?

    Hello All,
    Is there a way to select even the column names of a table in the select statement?
    My select from a table (say X) is in a SQL* Plus script that gets invoked by application tier and displays data in the application tier window. User's can then copy the data into a spreadsheet and do their processing. However, I need to give them the column names too along with the data.
    Thanks,
    Chiru

    If there is a middle tier that is selecting and
    displaying the data, and that's what the users are
    copying from, the middle tier would have to address
    its presentation of the data to allow users to
    include column names. If this is a common task, the
    application should probably be modified to give users
    the option of downloading the data in a spreadsheet
    directly rather than forcing them to copy and paste
    data.Thanks for the reply.
    The users don't have to copy paste. The application tier has an options in the "Tools" menu item which allows them to copy the entire output to a file (in my case a txt file which is a pipe delimited). Then they have to do text to columns to get the data into each column of the spreadsheet. I could have directly called the stored procedures from the application tier and created ".csv" files and FTP'd them to the user's folders. However, I am having to go this round about because, I am not getting enough support from the LAN team in FTP'ing etc.
    OK I'll think of another workaround.
    Thanks,
    Chiru

  • How to select different parts of the text? cmd button no longer does that...

    After installing Maverics i can no longer propertly edit my work as I cannot mark different parts of text using cmd button. Shift works as before for highlighting all the text from starting point to selected point but I can no longer use cmd to highlight different areas of the text. Is this an OS bug? Or was the button for selecting different parts of the text changed? I tried everything...

    It's just a small part of what makes Pages 5 so "stunning" (Apple's word). You think stripping out the nifty ability to mark non-contiguous passages of text was neat? Sure that was nice. But Apple has gotten rid of more, so much more. And for free!
    Just wait till you put the product through its paces and you discover other nice features that are missing, such as (but not limited to):
    - no linking of text boxes!  Yes, that's right. Now a newsletter that had a "continued on page 6" or whatever will be broken by Pages 5. Stunning! (Even more stunning, Pages 5 will strip out all sorts of formatting from documents created with Pages 4.3 and it will do ao without warning and will save the document in a NEW unified file format so that it cannot be opened by Pages 4.3, thereby potentially losing users hours and hours of work. Stunning!
    There's more!
    - Pages 5 has no mail merge, no bookmarks, no images in headers/footers! Pages 4.3 has those features, but this stunning new release removes them.
    - Pages 5 features vastly reduced and simplified set of templates (there used to be about 130 Apple-cupplied templates, now there are about 60).
    - Page 5 also boasts NO RTF SUPPORT, so a paper your wrote with Apple's own TextEdit is not natively readable with Pages: Stunning!
    - No detail was too small to omit in this stunning new release: the vertical ruler, so you can easily place text or an obejct at a certain place in a document: gone! Setting the default zoom: gone!  Status bar reproting word count and pagecount (e.g., Page 4 of 48): Gone! View comments in the left side bar: Gone!  Autocapitalization: Gone! Search & Replace: drastically simplified!
    But here's the really good news: Pages 5 is just PERFECT for creating a one page-poster advertising a new concert by Apple employee Eddie Cue. What's more you can collaborate on it with someone else, even if they're using a PC. Now that's "stunning"!

  • How to integrate different database in SAP B1 into unique DB?

    Hello,
    In our landscape, we've SAP B1 System and we also build SAP BW on Hana reports using B1 as a source system.
    Currently, in SAP B1 system, we don't have unique database.  Rather, we have distinct database for different Sales Offices.  At present, we have 15 Sales Office and hence, we've 15 databases.
    If we make any changes on a single database table, we've to replicate it to each and every database manually.
    Hence it's difficult to solve if there occurs an issue on it's dependent system, as we've to check each and every database manually.
    Is there a possibility of integrating all these databases into a single(unique) database?  If so, how effectively & efficiently we do it?  Please suggest.
    As understood, using B1iF we can consider all the 15 DB as child and create one parent DB and integrate all the child with parent.  Can you help me on how can we achieve this?  How can we safeguard all the dependent applications if we do the same?
    I would appreciate if you can consider my discussion & help me in this regard.
    Regards,
    Antony Jerald.

    Hello,
    Can any one help me on this query in the discussion?
    Please suggest.
    Regards,
    Antony Jerald.

  • How to select rows or columns of tables without using the mouse?

    2nd post ever! Yeah! \m/
    In Excel, I can select entire rows or columns of data WITHIN TABLES--i.e., not selecting entire sheet rows or columns--by going to any cell on the perimeter of the table, holding down shift+ctrl, and clicking a direction arrow. So for example, if I have a table in columns D-G and rows 1-5, I can highlight row 4 by going to the first or last cell of that row, holding down the shift+ctrl, and hitting the appropriate direction arrow. You might think this is superfluous given that you can use the mouse to select cells. But that becomes cumbersome with large tables, and this method can be more efficient even with small tables.
    Similarly, it's often useful to navigate tables, particularly large ones, by moving from any cell within the table to the end or beginning of that row or column by holding down ctrl and hitting the appropriate arrow key. In Excel, this ctrl+arrow key method also allows you to skip blank cells, which is another very useful navigational feature.
    I tried numerous combos involving shift, ctrl, command, alt/option and the arrow keys. Haven't found a way to do any of this yet.
    Anyone?

    Hi Josh,
    Numbers is organized differently than Excel, and the navigation tools are different too. Many of us miss our particular favorites from spreadsheets past, but this is Numbers, not a clone. The biggest adjustment is to go from huge monolithic sheet-tables containing virtual sub-tables to a simple blank sheet with small tables, sometimes many per sheet. Navigating is no big deal in these small tables and neither is getting from one small table to another, using the Sheets pane.
    Selecting a particular Table is as easy as clicking on the table's name in the Sheets pane. Selecting a particular row, or column, or ranges of rows or columns is done by clicking on the table's row and column labels, left side and top side once a cell is selected in the table.
    Numbers is weak at handling large Tables and documents that are large overall. We know this and many of us still prefer it to the alternative when the tool fits the task.
    Jerry

  • How to set different row - column visibility attribute

    Hi all:
       I have one table in webdynpro for java. For example it have 4 rows, I need to set one column as different visible for row 1st and row 2nd .
               column1   column2
    row1      x               -
    row2      -               x
    Can I set it ?
    Thanks a lot.

    ya sure, u can
    make a visibility element and assign it to the tablecelleditor of each column of ur table. Now in the code, u must have bound the table to a node,  make the visibility element in the same node. Whichever row u want to make invisible, write the following code:
    wdcontext.node<nodename>.get<node name>elementat(<the row which u wish to make invisible>).set<visibility context>(wdvisibility.NONE);
    it will work.
    Let me know if u need further help....
    All The Best!!!
    Regards
    Gita

  • How to select for Database Setup via Data Mover

    install PT849+HRMS89 with MUL on REH 5.4 x64+Weblogic92+Tuxedo 91+Oracle 10g
    after database instance installation manually, need to use Data Mover to import *.db file into database from windows client server.
    in this step, any one can advice the setup for DEMO and SYSTEM type.
    See the screen https://docs.google.com/file/d/0B50TDBQBIUW7NUZyLUpJY01zcVU/edit
    PeopleTools System DataBase-->ptengs.db
    PeopleSoft HRCS Database - Simplified Chinese --> hczhsa.db
    PeopleSoft HRCS Database - English--> hcengs.db
    if Demo selected, hcengl.db is involved, but no ptengs.db
    I have tried:
    1. select SYSTEM and PeopleTools Database, then import ptengs.db, Then hcengs.db and hczhsa.db.
    2. Only import hcengs.db and hczhsa.db
    But both are failed for there exists many database record error in the subsequent step.
    Thank you very much.
    Andy

    The second option is the correct one, but if you already ran the 1st, then it will fail. Better to recreate the db from scratch and directly go for the 2nd option.
    Nicolas.

  • Have 2 Printers, How to select different one as default?

    Hi there,
    Our office has two printers, an HP officejet 8600 and an HP officejet 7500 E910. My colleague and I originally only had the driver software for the 8600, and are both connected wirelessly to both printers. In order to print A3 size paper, we downloaded the driver software for the 7500. Now both of our computers automatically use the 7500 printer as the default. This is no good because it is our bosses printer, which is often in a locked office and we don't want to waste the ink or paper if we can't access it etc. etc and aren't thinking to select the 8600 printer.
    So my question is, how can we make our computers automatically select the 8600 as our default printer?
    Thanks
    R
    This question was solved.
    View Solution.

    What operating system?  In Windows 7 you would click Start, Devices and Printers, right click on the Officejet Pro 8600 and select "Set as default printer".  Other Windows operaing systems would be similar, I do not know about Mac.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How to select different GPIB device through teststand

    I couldn't find answer here, maybe it is too simple...
    two GPIB 1 and 5
    how to difine #1 using VISA source name at "Edit LabVIEW VI Call
    Attachments:
    STEP.JPG ‏42 KB

    thanks, but it said error
    TS 3.0 LV 7.0
    Attachments:
    Call Labview test 1_E3646.seq ‏29 KB
    VISA_AGILENT_3646A_step.vi ‏44 KB

  • How to select different audio track on ipad video

    I have quite a few movies that I'm planning to convert them into mp4 format and download them to my ipad 2.
    However many of these movies have 2 audio tracks, the first (default) one are in another language, whereas the second one is in English, is there any way which I can make English the default one or are there any programs which i can use to convert and it will choose the second audio track so when I watch my movies on my ipad I can hear English???

    Hi Diaz,
    Can you explain the exact scenario which you are looking for!!!
    regards
    Happy Tony

  • How to handle multiple database tables in a single UIX page?

    Hi,
    I am new to UIX & BC4J. I have to handle data from four different tables in the database. The scenario is as follows:
    The tables are
    1. user
    fields are: userid number, name varchar2
    2. business
    fields are: businessId number, name varchar2
    3. service
    fields are: serviceId number, serviceName varchar2
    4. userBusiness
    userid,businessid (both are foreign keys) & form complex primary keys.
    and userid,businessid, serviceId are primary keys.
    Now my problem is: to create a webpage where
    1. The userid is available in the httpSession Variable as string.
    2. according to the userId stored in the session variable I have to retrieve the business names and show them in a choice i.e., pull down box.
    3. I have to show the services provided by the business for the business name selected in the combo box.
    Could anyone Please help me solve this problem? Could you please give me hints? I have truncated the other fields in the tables.
    Thanking you,
    Velpandian .S

    At the moment, you can't do it declaratively. You have to do it in an event handler. Assuming you have the userid setup as a query parameter in the view object, something like this should get you started:
    public EventResult handleEvent(
    BajaContext context, Page page, PageEvent event) throws Throwable
    HttpSession session = context.getServletRequest().getSession(true);
    ViewObject view = ServletBindingUtils.getViewObject(context);
    String userid = session.getAttribute("userid");
    view.setWhereClauseParam(0, userid);
    view.executeQuery();

Maybe you are looking for

  • Memory upgrade failed -satellite P205

    Satellite P205-S6287 has 2 GB RAM and specs say two slots and should support 4 GB max. I installed new RAM and laptop turns on very briefly, no screen, just power on light and a disk rumble for 1-2 seconds then nothing else with both RAM slots loaded

  • How to connect my stack to my wireless access router(with hard connection ports)

    Ok, here is the story. I have my cisco stack of routers and switches in my living room and my fiancee is getting on my case to move it. I can not go downstairs since she keeps the temp in the house at 58 degrees upstairs so I want a way to connect my

  • RFC Destination contains errors

    Hello, I am doing a IDOC - File scenario. for XI : RFC  : R3RFC Port  : R3PORT LS    : XICLNT010 for  R3 : LS   : CLNT090 RFC : XICLNT100 Port : XI100 When the IDOC was sent, its showing up in green color but when I go to SM58, I see the error messag

  • Custom component: porting from lc 8.0 to lc 8.2

    hello i developed a java pojo custom component for lc 8.0, essentially it connected to a db and returned a complex object. Now the environment has been upgraded to lc 8.2 . I've loaded my processes (which include my custom component) on the new envir

  • Thumbnail problems in Internet Explorer

    I have created a website that includes Photo pages. I actually think this page is one of iWeb's weak points design wise and is a bit ugly but I guess I have to live with it. So to tidy it up a bit I put a patch of background colour over the thumbnail