Logical to Physical objects Mapping

Recently installed OLAPTRAIN's SALESTRACK AW, and noticed that there are many __AW_GENERATED.. object names.
It is very difficult trying to trace back what these objects refer to, and quite challenging if we are using OLAP DML commands to create custom reports.
This is the result of the 30 character limit AWM has when concatenating cube and measure names and concatenating dimension and attributes names.
As an example for the Measure "Cross Over Linear Regression" (Logical Name: SALES_CUBE.CROSS_OVER_LINEAR_REGRESSION)
"CROSS_OVER_LINEAR_REGRES" is COLUMN_NAME value in SALES_CUBE view and in ALL_CUBE_VIEW_COLUMNS data dictionary view
"SALES_CUBE_CROSS_OVER_LINEAR_R" is the object name found using AWM OLAP Worksheet
Now try creating Measure "Cross Over Linear Regression 1" (Logical Name: SALES_CUBE.CROSS_OVER_LINEAR_REGRESSION_1)
"CROSS_OVER_LINEAR_REGR_1" is COLUMN_NAME value in SALES_CUBE view and in ALL_CUBE_VIEW_COLUMNS data dictionary view
"__AW_GENERATED_164" is the object name found using AWM OLAP Worksheet
I think AWM needs to be a little smarter in the way Object names are generated for measures/attributes.
Possible AWM solution for this would be to restrict the Measure Name to 30 characters that includes the Cube Name length. User can then utilize the Short Label, Long Label and Description fields to enter proper descriptions.

Although the physical AW object names are not shown in the data dictionary views in 11g, they are available through the Java OLAP API as of release 11.1.0.7.
For example, many of the physical names of the AW object underlying a logical (i.e. AWM or USER_CUBE_DIMENSIONS) dimension can be found from the class
oracle.olapi.metadata.deployment.AWPrimaryDimensionOrganization
E.g.
The name of the main AW dimension can be found using
public final String getAWDimensionName()
The name of the parent relation is
public final String getParentRelationName()
The name of the hierarchy dimension is
public final String getHierarchyListName()
To navigate from a logical dimension to the organization object you can do the following.
MdmPrimaryDimension myDim = ...;
AWPrimaryDimensionOrganization org = (AWPrimaryDimensionOrganization) myDim.getOrganization();
Other physical object names can be located in other classes in the oracle.olapi.metadata.deployment package. This methods are public and supported, but do not appear in the JavaDoc. I don't know if they will be documented at any stage and I know of no immediate plans to make these objects visible through the data dictionary views.

Similar Messages

  • Logical to Physical Mapping

    Newbie to the Analytical Workspace Manager v. 11.1.0.7.0 and using Oracle Database 11g Enterprise Edition Release 11.1.0.6.0. Installed the global sample schema and associated objects. Created the workspace in AWM and I am able to see all cubes and dimesnion objects. I am now trying to do the logical to physical mapping of the dimension objects with the tables that I imported into the global schema. I right-click on the Channel dimension, but I do not see the Mapping option. I am unable to launch the mapping canvas. All I see is Maintain, Analyse, Set Security, Save, View Data and Delete. Am I missing something in the installation?
    Thanks in advance for your help.
    -ST

    I also found that when I try to expand the "+" next to the Channel dimension, I get the following java error in the console.
    Exception in thread "ExpansionThread" java.lang.NoClassDefFoundError: oracle/security/xs/XSPrincipalException
    at oracle.olap.awm.navigator.node.olapi.UDimensionNode.getChildren(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNodeModel.refreshData(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNodeModel.dTreeItemExpanding(Unknown Source)
    at oracle.bali.ewt.dTree.DTreeDeferredParent.__fireExpansionChanging(Unknown Source)
    at oracle.bali.ewt.dTree.DTreeDeferredParent.setExpanded(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode.expandHelper(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode.access$400(Unknown Source)
    at oracle.olap.awm.navigator.node.BaseNode$ExpansionThread.run(Unknown Source)
    I am unable to view the defined hierarchies
    Thanks.

  • Creating logical/virtual connection object  from physical connection

    Can anybody help me what is creating logical/virtual connection object and how to create it from physical connection in java ??
    Thanks in advance...

    WHile you are waiting for an answer, you might want to review the related Oracle documentation:
    For 10g, all docco is at http://www.oracle.com/pls/db102/portal.portal_db?selected=3 and docco I suspect will help you is "Java Developer's Guide" and "JDBC Developer's Guide and Reference"

  • Whar are logical table, Physical table Logical data Source

    Hi,
    Can any one explain me in details what Whar are logical table, Physical table Logical data Source.
    Any qucik help will be graetly appreciated

    In OBI there are three layers - Physical, Business Model and Mapping (BMM) and Presentation.
    As the name specifies the Physical layer mainly contain physical aspect of the application like which connection to use, which schema (also catalog in case of SQL server) to connect and also which table to use. This layer confirms the PK_FK joins for the related tables. This layer mainly depicts how the data has been stored in the database layer.
    On top of this layer you will have you BMM layer. The place where all work of a developer starts. You will structure the tables accourding to the business need. The structure has to be a STAR schema. All the entities in this layer are called logical because they do not directly represent any database object rather they provides a logical mapping to the database entities. This becomes clear when you use more that one Logical Table Source (LTS) for your logical tables. One logical column can map to N number of physical columns based on context. You can also create calculative columns in this layer which are totaly logical in nature.
    I am not writing anything on Presentation layer as it is not in you question. :)
    Hope this will help.
    Regards,
    Somnath

  • Logical to physical

    Data Modeler version 3.0.0.665
    I added new tables and some fk relations for those new objects . Those relations are between new objects or new objects to existing objects.
    When I reengineer from logical to physical, in that window I check the new tables and new relations, but on "Engineer", only new tables go to physical but not the new relations.
    What am I doing wrong?
    Thanks a lot!
    RN

    Hi RN,
    you are not doing anything wrong however the process expects both end of relationship (entities) also to be engineered. I logged bug on that.
    Philip

  • How to manipulate object mapping runtime using DOM parser in java?

    Scenario: We will be getting logical name of the table from which we have to fetch the details. We have few tables which have more or less same columns, the only difference is the prefix. Say we have Tables: Temp1 and Temp2 contains column as Temp1Col1 and Temp2Col1. I dont want to go with creating as many POJO classes in java as that of tables. So i will create only one POJO class with common attributes and at runtime i want to change the object mapping file of Hibernate to hold table values. I have an idea that this can be done using DOM parser. But it would be great if somebody can share the java code for the same.
    Thanks in advance.

    SAX is a parser, not a generator.Well,
    you can use it to create an XML file too. And it will take care of proper encoding, thus being much superior to a normal textwriter:
    See the following code snippet (out is a OutputStream):
    PrintWriter pw = new PrintWriter(out);
          StreamResult streamResult = new StreamResult(pw);
          SAXTransformerFactory tf = (SAXTransformerFactory) TransformerFactory.newInstance();
          //      SAX2.0 ContentHandler.
          TransformerHandler hd = tf.newTransformerHandler();
          Transformer serializer = hd.getTransformer();
          serializer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");//
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"pdfBookmarks.xsd");
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"http://schema.inplus.de/pdf/1.0");
          serializer.setOutputProperty(OutputKeys.METHOD,"xml");
          serializer.setOutputProperty(OutputKeys.INDENT, "yes");
          hd.setResult(streamResult);
          hd.startDocument();
          //Get a processing instruction
          hd.processingInstruction("xml-stylesheet","type=\"text/xsl\" href=\"mystyle.xsl\"");
          AttributesImpl atts = new AttributesImpl();
          atts.addAttribute("", "", "someattribute", "CDATA", "test");
          atts.addAttribute("", "", "moreattributes", "CDATA", "test2");
           hd.startElement("", "", "MyTag", atts);
    String curTitle = "Something inside a tag";
              hd.characters(curTitle.toCharArray(), 0, curTitle.length());
        hd.endElement("", "", "MyTag");
          hd.endDocument();
    You are responsible for proper nesting. SAX takes care of encoding.
    Hth
    ;-) stw

  • How to determine physical drive mapping?

    Hi,
    after selecting a file using the FileChooser dialog, i would like to convert the file path like "H:\index.htm" into a form like "\\filer01\dir\index.htm", where \\filer01\dir corresponds to the physical drive mapping.
    On my system, the logical device name H:\ is mapped to a directory on a file server "filer01".
    Is there any possibility to do this conversion by getting the physical drive mapping from the systems environment?
    Thanks in advance.

    I've got a book called Visual Basic Programmer's Guide to the Win32 API, by Dan Appleman, where I look up things like that. But it's all available online on MSDN.

  • What is a  Logical and Physical file path in sap?

    what is a  Logical and Physical file path in sap?

    Hi,
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
            lf_opsys TYPE sy-opsys.
      lf_mandt = sy-mandt.
      lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
      CALL FUNCTION 'FILE_GET_NAME'
        EXPORTING
          client           = lf_mandt
          logical_filename = p_unix
          operating_system = lf_opsys
        IMPORTING
          file_name        = gwa_input
        EXCEPTIONS
          file_not_found   = 1
          OTHERS           = 2.
      IF sy-subrc EQ 0.
      Concatenating the physical path and the input unix file name
        CONCATENATE gwa_input p_file INTO gf_file .
      ENDIF.
    Reward if helpful.
    Regards,
    Ramya

  • Finding of the Logical and Physical filename,Logical and Physical Path

    Hello All
    Where and how can I find the below details in an SAP server
    Logical filename:
    Physical filename:
    Logical path:
    Physical path:
    Regards
    Kalyani

    hi
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
    lf_opsys TYPE sy-opsys.
    lf_mandt = sy-mandt.
    lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    client = lf_mandt
    logical_filename = p_unix
    operating_system = lf_opsys
    IMPORTING
    file_name = gwa_input
    EXCEPTIONS
    file_not_found = 1
    OTHERS = 2.
    IF sy-subrc EQ 0.
    Concatenating the physical path and the input unix file name
    CONCATENATE gwa_input p_file INTO gf_file .
    ENDIF.
    You need to tak ehelp of ABAPer for this
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    Regards

  • Logical and physical clear in ASO

    Hi There,
    I found one statement for Logical and physical clear in essbase dbag
    The process for logically clearing data completes in a length of time that is proportional to
    the size of the data being cleared.
    The process for physically clearing data completes in a length of time proportional to the
    size of the input data, not to the size of the data being cleared
    What does size of the input data actually means? How it is different from data being cleared.
    Thanks.

    What is interesting with these statements is based on them, you would think a logical clear would be slower than a physical clear. In reality, it is vastly faster. I took a 30 minute physical clear down to about 40 seconds with a logical clear. Logical clers create offsetting entries from the main cube in a slice to produce a result whila a physical clear deletes the actual data. The one thing about logical clears is rather than have #missing for cleared intersections you get zeros

  • Logical and physical file paths

    Hi,
    can anyone elobrate me  on what are logical and physical file
    paths ?

    hi,
    Follow this link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    File format determination (Required / optional fields and field checks).
    Logical File Path configuration through transaction 'FILE'. A new physical file path should be created on operating system level or an existing one can be used if agreed. The Basis team member should create a new file path at operating system level, if required.
    Hope this helps, Do reward.

  • Diff between logical and physical file path

    Hi ,
    Could you please explain difference between logical and physical file path's and their importance in ABAP.
    Thanks and regards,
    shyla

    Hi
    The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
    The advantage of using logical pathes within your applications is obivous:
    If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
    The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
    Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
    To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
    Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
    Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
    For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
    Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
    To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
    You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
    If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
    Save your changes.

  • Diff  between logical and physical page ?

    hi
    what exactly difference between logical and physical pages?
    where to set page size in report designer?
    after seting paper size in report designer can i readjust in print dialogue box?
    which is will be effected?
    please explain

    A logical page can contain several physical pages. Assume you want to create a format which is larger then your printer is able to print, then you can define a logical size, which contains n pages horizontally and m pages vertically.
    To set the page size for your report have a look at the properties in the main section of your paper layout.
    Regards
    Rainer

  • Importing logical and physical model from Sybase power designer/Erwin

    Hello,
    We have several models created in Sybase Power designer, logical and as a well as physical. Is there a way to directly import models into Oracle designer?
    Thank you for your help.
    Syed

    Hi Syed,
    ERwin has a facility to export to Designer 2000. Of course you're probably not using Designer 6.0 or earlier so it's of little use.
    I have been looking at a couple of tools for importing from ERwin: Reischmann Informatik’s TOOLBUS Interface for Oracle Designer and ALLFusion ERwin; and Meta Integration Technology’s Meta Integration Model Bridge (MIMB). Neither product is free (nor inexpensive) but if you've got a number of models to convert then the tools seem cheap by comparison. Also, none of the products that I've looked at recreate the actual diagrams (not that I expected them to).
    I am leaning towards TOOLBUS as it provides more complete migration of Logical and Physical models (especially the linkages between the models) using Oracle Designer’s API rather than a DAT file as provided by MIMB.
    Hope this helps,
    Wayne Lehman
    Avanti Business Systems Inc.

  • Logical and Physical Standby Practice

    Hello Gurus
    I am now attempting to practice Oracle Data Guard and in this direction I understand since 10g we have logical standby server as well as a physical standby server. While I am gathering information and knowledge about the data guard as is and varisous modes and types possible with oracle 10g and 11g in specific, an attempt to upgrade my self and learn these set-ups and understand them in detail.. I come to you for some guidence..
    I am referring to Oracle Documentation for these details. At the same time I also approach you to share your experiences .. may be a link apart from the documentation of oracle which you might want to refer me to use as a quick reference.. some thing that a person like me .. fairly new to this set-up understand it and then attempt to come up with one..
    This is for my practise and learning purpose.
    Sarat.

    Logical Standby was already introduced in 9i. It differs from physical standby in the way, the redo protocol, transmitted from the primary, gets used to actualize the standby. With logical standby, you have SQL APPLY - basically, we try to generate the same SQL that was done on the primary from the redo protocol that was written on behalf of that SQL on the primary. That SQL then is done on the OPEN instance at the logical standby.
    In case of a physical standby, the redo protocol from the primary is used to do RECOVERY - called REDO APPLY - to actualize the standby.
    Since 10g, the sames protection levels can be achieved with logical or physical standby.
    Drawback of logical standby: Not all kinds of SQL and all datatypes are supported
    Drawback of physical standby: It is mounted (versions before 11g) while being recoverd - or in 11g, REDO APPLY in READ ONLY status is possible but comes with an extra charge (ACTIVE DATA GUARD feature).
    If you look on my Blog, I have some examples about creating physical & logical standby DBs
    Kind regards
    Uwe
    http://uhesse.wordpress.com

Maybe you are looking for

  • Are you having problems with Windows XP Pro and Airport Utility Updates?

    I was having problems with my wireless laptop setting up my Bonjour Printer. I checked to make sure I had downloaded the latest updates to Airport Utility and Bonjour. Check. After doing this I noticed I couldn't see my Airport Extreme through the Ai

  • Disk installation

    Hello, I have installed an IBM ultra star disk on my Sun Netra T1 (Solaris 5.8); which came from another Netra T1 . But the system doesn't recognise my disk and the phase of boot is not completed. I have the following error message : Drive not ready

  • Acelet releases Super 7.0 - J2EE toolkit

    Acelet releases Super 7.0 - J2EE toolkit Acelet (http://www.acelet.com) has released Super 7.0, a J2EE toolkit with new module "SuperTracer". This version adds the "SuperTracer" for J2EE logging. It is a tracer: a single mouse click brings source cod

  • I experience strange vertical lines over the text

    I experience strange vertical lines over the text. i belive it started when i updated my firefox to it's latest version i tried synchronizing me clear view, but it didn't help

  • Problems with downloading files from the internet?

    I have Mozilla Firefox and Safari on my macbook. For some reason it will not let me download things from the internet. Whenever i keep a download link, the page never loads....can anyone put some insight into my problem? Justin Evans