OWB Reporting

Hi,
I'm looking for a way to generate a list of all my mappings, what tables/views that are sources in these mappings and what tables that are targets in these mappings. E.g. like this:
Mappingname Source Sourcetype Target Targettype
Map1 tab1 T tab2 T
Map1 view1 V tab2 T
Map2 tab3 T tab4 T
etc.
I have found most of this info in the OWB repository, but I can't find information about whether or not a table/view is source/target in the mapping.
Is this info availble in any form in the repository?
Thanks,
Bjørn

PG -- Nice work! I posted a pure SQL script on my blog that accomplishes much the same thing. OMBPlus is probably preferable but in case someone needs it to be a pure SQL script this would be useful .
http://www.bayontechnologies.com/bt/blog/archives/2005/04/owb_sources_and.php
---- begin clip from blog ----
There was a posting on the OWB OTN forum about how to build a report documenting mappings, their sources, and their targets. Patrick Goessens provided an OMBPlus script that fits the bill and should work (perhaps slightly customized) brilliantly. I love OMBPlus and find it to be a very useful addition to the Oracle Warehouse Builder product. I've noticed Patricks postings before, and he is in the minority of OWB developers who have command of a very powerful feature.
There might be circumstances when OMBPlus might not be a prefereable option. Not everyone will have OWB installed, or want to pay the additional license costs to just "report" on the metadata. The consumer of this information might not be a "person," but rather another system or repository. In that case, coordinating the execution of an OMBPlus script, parsing and importing into an alternative application might be troublesome.
I've built a small SQL script that runs against the OWB design repository public views (an Oracle provided view into the design metadata). I ran this against the solution for the sample company for my OWB workshop and it reports correctly for it. Use it as a reference, but ensure it works for your actual metadata repository as I don't claim that this is a complete solution (or even nicely written SQL).
sqplus design_rep/design_rep_password@DB
select
distinct 'TARGET',
comp.map_name,
comp.data_entity_name,
comp.operator_type
from
all_iv_xform_map_components comp,
all_iv_xform_map_parameters param
where
lower(operator_type)
in ('table', 'view', 'dimension', 'cube')
and param.map_component_id = comp.map_component_id
and param.source_parameter_id is not null
UNION
select
distinct 'SOURCE',
t1.c1,
t1.c2,
t1.c3
from
(select
comp.map_name c1,
comp.data_entity_name c2,
comp.operator_type c3,
max(param.source_parameter_id) c4
from
all_iv_xform_map_components comp,
all_iv_xform_map_parameters param
where
lower(operator_type) in
('table', 'view', 'dimension', 'cube')
and param.map_component_id = comp.map_component_id
group by
comp.map_name, comp.data_entity_name, comp.operator_type) t1
where t1.c4 is null
order by 2,1
TARGETS are determined if any of their columns have a source parameter (ie, there's been a line drawn into them on a mapping). SOURCES are determined if they do not have any source parameters (they don't have any mapping lines coming "in"). I couldn't see any special flag or marker to find the "one" target of a mapping, so it had to be inferred. I wonder if anyone from the OWB product team would like to comment on the validity of this logic?
Let me know how people get on with this script; especially if there's any edge cases or revisions that augment it.
---- end clip from blog ----

Similar Messages

  • Is this a bug in OWB 11.2 - importing table metadata for character columns

    The Oracle® Warehouse Builder Data Modeling, ETL, and Data Quality Guide provides an overview of the data types supported.
    http://docs.oracle.com/cd/E11882_01/owb.112/e10935/orcl_data_objx.htm
    It says that for VARCHAR2 data type it saws (http://docs.oracle.com/cd/E11882_01/owb.112/e10935/orcl_data_objx.htm#CHDFIADI )
    "Stores variable-length character data. How the data is represented internally depends on the database character set. The VARCHAR2 data type takes a required parameter that specifies a maximum size up to 4,000 characters"
    That means , I guess, it says that when I import a table, any columns of type VARCHAR2(10) in the database should have its length show as characters in OWB, so a column of type Varchar2(10) in the Oracle database, should be shown as Varchar2(10) when imported into OWB table metadata via the OWB import function.
    However, if I have a database that set-up as a single-byte and import a table using the OWB import function a column that has a size of e.g. 10 in the database, is imported as OWB table metadata and the size is 10. Correct, I am happy.
    However, if the database is modified to support multi-byte characters, ALTUF16 encoding with the semantics set to "CHAR", then when I import the same table into OWB, OWB reports the size as 40, I guess its 40 bytes as in 10 characters @ 4 bytes per character.
    Is this a bug in OWB, as the datatype in the Oracle DB is varchar2(10), should OWB after importing a table not also report the column as VARCHAR2(10) ? Currently, is shows the column as varchar2(40).

    I noticed that myself in our project.
    Our varchars2 are defined as VARCHAR2(xxx CHAR) - OWB puts the size*4
    In fact if you have special characters like umlauts (ü,ä,ö,...) it will use 4 bytes per character.
    You can try it yourself. Define a Varchar2(1 CHAR) and manually change the size of the Column in your mapping inside OWB (in filters, joins or your target table).
    Then shoot an umlaut through the mapping and will end up with a "too small" error.
    Dont mind the size*4 issue - we totally ignored it and run without error since 4 years now.

  • OWB 10g iAS requirements

    I read in other forum threads that the 9i database came with an HTTP server that was sufficient to run the OWB reports. I'm running a 10g database and OWB. I can't find an HTTP server that came bundled with the 10g DB. Also, the "standalone" 10g HTTP server that I downloaded from OTN doesn't have a DAD configuration option. I interpret that to mean that the 10g standalone HTTP server isn't sufficient to run the OWB reports. The full 10g iAS server has memory requirements that prevent it from installing on my box. Do these observations/conclusions make any sense? Any recommendations for the simplest method of getting access to the 10g OWB reports?
    My underlying problem is that when I deploy, I get Failure messages. The text behind the failure messages refers me to the "Impact Report". The help text indicates that an iAS Portal is required to view the Impact Report. Something to help me understand the failure messages, even if it didn't involve iAS or the HTTP listener would also be appreciated.
    Thanks,
    Brian

    I installed the 10g standalone HTTP server, but the initial welcome page didn't offer a DAD configuration link that was mentioned in some of the OWB configuration instructions on a different thread in this forum. Does that mean that I set up the HTTP server wrong, or that the DAD can't be configured through the browser, or that the 10g standalone HTTP server doesn't come with a DAD feature, or something else?
    Brian

  • How to see the data after deploying

    Hi, I installed owb 9.2.0.2 and created a test mapping and deployed it successfully. It inserted few rows in my table. How can i see the data which was inseted other than SQLplus.
    Can i view data trough any OWb reports or do I need to use discoverer or report tools to view the data.

    Hi Sam,
    SQL Plus is one route, the other is indeed Discoverer or any relational query tool. For 10gR2 we are adding data viewers so you can see this directly in OWB.
    Jean-Pierre

  • Problem with Load of Facts (OBIU/ OBIEE)

    We are almost at end of our ETL with OBIU from CC&B. Our Dimensions have loaded fine, but our Facts have not. OWB reports that the process finished successfully but the tables were not populated. Has anyone encountered this before ? Thank you.

    We now have Load successful but not all data is showing up. Does anyone have experience of that ?
    Our Load is done but only current calendar year is showing up in OBIEE. Anyone encountered that before ?

  • Error registering Process Flow Location

    Hi
    I've installed OWB 9.0.4 and successfully registered
    Process Flow Location.
    Then i've added russian lang to Oracle Workflow Repository
    After that when i try to register Process Flow Location
    i get error: RTC-5327 Schema OWF_MGR does not contain an
    Oracle Workflow Repository.
    But i still able to deploy Process Flow Packages
    using earlier created Process Flow Location.
    Thanks

    Vasily,
    This sounds like the known bug 2836447: OWB REPORTS OWF REPOS NOT INSTALLED IF MULTIPLE LANGUAGES ENABLED. The bug was fixed in 9.2 and also should be in the next 9.0.4 patch (9.0.4.11).
    The workaround for now is to run the following in Workflow Schema (owf_mgr):
    update
    WF_RESOURCES
    set
    NAME = NAME || '_' || LANGUAGE
    where
    TYPE = 'WFTKN' and
    NAME = 'WF_VERSION' and
    LANGUAGE <> 'US';
    commit;
    The following removes the workaround and restores the WF_RESOURCES table to their original state. This should be applied when the fixed OWB client has been installed.
    update
    WF_RESOURCES
    set
    NAME = 'WF_VERSION'
    where
    TYPE = 'WFTKN' and
    NAME LIKE 'WF_VERSION_%' and
    LANGUAGE <> 'US';
    commit;
    Nikolai

  • Problem when using MS Access as data source

    I want to get the source data from MS Access Database and load the data into a Oracle Database by OWB.
    I created a ODBC for the Access Database,and added the correlative informations in the files such as hs/admin/initmsaces.ora��network/admin/listener.ora��network/admin/tnsname.ora.
    Then I created a new module under the "DataBase->Other->ODBC" in OWB,the schema I selected is "Undefine"��it is the only one selection��Then I created some mappings.All these steps are successful.
    But when I was deploying the project,OWB reported a wrong: Talbe or View is not exist.
    I want to know how can I resolve the problem.
    Thanks!

    I think we are having the same problem and (I think) set up everything as described in the note.
    We are using an ODBC connection to an MS-Access database with OWB 9.2. We have successfully defined the data source to OWB, and imported 2 target tables, then mapped one of the tables to a staging table.
    The mapping process “validates” correctly. From Deployment Manager, we “register” the source file location, which asks for a schema owner, username, and
    password. We supply the value “admin” for each of these as Location Registration windows requires a value for each [no blanks allowed] and the registration is successful.
    However, when we Generate/Deploy the mapping, the Generate succeeds, but deployment fails with the error “PL/SQL: ORA-00942: table or view does not exist”. Looking at the generated code, we see that the SELECT statement in the generated mapping code specifies the source table as owner.table_name@db_link.
    From SQL*Plus, the table_name@db_link can be described correctly. Trying to describe owner.table_name@db_link fails with “object does not exist” error, which is similar to the OWB “table does not exist” error.
    MS-Access has no concept of “schema-owner”. Is there a way to generate the Mapping without specifying the “schema-owner” ??.

  • Any news on a developer's preview of Paris

    There have been some rumours about a developer's preview release of Paris. So now I'm curious if there is any news about such a release or if we have to wait until next year for the production release?

    Hallo,
    i think, Oracle pays a lot of money for buying Peoplesoft etc, and not for developing their own end user products like Forms, OWB, Reports, Designer.
    See thread: "OWB 10gR1 Repository and 10gR2 Database" in the owb discussion forum.
    We are developing a new project with owb and want to install 10gR2.
    How many month or years we have to wait for this patch?
    Regards
    Franz

  • Why OWB Execution status report showing wrong status  ?

    Hi,
    I created a process flow. It executed successfuly.
    In that process flow I used 4 mappings. and the data is updated in 4 tables. In all the tables data updated successfully.
    But the execution status is showing that , in one table the records inserted are 0.
    I verified in the Runtime Assistant. There it shows correctly.
    Why it is showing like that?
    Any suggestions are welcome.
    Thanks and regards
    Gowtham Sen.

    I've seen this often here. Check the log files on the OWB server and you may see that control center service was force restarted. I have an SR opened with Oracle on this.
    The symptoms I've seen are:
    1. The mapping reports success
    2. Some or all of the levels of the mapping show "*" for the statistics
    3. The mapping completion time shows the mapping start time.

  • OWB 10.2.0.1.31: Not be able to view reports on Repository Browser

    Hello,
    I not be able to show the list of execution mappings into owb repository browser. I get access to login page and i get access with runtime repository owner user, but repository browser don´t show the mapping execution list into execution report page.
    In other installation od OWB the execution mapping's report showed correctly. I try to install into clean computer and not be able to get the result of execution mapping.
    Any idea??
    Jaaquin

    I have exactly the same problem. Repository browser is working, I can see deployment reports. The execution reports are working but emtpy. Although the control center manager shows execution logs.
    The problem appeared after I installed the last patch Warehouse Builder 10.2.0.4 Patch. Everything else seems to work normally.
    The client version is 10.2.0.4.36
    The repository version is 10.2.0.4.0
    Can it be the difference between the repository and OWB browser versions?
    Thanks,
    Kaur

  • OWB Mapping Reports

    I am using OWB 10g with client version of Design Browser so see what reports are available. So far, I'm not seeing what I want. I can't get "Detailed Mapping Report" to work for any mapping, maybe that has what I want? I can get Impact and Lineage reports but I'm looking for more of a simple text-based version of each mapping that can, as much as possible, show column-level mapping from source table to target table. This is to provide fairly readable, simple documentation to the client to depict column level mapping from old database design to new database design.
    Something that would combine the Impact and Lineage reports at the column level for each map is what I was hoping to find.
    Any ideas?

    Hi,
    I am fairly new to OWB and have a similar request to produce a simple column level mapping report that could be provided to business users for review and approval.
    The Detailed Mapping Report in the Repository Browser doesn't display this too well.
    Can anyone advise me on alternatives, possibly some sql to derive mapping information from the repository?
    Would it be better to provide business users with read only access and let them view the mappings in the mapping editor? or provide them with a print out of the mapping from the editor?
    Any comments much appreciated,
    Thanks,
    Brad

  • OWB 10.2 Phantom Phailures - mapping reports success but no data!

    Hi all,
    I've been getting more and more mapping jobs that run for their normal duration but do not update anything in OWB 10.2 against a 10.2 database. I see the following symptoms:
    1. The finish time is set to the start time of the mapping when this occurs even though the mapping runs for a long time.
    2. The job reports success with no errors
    3. The job shows "*" for the table stats of whatever table or dimension level it was working on
    4. There is nothing in the alert logs or trace files
    This is sporadic! Rerunning the same mapping might work the next time. I logged an SR but was wondering if I'm the only one experiencing this. I'm running manually from design center when this occurs.
    It looks like something is aborting the mapping but not reporting any error anywhere. Any ideas?
    Thanks,
    Mike

    Thanks for your reply. I've been in contact with support and I get the following in the logs. They indicated that the error creating temp is not a problem but as you see there is a recovery and a forced termination of the job. No idea why and so far, neither have they. If I can't get error returns from OWB, I can't put it into production! I hope its something odd on my end and not a global problem.
    2006/09/08-08:48:26-EDT [64F6CD] Error creating the temp directory C:\oracle\OWB\owb\temp
    2006/09/08-08:48:29-EDT [64F6CD] Free Memory(bytes)=642664 Total Memory(bytes)=2031616 Used Memory(bytes)=1388952 Used Memory(percent)=69%
    2006/09/08-08:48:29-EDT [64F6CD] Runtime Platform Service Version 10.2.0.1.31 starting
    2006/09/08-08:48:29-EDT [64F6CD] Platform Repository Name DW_REPOS on Service DWDEV at Host FLSUS-DBWHSE1
    2006/09/08-08:48:29-EDT [64F6CD] Explicit garbage collection - every 1 execution(s)
    2006/09/08-08:48:30-EDT [64F6CD] Recovery starting
    2006/09/08-08:48:31-EDT [64F6CD] Forcibly deactivating execution with audit ID 37777
    2006/09/08-08:48:31-EDT [64F6CD] Service startup complete

  • Lineage Report in OWB 9.2 without Portal

    Hello,
    I would like if there is a way to use the Lineage Report without having Portal installed. I try by starting the OC4J Instance, but the browser display the error page page cannot be found.
    Any tips ?
    Thanks
    Claude-Alain

    This is the quick write up on this:
    If you want to use the browser locally, you have to set up an HTTP listener on the database. The one that ships as part of the 9i Enterprise
    Edition database that you use for the design environment can be used for this purpose. You also have to create a database access descriptor that points to the
    <OWB92> schema. To do that, make sure the HTTP listener is up and running (on a Windows platform, this is a service). Use a browser to navigate to the HTTP
    server index by using http://<machine and domain>:<port number> (example: http://mwiel-pc.us.oracle.com:7778). Click on Mod_plsql Configuration Menu.
    Click on Gateway Database Access Descriptor Settings. Click Add Default (blank configuration). Enter a Database Access Descriptor Name (for example, use
    <OWB92>), Schema (use <OWB92>), Oracle User Name (use <OWB92>), Oracle Password (use password for <OWB92>) and Oracle Connect String (beware
    that the connect string uses SID in the <host name>:<port number>:<SID> connect string, not Service name). The remainder of the properties can be left as is.
    Click OK and close the browser.
    To invoke it using the OWB menu, make sure you have the OC4J engine running, and you are ready to go. From Warehouse Builder... set the preference under project,
    preferences (menu). Beware that for the local installation this only works if everything runs on one machine (design repository, respository database and http listener).
    Jean-Pierre

  • OWB Design Browser reports Unexpected Error

    Hi,
    I am trying OWB904 demo on OracleDB 9.2.0.2 and I have problem with OWB Design Browser. I can view all the reports but seems that I can not see any Diagrams (Impact and/or Lineage) - every time I get error message:
    Unexpected Error
    Unexpected Error
    The operation can not be performed at the present time. Please contact your administrator for assistance.
    I already tried Refreshing Dependency Index (several times) and set the MS_IE Browser setting for "Check for newer versions of stored page" to "every visit to the page". Does not help - still getting "Unexpected Error".
    Any hint what else to try ???

    Bojan,
    There are two possibilities, both related to installation and set-up:
    1. Has XML Toolkit been installed in SYS schema? This XML Toolkit is needed for Lineage diagrams to show correctly.
    Check under SYS schema, whether you have XMLDOM and XMLParser package. Other way to check this is to see whether you have any invalid state package or package body in your OWB repos schema(OWBB_LIA and LIA_CLIENT are related to lineage diagrams).
    2. Check two tables: lia_xml_table and lia_xml_table2 have existed in OWB repos schema or not. They are needed for diagrams. One reason they may not been created during installation is these tables contain CLOB columns, and Oracle has a limitation: According to the 9i documentation: You cannot store LOBs in AUTO segment-managed tablespaces.
    Mark.

  • How to cleanup OWB Browser Reports

    Hi,
    Before we starting using OWB on a regular basis, we wanted to a Proof of Concept. Now that this POC is completed, we are ready to start using OWB and want to make sure we're at a clean start.
    We're using OC4J to view the Warehouse Builder Runtime Audit Browser. And in there I see several reports that were created duing our POC. I would like to remove these reports. How can I do that?
    I tried logging in as IMS_RRS, and can select the reports, but the "Purge Selected Audit Detail" button is always greyed out. Can I do this thru OC4J, or must I have Portal set up and running to use the Administration menus.
    Thanks,
    Guy LaBelle

    Guy,
    When you login into Runtime Audit Browser, select "QA User" in the "Select Role" box (by default it's "Warehouse User"). This will enable Purge.
    Nikolai

Maybe you are looking for

  • New document Type for bank Transaction

    Hello Gurus My client place , If I post any Bank Transactions the system accepting for only  BP/BR Document type Now I am define new Document type , in this new document type itu2019s not accepting ( bank receipt ) System shows some error message: Do

  • Css style sheet problems

    Using DW CS3 problem 1 can I re-write below so that 1    link, hover, visited etc can be written without all the repetition if possible 2    link, hover, visited etc can be written "once" to apply to everything, body table etc   if possible 3 What mi

  • Introduction of Cisco ASA into Environment

    Hey,  I have just introduced a Cisco ASA into my environment but having major issues working out how to fit it in.  I have tried to configure it as per the proposed solution but not really working Currently 2960 trunk port to >1921 (10.10.1-11.1) (fo

  • Which databases are required to be moved in MOSS 2007 for upgrade to 2010?

    Hi, We are planning to upgrade MOSS 2007 environment to SharePoint 2010.  As a next step, I have to move the following databases.  Please correct me if we need to also move the Shared Services (SSP) content databases. Content Databases of Main websit

  • Can I uninstall only Premiere Pro CS5 from Master Collection?

    I have Master Collection CS5 installed on my computer.  I just purchased Premiere Pro CS6.  I would like to uninstall only PPro CS5 and then install PP CS6, but it's not apparent how to uninstall PP CS5.  Is this possible?