Record count after load

Guys,
Once we load the data from flat file into oracle source table through external table ,if i want know how many records are inserted and how many are bad and total in the file.
I need to send a audit report in the end.
I also need similar count when insert into target tables from source tables through interfaces.
Client want's like this for audit purposes after sucessfull batch load.
Any ideas..
Cheers
Sri

Hi,
You can use getPrevStepLog() Method
to capture the most recently executed step in a package.
INSERT_COUNT : Number of rows inserted by the step.
DELETE_COUNT: Number of rows deleted by the step.
UPDATE_COUNT: Number of rows updated by the step.
ERROR_COUNT: Number of erroneous rows detected by the step, for quality control steps.
http://gerardnico.com/doc/odi/webhelp/en/ref_api/getprevsteplog.htm
Thanks,
Sutirtha

Similar Messages

  • MINUS operator fetches invalid record count

    Hi,
    One of the application team complained that oracle MINUS operator fetches an invalid record count after data load.
    Here are the details of the data load:
    They are using source as PROD and target as UAT.
    They are replicating the data on UAT environment in schema A from fetching the data in PROD from the same schema.
    After load when we query the count of records in UAT it shows more records in target, that is in UAT, than PROD.
    When they use MINUS operator to fetch the extra records in UAT, it shows no rows selected.
    SQL> select 'A' count(1) from A.UAT union all select 'A' count(1) from A.PROD@BISLSPD1;
    A COUNT(1)
    A.UAT 19105022
    A.PROD 19104995
    SQL> select distinct count(*) from (select distinct DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.UAT minus select distinct DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.PROD@BISLSPD1);
    COUNT(*)
    0
    SQL> select distinct DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.UAT minus select distinct DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.PROD@BISLSPD1
    no rows selected
    Please note that both are partitioned tables and they are using Informatica Data Replication 9.5 tool to populate the data from source to target.
    Not sure if this could be a bug or an issue.
    PROD DB Version: 10.2.0.5
    UAT DB Version: 10.2.0.5
    Both are in Linux 2.6
    Please throw some light on this.

    974065 wrote:
    SQL> select 'A' count(1) from A.UAT union all select 'A' count(1) from A.PROD@BISLSPD1;
    A                  COUNT(1)
    A.UAT                     19105022
    A.PROD                   19104995
    SQL> select distinct count(*) from (select distinct  DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.UAT minus select distinct DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.PROD@BISLSPD1);
    COUNT(*)
    0
    SQL> select distinct  DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.UAT minus select distinct DW_DISCOUNT_KEY, DW_DISCOUNT_MODIFIER_KEY from A.PROD@BISLSPD1
    no rows selected
    Given that you've go "distinct" in your query, you're eliminating duplicates from each table (and MINUS implicitly means distinct anyway). Check for duplicates (of dw_discount_key, dw_discount_modifier_key) in both tables.
    If the combination is actually unique, I would check that you actually had the raw results the right way round - MINUS is not symmetrical, and for a complete picture you need to look at (select from uat minus select from prod) union all (select from prod minus select from uat)
    Regards
    Jonathan Lewis

  • Sequence - Record count is double

    Hi Experts,
    I have requirement to move the data from from one table to another in Oracle.
    I have created a sequence for autonumber and the same attribute has been defined as primary key as well and using IKM sql Control append.
    When the data is being transfered to target table actually count is double or 3 times of origianl count.
    Please suggest me how to resove this.
    Regards,
    Preet

    Hi ,
    Can you please check the operator log :- number of inserts for I$ table and main table.
    And find which step is giving issue.
    please copy that query here.
    Other details needed :-
    Source record count.
    Target record count before execution
    Target record count after execution
    I$ record count
    Any joins ?
    Regards,
    Rathish A M

  • Data Load : Number of records count

    Hi Experts,
              I want to document number of records transferred to BW during an infopackage execution.
              I want to automate the process by running a report in background which will fetch a data from SAP tables about number of records been transfered by all my InfoPackage .
    I would like to know how should I proceed with.
             I want to know some System tables which contains same data as that of RSMO transaction displays to us.
    Kindly help with valuable replies.

    HI,
    inorder to get the record counts report you need to create a report based on below tables
    rsseldone, rsreqdone, rsldpiot, rsmonfact
    Check the below link which explain in detail with the report code as well.
    [Data load Quick Stats|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90215bba-9a46-2a10-07a7-c14e97bdb764]
    This doc also explains how to trigger a mail with the details to all.
    Regards
    KP

  • Record count is different for Full load and Init with data transfer

    Hi all,
    We have a data source for which delta is enabled on Calendar Day.
    If I run the full load record count is 2670.But If I run the delta record count is 2665.5 records are missing.
    Would you please help on this.Why those records are missing.

    Hi,
    Actually for Full Load say you have 50 records. When you run it will upload 50 records.
    Now if you run delta if there is no records changes it wouldnt update because there is no update in the existing records.
    only delta is done when there is changes in the records.

  • Invalid record count - grey screen- Target Mode Cures

    Hi there,
    I have a common problem: I was doing nothing particular that I remember: No fancy file uploads, doanloads, creation, erasing - nothing special:
    Anyway after a customary week, or few days of leaving the macbook permanently on, I think "let's give it a rest".
    Then switch back on:
    - Grey screen, spinning grey progress wheel fine.
    - Takes a while. Strange. After say a minute - it just switches off wordlessly.
    - Reset PRAM: No solution. Take a look with single-user startup in console: Files are all there, OK. Disk not dead.
    - Start up from OS X 10.5 disk:
    Permissions repair fine. Good.
    Verify disk: FAIL! +*Invalid Record Count.Volume check failed.*+
    Next: *Try target disk mode to back up essentials* - that works fine: I now have Time Machine AND a smaller important essentials backup.
    But finally, here's the surprise: Just for kicks, I *shut the macbook down, try a reboot - and it works!*
    But I note that root system files are unchanged since the problem occurred: ".hotfiles.btree" for example (I don't know what that is but suspect it's relevant).
    Then: I tried restarting again - and back to square one, it won't boot.
    Do the "Target disk" firewire mode trick again, and browse a few folders: And it boots (slowly).
    If I just leave the Macbook on permanently - everything seems fine. Not even sluggish.
    So:
    - Why can connecting a disk with an incorrect file system in target disk make the system forget about these problems when booting?
    - Why does the problem return on a successive reboot?
    - Is it related to some system files being ignored if booting straight after a target mode session?
    - What is ".hotfiles.btree", and should it not exist ?
    And the big one:
    - +Can extended Applecare, wot cost me loads of money, help me?+

    Hi Cornelius:
    Having been a faithful Apple-groupie for a while, and despite some problems over the years (hard drive failing, screen going, etc.) this is the first time I'm disappointed with them, because theor Micromat Applecare deal is a ripoff:
    You fork out for Applecare extension: All you get is something that say "Yep, you've got a problem. Now go and buy techtoolpro".
    That is, the TechTool Deluxe is practically useless. Argh.
    Worse: They keep that rather quiet. If you run TechTool deluxe, and it fails: It points you to the Techtool site to
    "download the TechTool Deluxe software with diagnostic and repair capabilities".
    You think "Aha, right, I need an update, or a DMG rather than just the executable".
    Download another 1.25Gb.
    So you try again: Same thing.
    The chiselling little crooks, to quote Ken Livingstone, won't even come out and say "Buy TechTool Pro to fix it". The website as reported above is wrong.
    Result: I'm not happy with them. And I'll never buy anything off Micromat.
    In the meantime, I've got a bootable backup thanks to CC-Cloner (excellent, I'll send him some money), and I'm waiting until I don't have any critical deadlines to allow myself time to restore a daily bootable backup.
    The dodgy files seem to be the Sun Developper Java suite according to CC Cloner.

  • Report with all Data Targets in Production and Record Count

    Hi,
    I am planning to create new report to handle some production maintenance work.
    How do I create a report with list of each ODS and Cube and count of Active record count? Can I use any report in BW statistics and modify based on my requirements?
    And also "Last Activation Date" is required.
    Any suggestions? Please do let me know.
    Thanks
    Anand.

    Hi,
    The load might be taking too mucjh time as the system is busy.
    wait for some time (30 mins) and see if the load goes thru
    The load might have strucked up.
    Change the request to red and reload data.
    after doing initwith out data load, Run Delta.
    Cheers,
    Srinath.

  • Leaf Record Count???

    Hi
    I've never had any probs with my powerbook g4 until last week when it started to operate at a very very very slow pace and sometimes not connecting to my desktop (grey screen only after the apple logo). After running the disk repair from disk utility everything repaired apart from the leaf record count - which said:
    "Invalid leaf record count
    (It should be 6 instead of 53)"
    Does anyone know what this means? My mac started working ok again after repairing it despite this,but on Friday my mac wouldn't connect to anything on my desktop and the mouse arrow just kept turning into the spinning disk as if it was loading something but to no avail. Today it's working ok again but at a slow pace and when running the repair disk again in disk utility it says everything is fine apart from this leaf record count again - is this whats causing the problems? And if so, how do I repair it?

    Keelyb24:
    Joeuu is correct. Here is documentaton: Mac OS X 10.3: Disk Utility reports inaccurate "Volume needs to be repaired" message when checking Mac OS X 10.4 volume. If you used a Panther install disk for running DU, i suggest you try it from the Tiger install disk.
    In terms of your slow computer, that is another issue. Take a look at Dr. Smoke's FAQ Tuning Mac OS X Performance and see if you find anything there that helps. If the problem persists, please post back with further questions or comments.
    Good luck.
    cornelius

  • BI 7.0 - Duplicate Record Error while loading master data

    I am working on BI 7.0 and I am trying to load master data to an info object.
    I created an Infopackage and loaded into PSA.
    I created transformation and DTP and I get an error after I execute the DTP about duplicate records.
    I have read all previous threads about duplicate record error while loading master data and most of the them suggested to check 'Ignore duplicate records' option in the infopackage. But in 7.0, I can only load to PSA with infopackage and it doesn't have any option for me to ignore duplicate records.
    My data is getting loaded to PSA fine and I get this error while loading to info object using DTP.
    I would appreciate your help to resolve this issue.
    Regards,
    Ram.

    Hi,
    Refer:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/45/2a8430131e03c3e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d0/538f3b294a7f2de10000000a11402f/frameset.htm
    With rgds,
    Anil Kumar Sharma .P

  • After loading Lion 10.7 I'm no longer able to use Quicken 07. Any work around?

    After loading Lion 10.7 to my Desk Top, I'm no longer able to use my Quicken 07. Is there a work around? All my financial records are in Quicken 07 or do I need to remove Lion 10.7 from my computer

    Quicken is a PPC application. They will not work in Lion because Lion no longer supports Rosetta emulation.
    1. You can downgrade to Snow Leopard.
    2. You can switch to Quicken Essentials.
    3. You can purchase a different application that provides similar services for you. Examples are MoneyDance or MYOB.
    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard. I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.

  • What event should I use to grab the record count of a DataGrid?

    I have a "Go" button on a search form.  It works correctly, fetching records from a CF data service into a data bound DataGrid.  However, using the code shown below, the record count always shows zero.  I've tried putting the "..Provider.length" line shown below, into various events on the grid, so that it will always update the count at the correct time, but I get "null" object errors at run time. There seems to be no event that fires "AfterDataLoad".
                protected function btnGo_clickHandler(event:MouseEvent):void
                     getSBJsResult.token = baa_data_svc.getSBJs(cmbSrch.text);
                     tabSbjs.label = 'Subjects: ' + grdSBJs.dataProvider.length;    //  This always returns zero.  Why?

    For example, this doesn't work.  The grid is told to loaded data on line 1, but this must just be only a message send to the Flash Player 10, because the processing doesn't stop and wait for the loading of data to complete, it just continues on to line 2, at which point '...Provider.length' is always zero the first time through.   So... the NEXT time the user clicks the Go button, line 2 is processed for the DataGrid which is holding data from the PREVIOUS search, so it updates the tabSbjs.label with the count from the previous search, not the current search.  The count of records is always for the previous data set.
                protected function btnGo_clickHandler(event:MouseEvent):void
    1               getSBJsResult.token = baa_data_svc.getSBJs(cmbSrch.text);  // edtSrch.text
    2               tabSbjs.label = 'Subjects: ' + grdSBJs.dataProvider.length;                                                                            
    All I'm trying to do is (which seems like a very difficult thing to do in FB4):
    -Display a DataGrid popluated with data records
    -Display a count of how many records are in the data grid
    If I rely on CF9 functions, which can only return a single value, then I have to make two CF9  functions, with the exact same SQL, one that returns data, and one that returns a count of the records.... which is non-sensicle.
    There must be a simple way to do this, but I'm going around in circles.

  • Blank records on transactional load

    Hi All,
    I am doing a transactional delta load into a cube.  When I look at the record counts in the cube, they are doubled what was in the PSA.
    The 'good' record gets loaded with all the correct fields and key figures populated.  But also, a similar record is loaded with the same item number,  store, etc. but all the key figures are 0, and the time characteristic 0FISCPER is blank.
    So it appears that each record being loaded from the source, has a corresponding 'bad' record.
    When I look at the load into the cube using the monitor, it looks like the record doubling is happening in the update rules. When I look in the update rules, they are directly mapped to the fields in the transfer rules, so I'm not sure why this doubling is happening.
    Has anyone seen this before? 
    Thanks
    Charla

    Hi,
    All of my key figures are directly mapped to my transfer rules, so there is no calculation happening in the update rules.  There are only two routines in my update rules, both for characteristics.  I commented the code for those routines and reloaded, the blank records are still being loaded.
    The problem is very strange, because I'm not doing anything fancy in these update rules.
    Any other suggestions?  Could there be setting on the cube somewhere?
    Thanks
    Charla

  • Standard report which gives Record count of ODS, Cube and Source system.

    Hi-
    Is there any standard report which gives the record count of ODS, Cube and Source system?
    or
    If any one has ABAP program which takes care of record count pls let me know.
    Thanks in advance

    I don't understand. You need to check the data loads. What for do you want a list of ODS, Cubes and sources systems?
    You can use messages from process chains to monitor the data loads.
    You can also use an abap program inside teh process chains to save data into a table and then an abap report to see if everything went OK.
    But, thinking again, you may be able to use BW statistics to get some of the information you need. Check the help for BW statistics, it might give you an idea of what you can do.
    Regards,
    Diego

  • Oracle 10g - Insert in to Temporary Table - Record count mismatch between s

    We are trying insert records from a select query in to temporary table, some of the records is missing in the temporary table. The select statement is having multiple joins and union all which it little complex query. In simple terms the script contains 2 part 1st Part Insert in to temporary table 2nd part Select query with multiple joins, inline sub queries, unions and group by classes and conditions
    Eg. If we execute select statement alone it returns some count for example => 60000 After inserting into the temp table, in temp table the count is around 42000 why is the difference?
    It is simple bulk inserts... insert in to temp table select from xxx. also, there is no commit in between. The problem is all the records populated by the select statement are not inserted in to temp table. some records are not inserted.*
    Also, we had some other observation. It only happens in its 2nd execution and not its first run. Hope there might be some cache problem
    Even, we also did not believe that. We are wondering. In TOAD, we tested however at times it happens. In application jar file, after "insert in to temp select * from xxx" we take the i. record count of temp table and ii. record count of "select * from xxx" separately but both doesn't match. Match only at 1st time.
    Thank you in advance for your efforts and help.
    Shiva.

    The code looks like
    sql = "insert in to temptable select x,y,z,.... from xxx,abc,pqr..where...."; (logial but not real is very complex around 700 lines with multiple joins, inline sub queries, group by etc. )
    stmt = conn.createStatement();
    rCount= stmt.executeUpdate(sql);
    Actual issue is
    rCount = xxxx = Count(temptable) < count(select x,y,z,.... from xxx,abc,pqr..where....)
    why this diffference ? some records populated in the select but not inserted in to temp table
    Anyone can explain?

  • FPB7 Create Payment Lot after loading Manual Bank Statement

    Hello Everyone,
    My question is can we create payment lot after loading Manual Bank Statement(FF67).
    Thanks,

    Hi Imitiyaz,
    Transaction code-FF67 (Manual bank statement) is used to enter the bank statement data manually via dynpro. Moreover, since it contains no front end controls so it can be called via batch. You need to develop a custom program to cater the requirement.
    You can create a program which creates batch input sessions for transaction FF67. Use transaction SHDB to record the transaction in order to see program, dynpro and field names.
    Hope it helps...
    Thanks,
    Amlan

Maybe you are looking for

  • How many times can you type in your password on the restrictions

    I need help

  • Consuming BRM Webservice in Web Dynpro on NW 7.3

    Hello, I've got a big problem comsuming a Business Rules Management (BRM) Webservice (Netweaver 7.3) in my Web Dynpro app. In WSNavigator the webservice is running fine and fully functional. I created a custom controller by using the "apply template"

  • Need some help in Adobe 9

    We recently got couple new Dells with Windows 7 and Adobe 9 preinstalled.   I am trying to get a PDF from online and print to PDF so I can have a copy on my machine.   For some reason, from this particular site, We were asked not to open and save ont

  • After 2.0 update, WiFi still connects, but won't load pages or any internet

    So I had just used the IPod touch to hit some web pages, look at weather, stocks, youtube etc... an hour later.... installed the 2.0 update with the New York Times app, now I still connect to my access point, renewing IPs still work, It IS connected

  • Problems with RAW file conversion in PS5?

    I recently updated Photoshop and Lightroom to PS5 and LR3.  Never had any problems when I moved between the two programs before.  Now, when I open a RAW photo (jpegs are fine) into PS5 there is a colour/contrast shift which gets saved when I import i