Unique list of objects in the universe

Dear All,
I would like to create common objects for 3 tables which has same columns.
for example:  we have 3 transaction tables, which has the data archived yearly basis.
1. transaction-2008
2. transaction-2009
3. transaction-2010
All the columns in the above tables are same.  I need to create the objects using these three tables.
Is there any way to build the common objects using all the three tables, based on some criteria the tables in query will change automatically.
If I create object set for each table then objects will be repeated.  I dont want to create like that.
Regards,
Sadiq.

Dear Gowtham,
Thanks for your solution.
I already applied the Agg.Aware function.  We have a Transaction ID column, which has different data type (Char, number).  I used this object for Agg.Aware.  As you suggested, I created three classes 2008,2009,2010, in each class I placed this object with respective table defination.
Ex:
Class    Select in Object
2008     2008.Transaction_ID
2009     2009.Transaction_ID
2010     2010.Transaction_ID
Created the objects using agg_aware function for all the rest of the objects except the Transaction_ID.
This works fine for me.
Sorry, I did not update the thread.  I was a bit busy in my work.
Thanks for your valuble suggestions.
Regards,
Sadiq.

Similar Messages

  • Changing an Object in the Universe - does this auto show in the document??

    Hello
    I have to make some changes to some Dimension and Detail objects in my Universe as some of the underlying data is changing and so case statements that I have in my objects will need to change. For example, say I have an object called "Colour Description" then:
    CASE WHEN code = 1 THEN red END
    will now change to
    CASE WHEN code = 1 THEN blue END
    My question is, will this change in the code of the object automatically filter through to every document that the object is used in or will i have to go through every document that uses it to make sure the change has been made to the SQL.
    Thanks in advance.
    Julian

    Once you have exported the universe, it will change the object for each report that does not have the "Do Not Generate SQL" option checked the next time that you log on and run it - literally the next time that report interacts with the CMS and find out its universe has changed, it will update the SQL. As long as you're not changing data types, you will be fine.

  • How to get fill in the description of the objects in the universe on BW

    Hi,
    I would like to know if there is a way to inherit the description field from  every characteristics and attributes to the desciption field in the universe ?
    Let me know
    thank you
    Philippe

    when you are within a universe in the designer module you have for example the object
    L01 Plant . that comes from the characterisitc Plant .  ( in the universe it is a dimension object)
    if you go in the universe to the properties of the object, you will find out that you have 3 fields:
    1 - description field: limited i believe to 255 characters and where you would put a business description
    2 - Select Clause: where you put for example [0PLANT].[LEVEL01]
    3 - Where Clause: which we do not use in our case
    I am interested in getting the business description from BEX or any other BW tool .
    it that something we could do
    as a side notes, when going against an RDBMS database we do have a way , i believe by changing the external strategy in the universe to retrieve the comment field of a table and to put it in the description field.
    I was wondering if there is a similar feature when going against BW
    Please let me know if this is not clearer .. i wish i could attached a pic ..
    Thank you
    Philippe

  • It will not parse! Creating a new object in the universe

    Hi, we have a universe and BO reports. They work fine for our clients. We are on BO XI r3.1. Now, one client captures an additional piece of info. They would like to report against this and add it high up on our drilling heirarchy. "Sure, no problem". For the following I was logged in as administrator.
    The additional data field is a 3 character code.
    1) We added an additional column to the actual database table.
    2) In Universe Designer, I refreshed universe structure and could see the additional column
    3) Created an object 'Acode' that refers to db.new_field
    4) Exported universe
    Maybe worth mentioning that I can see this object and use it in reports fine in Infoview.
    Now, I need to create a new object that will be one of 2 strings based on the 3 character code (Acode) i.e. the 'Atype' can be X or Y.
    Here's my code and it just will not parse:
    CASE
    WHEN @Select(AFolder\Acode) = 'CEL'
    THEN 'X'
    ELSE u2018Yu2019
    END
    Error I get is:
    Parse failed:Eception:DBD ODBC SQL Server driverStatement could not be prepared.State 42000
    I'd appreciate any help, believe me I have searched the forums!
    Thanks, Eddie

    Look at following SAP NOtes.
    1373739
    1184304
    Regards,
    Bashir Awan

  • Need to find out the list of objects under a Transport

    Hi ,
    My requriement is to programatically find the list of objects under the Transport.
    I tried using the table E071 but no luck is there any FM or table which gives me the list of objects assigned to the transport request
    Regards,
    kk

    TYPES: BEGIN OF ty_tasks,
            trkorr TYPE trkorr,
            trstatus TYPE trstatus,
            strkorr TYPE strkorr,
            as4user  TYPE tr_as4user,
           END OF ty_tasks,
           BEGIN OF ty_object,
            trkorr TYPE trkorr,
            as4pos TYPE ddposition,
            pgmid TYPE pgmid,
            object TYPE trobjtype,
            obj_name TYPE TROBJ_NAME,
            lang TYPE spras,
           END OF ty_object,
    SELECT-OPTIONS : so_trans FOR e070-trkorr
    *selection from table e070.
      SELECT trkorr
             trstatus
             strkorr
             as4user
             FROM e070 INTO TABLE it_tasks
             WHERE strkorr IN so_trans or
                   trkorr in so_trans.
    IF SY-SUBRC = 0.
    *selection from table e071 to get all the objects
    *under the respective task/request.
    data: g_trans type e070-trkorr,
          g_strkorr type e070-strkorr.
      SELECT trkorr
             as4pos
             pgmid
             object
             obj_name
             lang FROM e071 INTO TABLE it_object
             FOR ALL ENTRIES IN it_tasks
             WHERE trkorr = it_tasks-strkorr.
    hope it might be helpfull.
    regards ,
    aby

  • Error "The Query Returned no Objects" while exporting Universe in UDT?

    Hi,
    I have created a Universe on top of BEx Query using UDT in SAP BO 4.1 and tried to Export the Universe to Repository the following error is appearing.
    "The Query Returned no Objects" so "The Universe couldn't be exported".
    Could you please suggest me what could be the issue and how to resolve this.
    Thanks & Regards,
    Ramana,
    +91 8008665199.

    What version of Oracle 9i are you using? Do you have a standard 'NLS_LANG' environment variable set on client's machines? Or do you set it to different values on different machines?
    Here is one of way you could get around it.
    Could you specify the export parameter 'STATISTICS=NONE' while exporting the table data?
    Try this and see.
    If this is successful, you could use the import utility as usual. You could always compute or estimate statistics on the table after import.

  • How to get the universe metadata information (class , tables...)  through JSP coding ?

    Hi,
         I am new to BO. I am developing tool which will extract the metadat information of report and universe using JSP (java ) in BO XI R2 . My problem is how to get universe metadata ? i listed the universe name by quering the CI_APPOBJECTS table. i couldn't get other information (Class and objects in the universe ).. I need the advice or idea or code to complete work... Please help to resolve my problem..
    Thanks Advance

    There's three ways to get the Universe Class/Object info:
    1. Use the Universe Designer SDK.  This is COM-based, so you'd write VBScript, VBA or VB6 code.
    2. Use the ReportEngine Java (REBean) API.  Programmatically create a Web Intelligence document, specify the Universe as DataProvider, then get the DataSource, which holds the Classes/Objects hierarchy.
    3. Use the QueryService Service in the BusinessObjects Web Service (via Java or .NET Consumer API) to do something similar to 2.
    Sincerely,
    Ted Ueda

  • Best Practice for caching global list of objects

    Here's my situation, (I'm guessing this is mostly a question about cache synchronization):
    I have a database with several tables that contain between 10-50 rows of information. The values in these tables CAN be added/edited/deleted, but this happens VERY RARELY. I have to retrieve a list of these objects VERY FREQUENTLY (sometimes all, sometimes with a simple filter) throughout the application.
    What I would like to do is to load these up at startup time and then only query the cache from then on out, managing the cache manually when necessary.
    My questions are:
    What's the best way to guarantee that I can load a list of objects into the cache and always have them there?
    In the above scenario, would I only need to synchronize the cache on add and delete? Would edits be handled automatically?
    Is it better to ditch this approach and to just cache them myself (this doesn't sound great for deploying in a cluster)?
    Ideas?

    The cache synch feature as it exists today is kind of an "all or nothing" thing. You either synch everything in your app, or nothing in your app. There isn't really any mechanism within TopLink cache synch you can exploit for more app specific cache synch.
    Keeping in mind that I haven't spent much time looking at your app and use cases, I still think that the helper class is the way to go, because it sounds like your need for refreshing is rather infrequent and very specific. I would just make use of JMS and have your app send updates.
    I.e., in some node in the cluster:
    Vector changed = new Vector();
    UnitOfWork uow= session.acquireUnitOfWork();
    MyObject mo = uow.registerObject(someObject);
    // user updates mo in a GUI
    changed.addElement(mo);
    uow.commit();
    MoHelper.broadcastChange(changed);
    Then in MoHelper:
    public void broadcast(Vector changed) {
    Hashtable classnameAndIds = new Hashtable();
    iterate over changed
    if (i.getClassname() exists in classAndIDs)
    classAndIds.get(i.getClassname()).add(i.getId());
    else {
    Vector vc = new Vector();
    vc.add(i.getId())
    classAndIds.add(i.getClassname(),vc);
    jmsTopic.send(classAndIds);
    Then in each node in the cluster you have a listener to the topic/queue:
    public void processJMSMessage(Hashtable classnameAndIds) {
    iterate over classAndIds
    Class c = Class.forname(classname);
    ReadAllQuery raq = new ReadAllQuery(c);
    raq.refreshIdentityMapResult();
    ExpressionBuilder b = new ExpressionBuilder();
    Expression exp = b.get("id").in(idsVector);
    roq.setSelectionCriteria(exp);
    session.executeQuery(roq);
    - Don

  • Dynamic List of Objects  OracleAS Portals

    <img class="emoticon" src="images/emoticons/confused.gif" border="0" alt="" />
    Hello hope someone can help me
    I have a <strong>List of Objects</strong>, the thing is that I want that list to give a <strong>parameter</strong>, so i can use it in a <strong>query</strong> for showing s<strong>pecific
    content</strong>, from a <strong>database</strong>, depending on the <strong>selected item</strong>, but is that posible, or should I use like a combobox or what do
    you recommend??
    <p>
    <strong>thanks in advance!! </strong><sup><strong> ^_^</strong>
    </sup>
    </p>
    Edited by: DunkelBlume on Sep 2, 2008 11:54 AM

    Hi,
    a list used in the singleSelectOne component does not change or set the currency in the list VO (in opposite to the navigation list). So this synchronization needs to be done programmatically. Examples of dependent list of values are available here
    --> example 62 http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    --> word document you can download from http://thepeninsulasedge.com/frank_nimphius/2008/05/16/blogbuster-treasures-hunt-blog-entries-from-the-lost-orablogs-blog-for-download/
    Frank

  • Entity object attribute with a list of objects

    Does anyone know how one sets up an entity object that has an attribute with a list of objects as the type? (assuming that's supported)
    as in:
    CREATE TYPE phones AS VARRAY(10) OF varchar2(10);
    Create table suppliers (supcode number(5),
    Company varchar2(20),
    ph phones);
    The SOA Suite in jDeveloper (new Entity Object/attributes etc) has an ARRAY that can point to REF or OBJECT. Neither work. When I try to Create DB Object later from the Entity Object I've created I get an invalid type.

    What you suggested about "validation codes on the VO" is not written on the ADF Documentation.
    I try to blindly/strictly follow best practices (particularly on Validations, using Declartive and/or built in validators) on most ADF documentation and blogs but there are many scenarios on coding some large ADF projects that I think must veer away from the best practices stated on the documentation or maybe add new rules on the documentation depending on how complex an ADF project would be.
    I religiously followed best practices stated on the documentation to use Entity and Attribute Validators when performing validations. What I did was i had created lots of Custom Validators (by implementing JboVAlidatorInterface interface) for each of the attributes on an Entity Object that need validated. So those validator is valid only for one attribute, its not reusable. And those validation codes either have reference to a ViewObject or call some PL/SQL procedure. So at some point are codes became messy.
    Ultimately the whole project became harder to manage when the codes became large. Now I am trying to refactor the whole application by separating it into project/package and I am hoping to do it with little Re-coding as possible.
    Hope to get your opinion on this one.
    regards,
    Anton

  • Creating objects in BO universe designer

    Hi All,
    I have designed a universe on the top of BEx Query. I want to create additional objects at Universe Level.
    I am able to create objects in the Universe and they gets parsed, but when I pulled the same objects in the report query it generates a MDX error.
    Even a simple <Expression> @select(Key Figures\Actual) </Expression>is not working
    Please provide me some pointers for creating the objects.

    Hi Didier,
    I am creating objects in OLAP universe only.
    I am using BO XI 3.1 with SAP Integration Kit installed on my system.
    I am not able write any expression in the objects being created at universe level. Any expression, I write gives me the error while running the query while the object gets parsed at universe level.
    for @Select() I am using the same as you write?
    One more doubt what shuould be parameters of @Select()?
    Technical Definition (Generated in the select clause) or Display Name (Class name\object Name)
    If I am writing the definition as @Select([Measures].[000054728]) Then the object defition gets parsed but if I am writing it as @Select(Key Figures\Actual) then the object doesn't get parsed in the universe.
    I guess I have read somewhere that we can use "@Select(Key Figures\Actual)' while writing the expressions. Please correct if I am wrong.
    Regards,
    Rohit

  • List of object

    How to find the list of objects in the file. Example. we have two directory under jdbc directory i.e AAA and BBB. Under AAA directory, I have store two objets ( DataSource Object). Now I can find find out both the objects without knwing the name of object.
    Basically , how to list the objects under file system.

    http://java.sun.com/products/jndi/tutorial/basics/naming/list.html

  • WebI reports getting corrupted after pointing to different version of the Universe

    Post Author: Sujitha
    CA Forum: WebIntelligence Reporting
    Hi
    I am facing a very difficult and weird problem ..plz help !!!
    I am curently working in a project which has different phases of testing.While migrating my reports from Dev environment to SYS, I had to change the database connection in the Universe to SYS.After doing so,I point the reports (webI reports) to this new universe.
    All my report variables are getting corrupted and automatically appended with a " " in the formulae of the report
    for eg if my report variable is =if(&#91;dimension object&#93;;" ";" ")
    the variable becomes "=if(&#91;dimension object&#93;;\" \";\" \") "--- plz note that a \ gets appended in front of the " within the formula!!!
    This problem repeated when i had to migrate the reports from UAT back to SYS!!!
    I have a report which is fullly hard coded(business wants so!!) and has some 300 report variables... so I cannot manuaaly edit them in each migration
    Can you please help me if you have a work around for this issue??
    I read in BOB that its a BO bug,it it true?
    Thanks in advance

    Post Author: Sujitha
    CA Forum: WebIntelligence Reporting
    Thanks a lot for ur quick reply
    The objects in the universe are just teh same,I just import the existing universe,change the connection to SYS and then export it to a new folder.
    Its behaving weird,yesterday i createda  new folder instead of using the existing SYS folder for universe,i exported the universe.NOw I pointed the report with 300 variables to this new universe and it was working fine... and then when i did the same for the remaining reports..all got corrupted like stated before... i had to manuaaly go and esit every variable cause it was urgent for me to migrate to SYS.
    I was saved cause my report with large variables got saved!!!

  • Sort list of objects and Comparator.

    Hi. I have a problem with list sorting. There is a class with fields like these id (Long), number (String), operator (String), server (String) port (Integer). I have to sort list of these objects in accordance with the conditions specified by the user.
    Conditions for sorting:
    1. In the first account of the full compliance of the server name and port value (Object Gateway) specifed by the user.
    2. When the server name is correct and the port is different from the standard, then the objects should be placed in ascending order of the port.
    3. If the server name does not match the model, the order of the objects must reflect the declining value of a parameter port. If the list contains objects of the same port and different name, the order does not matter.
    How should Comparator looks like?

    Ok, this is the solution ;]
    public class GatewayComparator implements Comparator<Gateway> {
        private String server;
        private Integer port;
        public GatewayComparator(String server, Integer port){
            this.server = server;
            this.port = port;
        public int compare(Gateway o1, Gateway o2) {
            int result = 0;
            if (o1.getServer().equals(this.server)) {
                result = -1;
            if (o2.getServer().equals(this.server)) {
                result = 1;
            if (o1.getServer().equals(this.server) && o2.getServer().equals(this.server)) {
                if (o1.getPort().equals(this.port)) {
                    result = -1;
                if (o2.getPort().equals(this.port)) {
                    result = 1;
                } else if (!o1.getPort().equals(this.port) && !o2.getPort().equals(this.port)) {
                    result = o1.getPort().compareTo(o2.getPort());
            } else if (!o1.getServer().equals(this.server) && !o2.getServer().equals(this.server)) {
                if (o1.getPort() > o2.getPort()) {
                    result = -1;
                } else if (o1.getPort() < o2.getPort()) {
                    result = 1;
                } else {
                    result = 0;
            return result;
    }

  • Removing attributes of a characteristic in the Universe designer

    We are using a SAP delivered characteristic (e.g., 0CUSTOMER), it has a lot of attributes associated with it and when we use that characetistic in the Bex query (into the Free characteristics section). We built a universe on top of this Bex query and we could see all the attributes of that particular characteristic in the Designer as well. Is there any way to remove the ones which we are not using for BO reports.
    if it is not possible to remove those objects from the universe designer, will it impact the performance of the Webi reports (or any other BO reports)??

    Delete them from the universe - click on it, press the Delete key.
    You may be better off hiding them first though - right-click, choose Hide, just in case they are used and you aren't aware that they are.
    Regards,
    Mark

Maybe you are looking for