How to get the Audit info. manually

Hi,
I have to create loading report which include information like how many rows selected, inserted and updated.
In addition, the client asked to see the bad data somewhere (not using SQL Loader).
Basically, I really like the way the OWB doing in metadata management. However, I always feel like "Out of Control" when using Mapping stuff to do the loading such as processing SCD II, data exception process, error handling, audit reports. Yes, there are some white papers and OWB Exchange scripts for OWB which are useful. Unfortunatelly, my clients are using Oracle 8i and those SDK are not compatible with 8i.
I sometimes like to consider to give up the OWB but the clients already bought the iDS for my development. (No choice).
Any help with the Audit control tips will be very appreciated.
Thanks,
Daming

Daming,
You may want to use the runtime public views (ALL_RT_<something>) in order to retrieve audit details out of the runtime environment (assume you are on 9.0.4 or higher). For example, the query below retrieves a result that I am usually interested in.
select mr.map_name map_name
, t.target_name target
, to_char(r.start_time,'DD-MON hh24:mi') run_date
, to_char(trunc(r.elapse_time/60))
|| 'm '
|| to_char(r.elapse_time - 60 * trunc(r.elapse_time/60))
|| 's' exec_time
, r.step_type stp
, nvl(r.number_records_selected,0) s
, nvl(r.number_records_inserted,0) i
, nvl(r.number_records_updated,0) u
, nvl(r.number_records_deleted,0) d
, nvl(r.number_records_discarded,0) dsc
, nvl(r.number_records_merged,0) m
, nvl(r.number_records_corrected,0) c
, decode( nvl(r.elapse_time,0)
, 0, 'N/A'
, to_char(trunc(r.number_records_inserted / r.elapse_time , 2))
) through_put
, r.end_time - r.start_time exact_duration
from all_rt_audit_map_runs mr
, all_rt_audit_step_runs r
, all_rt_audit_step_run_targets t
where mr.map_run_id = r.map_run_id
and mr.map_run_id = t.map_run_id
and r.step_id = t.step_id
and r.run_status = 'COMPLETE'
order by r.start_time
What Warehouse Builder provides you is a web-based application built on top of the runtime views.
Thanks,
Mark.

Similar Messages

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • How to get the "Document info" in illustrator cs?

    Hai all,
    I need to know how to get the counting of RGB objects, CMYK Objects and Grayscale Objects information for illustrator vector(editable) file.
    In illustrator raster image file, i need to know how to get the Embedded image information(Resolution, Mode).
    I collect these infomation manually from "Windows->Document info". I saved the "Document Info" details in illustrator manually using "Document Info Pannel". I dont know how to save that information through "illustrator sdk" or through any other way without manual interaction. Could you please advice me. This is for windows operating system.
    Thanks,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to get the "Document Info" in illustrator

    In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
    Regards,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to get the system info in a network

    Hi to all.
    can any one tell me how to get the system related,like system name and logged user ,info in a network using java...
    thnx in advance,
    ashok

    There is quite a bit of data that is stored in the System Properties. Run this little test app and it'll display all of the System Properties, what you are looking for may be contained in there:
    public class Test {
        public static void main(String[] args) {
            System.getProperties().list(System.out);
    }

  • How to get the channel info of the image

    I insert an image into the view. I want to get the channel info of it, how to get it?

    I'm not an image expert but I'm pretty sure what you want can be found in the AIRasterSuite (AIRaster.h). I'd check there, if you understand image channels & whatnot, you're more likely to know than I if that's what you need.

  • How to get the cell info?

    You all know that, on our mobile we used to get the cell info ( Tower Name ). How to access that in our J2ME application?
    John

    Hello txflwr48! I regret the difficulties you've been having while activating your new phone. I'd love to help, but I recommend that we take our conversation to direct message instead of here in the public forum. If you have not yet gotten your device activated, please follow these steps to follow my handle (DionM_VZW) send me a direct message: http://vz.to/1gBiqkv
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • How to get the groups info for user

    Hi guys i am new to ALUI..
    i am trying to do some enhancement.
    i want to know how to get the information of the users group and the group details using the IDK API?
    Can sombody share some code?

    Hello,
    You are welcome. Here is one way of get what you want:
    1) get all groups id's
    IPortletContext - >IRemoteSession -> IUserManager - > getCurrentUserGroups() -> int []
    2) get details about group
    IRemoteSession.getObjectManager(ObjectClass.UserGroup ) ->
    cycle over int []: {
    IObjectManager -> querySingleObject(comminity id) -> IObjectQueryRow -> getName()
    Because you are going to use PRC and make SOAP calls to portal don't forget setup WS to pass token to portlet (check WS settings)
    Edited by Bryazgin at 05/29/2008 7:48 PM

  • How to get the user info within a BSP.

    Hello all,
    can anybody tell me how to find the details of User information (logged in user) from the BSP page.
    Thanks in advance.
    Vicky.

    Hello Alwyn, Thomas Ritter, Thomas Yung,
    thanks for your helpful replies. 
    Alwyn, I did assigne an internal table accordingly.  Still, it is not working.  I am not getting any result.
    Thomas Ritter, I could avoid the exception with your trick.  It was helpful.
    Thomas Yung, though I know about the pattern button, I did not use it.  But your comment made me aware of it.  It was helpful.
    But ultimately, my problem is not solved. I am not getting the result.  My write statement is returning nothing. 
    My modified coding is as follows:
    DATA:  RefUser like BAPIREFUS ,
           Alias   like BAPIALIAS,
           UserName like BAPIBNAME-BAPIBNAME,
           itab_return like BAPIRET2 occurs 0.
    MOVE SY-UNAME to UserName.
    try.
    CALL FUNCTION 'BAPI_USER_GET_DETAIL'
        EXPORTING
              USERNAME             = UserName
        IMPORTING
              REF_USER             = RefUser
              ALIAS                = Alias
        TABLES
              RETURN               = itab_return .
    catch cx_root.
    endtry.
    Write:  RefUser, '  ' , Alias .

  • How to get the limited help manual for CS4

    CS4
    When I click the help button on Encore CS4 I get something besides the normal help.
    It only seems to be Encore where that happens.
    Premiere
    AfterEffects both go to the online help manual but not Encore.
    When clicking help I get this sorry guff:
    http://www.adobe.com/support/encore/?trackingid=DYNPX
    And I see no way to get to the regular manual from there.
    (Encore seems the only one of CS4 Production Premium that gets this type of help page)
    I want this kind of manual page (This is for Premiere CS4):
    http://help.adobe.com/en_US/PremierePro/4.0/index.html?trackingid=DYNQG
    Like the one available for Encore CS5:
    http://help.adobe.com/en_US/encore/cs/using/index.html:

    Yes, this is inconvenient.
    To confirm and add just a bit, when you click "help" in CS4 Encore, your browser first goes here:
    http://help.adobe.com/en_US/EncoreDVD/4.0/search.html?AH_ION=true
    which is redirected to this next page (which is a very general Encore help page with a primary link only to CS5 encore help):
    http://www.adobe.com/support/encore/?trackingid=DYNPX
    You want to go here:
    http://help.adobe.com/en_US/EncoreDVD/4.0/
    Option 1: put a shortcut on your desktop for the last link.
    Option 2: From the page you go to, click on CS5 help, then when you get there, use the little link at the bottom right to switch to CS4.
    I'm not sure who handles these issues.  I wonder if Todd Kopriva will visit and tell us if I use his name in this post?  It seems to me that once he had a method for redirecting something, but I didn't find anything in a quick search.

  • Found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    Try using Siri and ask "Who's phone is this?" It should give you the name, number, and email address of the owner. Also, you can try swiping to unlock, select Emergency, then see if they have a Medical ID set up. If they do, they may have the name of a contact with a phone number listed.

  • HOW TO GET THE SELECTED VALUE IN A ROW FROM ONE VIEW TO ANOTHER VIEW?

    hi all,
    I  have a small issue.
    i have created two views.In the table of the first view i'm selecting a row and pressing the button it will move to next view.
    i am adding some fields manually in the table of the second view and pressing the save button.Here all the values should get updated corresponding to the field which i have selected in the first view.
    I want to know how to get the particular field in the selected row from one view to another view.
    Kindly help me.

    Hi,
            Any data sharing accross views can be achiveved by defining CONTEXT data in COMPONENT CONTROLLER and mapping it to the CONTEXT of all the views. Follow the below steps.
    1. Define a CONTEXT NODE in component controller
    2. Define same CONTEXT NODE in all the views where this has to be accessed & changed.
    3. Go to CONTEXT NODE of each view, right click on the node and choose DEFINE MAPPING.
    This is how you map CONTEXT NODE and same can be accessed/changed from any VIEW or even from COMPONENT CONTROLLER. Any change happens at one VIEW will be automatically available in others.
    Check the below link for more info regarding same.
    [http://help.sap.com/saphelp_nw04s/helpdata/EN/48/444941db42f423e10000000a155106/content.htm]
    Regards,
    Manne.

  • How to get the list of top 10 tables grown last week or last few days

    Hi All,
    Please let me know, how to get the list of top 10 tables grown last week or last few days
    Thanks

    Please let me know, how to get the list of top 10 tables grown last week or last few days1.Oracle Version and OS info please ... ALWAYS
    2.Do you have licensing options (Tuning and/or Diagnostics Pack) ?
    3.Have you ran AWR/Statspack in last week or last few days
    1.Because Oracle do not store auto tack the history of tables growth. See below link where one user has showed the possible way of manual track of table(s) growth :
    Re: oracle tables growth
    2.MOS Note for How To Get Table Growth History Information? [ID 1395195.1]
    3.If you are in 10g than EM of 10g has something called Segmnet Statistics which can show you the growth of your table.
    4.Other clue :
    SQL> select * from table (dbms_space.object_growth_trend('SCOTT','EMP','TABLE'));
    TIMEPOINT                                                                   SPACE_USAGE SPACE_ALLOC QUALITY
    17-SEP-12 11.06.20.228000 AM                                                       1593       65536 GOOD5.A good script by Mice Ault for historical growth of segments within AWR:
    http://www.dba-oracle.com/t_table_growth_reports.htm
    Regards
    Girish Sharma

  • How to get the list of unviewed Instances?

    Hi All,
    Can anyone tell me how to get the list of unviewed instances?
    I want to get all the instances which have been scheduled but not viewed.
    Please help me on this.
    I tried to get the info from audit report but i could not able to achieve it.
    is it possible from query builder?
    Thanks,
    Nagaveni

    Hi Ravi,
    Thank you for the reply!!
    Then it is not possible to get the unviewed reports.
    how does it work if i create a audit report with Viewed status and list of all instances then we can filter out the unviewed reports.
    Does above solution is going to work?
    i have not tried yet, seeking your opinion.

  • How to get the CLIENT OS USER NAME using Apex

    Dear All,
    I know there are many other posts (some of them are very old) discuss about this issue. But unfortunately most of the posts endup with NO PROPER ANSWER. But still I believe that tehre has to be some way to do this. So this is my requirement.
    I am using custom authentication module and I want to get the CLIENT MACHINE OS USER NAME for that. But I do not want to do any authentication against the client user domain.
    How can I get this?
    * There are some other way to get this using VB Scripts. But thats not a real solution for this due to followings
    01. User has to manually allow to run VB scripts. So if user dissable that then we canot get the required info
    02. Its working only with specific browsers(Mainly in IE and also we can get that thing work after installing plugins to Firefox.). So this is also depends with the bvrowser and plugings.
    What I want to do is to get this info using a common way which is not depends with the browser or any thirdparty plugins.
    Thanks,
    Alex

    Its good that you did some searching in the forums before you posted the question.
    Most modern browsers would consider what you require as a security/privacy issue and prevents such information from being transmitted available(easily). IE might let you pull out this using a VB script or activex control. Browser specific addons/extension could work but they need some kind of installation to start with. Java could be a way to do it with all browsers, but the end user still has to grant access before it can do any such thing.
    Lets say you were able to pull out such information from an end user, what would be next, get his mail id from outlook ? , access his browsing history, steal credit card information or read cookies?
    Add to that , what if the end user accesses it using any other OS(linux,macintosh or even a smartphone) ? what about windows vista and windows 7 OS's , are you going to write code to handle all those cases too ?
    Here's a blog posting which explains using NTLM authentication with Apex(it still needs configuration from the end user)
    What I want to do is to get this info using a common way which is not depends with the browser or any thirdparty plugins.I guess if this is the question, then the answer would have to be no. I don't think you will be able to find a method that passes this information from the client side without any modification/configuration at their side

Maybe you are looking for

  • Labor for purchase - How do we handle that?

    Hi Forum, When an item is Labor or Travel, it is available only for sales? How do you handle a Contract Wage that you buy for 75 dollars an hour but sell it for 150 dollars an hour? Yes we can make the above item a non-inventory regular item (that is

  • Just got a new mac pro and can't manage to set a password and keep it.  It keeps telling me I have the wrong password.

    Just got a new mac pro and can't manage to set a password and keep it.  It keeps telling me I have the wrong password.  I want to start over and I can't even get back in to do this bc it won't take any of my passwords.  How can I start over completel

  • Bridge CS3 no longer renders RAW thumbnails

    Running PSE9 on OS 10.8.2 Mountain Lion.  Also running Bridge CS3 2.1.1.9 that I believe came bundled with PSE4 and which I have become fond of using as a tool for importing photos and other steps early in my workflow.  I shoot almost exclusively in

  • DVD menu, overlay question

    Hello fellow DVD menu builders, I need your help. I created a menu in Photo with different layers, I flattened the image to .pct: one is the background, the other is the overlay where the word itself should turn a white color when it is activated. It

  • How to mask url ?

    Could any one please let me know, is there any way to mask the URL? If so please provide steps to do it.... Regards, Manoj Edited by: 882468 on Sep 21, 2011 7:37 AM