Last transaction date on any table for monitoring operation on it

Hi All,
I will be very thankful to you, if suggest some method for knowing the
latest date-time of dml operation on any table.
best rgds

Investigate LogMiner @ OTN. How to use it depends greatly on your Oracle version.
If you have a very specific need to know this for some very specific tables, you are better off writing triggers and writing some logging information to a table.

Similar Messages

  • Vendor with last transaction date

    Hi,
    Can I generate any report which contains all vendors with last transaction date? THis is for audit purpose.
    Thanks & Regards,
    Rajaneesh.C

    Hi,
    You can take the report of the  FI accounting document for all vendors based on the company code and the posting date ( input the present date) in the T code- S_ALR_87012991.
    regards,
    Kannan B

  • Need a report_Batchwise Mvt type last transaction date qty

    Dear Gurus
    Please suggest me any standard report or Table for display below report.
    Batchwise>Mvt type>last transaction date>qty
    thanks in advance
    Mayur

    Hi,
    MB51 --- Material documents list.
    Regards,

  • Item details with Last Transaction Date ?

    Hi,
    Please help someone to fine tune this query :-
    Select ILLITM,ILDOC, ILDCT, ILTRDJ
    FROM CRPDTA.F4111
    where ILTRDJ in (Select max(ILTRDJ) FROM CRPDTA.F4111);
    The above query is returning the latest transaction date with Item details.
    But expected output is: Every Item with last transactional date.
    Hope I am clear on the above requirement please.
    Thanks in advance.
    RAM

    you can use table alias for this
    Select ILLITM,ILDOC, ILDCT, ILTRDJ
    FROM CRPDTA.F4111 tab1
    where tab1.ILTRDJ in (Select max(tab2.ILTRDJ) FROM CRPDTA.F4111 tab2);
    or if you are using this query inside any PL-SQL block , you can use a variable to hold max(ILTRDJ) and then use this variable in query.

  • Storage Location last transaction date

    Hi All
    What particular transaction code or report will I can find storage location last transaction date?
    We'll be using this for our PID
    Thank you
    Jesielle

    Hi  Shiva Ram         
    Aside from tcodes MB51 and MB5B. Is there any other report wherein it only shows the storage location codes with last transaction date?
    Thanks
    Jesielle

  • Vendor last transaction date

    Hi,
      I want to show vendor last transaction date. How we can get it.
      Thanks in advance.
      Regards,
    Moderator message : Requirements dumping not allowed, thread locked.
    Edited by: Vinod Kumar on Dec 9, 2011 5:42 PM

    Hi,
    You can take the report of the  FI accounting document for all vendors based on the company code and the posting date ( input the present date) in the T code- S_ALR_87012991.
    regards,
    Kannan B

  • How do we use Data rules/error table for source validation?

    How do we use Data rules/error table for source validation?
    We are using OWB repository 10.2.0.3.0 and OWB client 10.2.0.3.33. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    I reviewed the posting
    Re: Using Data Rules
    Thanks for this forum.
    I want to apply data rules to source table/view and rule violated rows should go to defined error table. Here is an example.
    Table ProjectA
    Pro_ID Number(10)
    Project_name Varchar(50)
    Pro_date Date
    As per above posting, I created the table in object editor, created the data rule
    NAME_NOT_NULL (ie project name not null). I specified the shadow table name as ProjectA_ERR
    In mapping editor, I have projectA as source. I did not find error table name and defined data rules in table properties. It is not showing up the ERR group in source table
    How do we bring the defined data rules and error table into mapping?
    Are there any additional steps/process?
    Any idea ?
    Thanks in advance.
    RI

    Hi,
    Thanks for your reply/pointer. I reviewed the blog. It is interesting.
    What is the version of OWB used in this blog?
    After defining data rule/shadow table, I deployed the table via CC. It created a error table and created the all the source coulmns in alphabatical order. If I have the primary key as 1st coulmn (which does not start with 'A') in my source, it will apprear middle of of columns in error table.
    How do we prevent/workaround this?
    If I have source(view) in sch A, how do we create Error table in Sch B for source(view)?
    Is it feasible?
    I brought the error table details in mapping. Configured the data rules/error tables.
    If I picked up 'MOVE TO ERROR' option, I am getting "VLD-2802 Missing delete matching criteria in table. the condition is needed because the operator contain at least one data rule with a MOVE TO ERROR action"
    On condition Loading - I have 'All constraints' for matching criteria.
    I changed to "no constraints' still I get the above error.
    If I change to 'REPORT' option instead of 'MOVE TO ERROR' option, error goes off.
    Any idea?
    Thanks in advance.
    RI

  • How to pull a last DML done on any table

    Hi Gyans,
    Is there a way for to pull the last DML done on any table, using normal sqlplus - if not then let me know the tool which you can use to do the same.

    Have you gotten ora_rowscn to work ?
    SQL> select scn_to_timestamp(max(ORA_ROWSCN)) from TABLE1;
    SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN))
    22-SEP-08 01.13.30.000000000 PM
    SQL> insert into table1 values(8);
    1 row created.
    SQL> select scn_to_timestamp(max(ORA_ROWSCN)) from TABLE1;
    SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN))
    22-SEP-08 01.13.30.000000000 PM
    SQL> alter system switch logfile;
    System altered.
    SQL> select scn_to_timestamp(max(ORA_ROWSCN)) from TABLE1;
    SCN_TO_TIMESTAMP(MAX(ORA_ROWSCN))
    22-SEP-08 01.13.30.000000000 PM
    SQL> select sysdate from dual;
    SYSDATE
    23 SEP 2008 17:05:07

  • How to find the last executed date of any program?

    <<Frequently asked questions. So search>>
    How to find the last executed date of any program?
    is there any system variable or function module?
    Edited by: Matt on Oct 5, 2010 12:48 PM

    check the transaction STAD.
    Prabhudas

  • Last transaction date

    hi experts,
    I want to write a daily report to show a item's history, not only last sales, purchase date, but also last transaction date(includes production, inventory transfer, issues and receipts).
    I know OITM and OITW can get Stock, unit price, last purchase date and last sales date, but where can I get the last transaction date and info such as item post list? Thanks...

    Try this one:
    SELECT   T0.ItemCode, T0.ItemName, T0.Onhand, Max(T1.DocDate) 'Last Trans Date'
    FROM        dbo.OITM T0
    INNER JOIN dbo.OINM T1 ON T1.ItemCode = T0.ItemCode
    WHERE T0.ItemCode Like '[%0\]%'
    GROUP BY T0.ItemCode, T0.ItemName, T0.Onhand
    Thanks,
    Gordon

  • To find last updated date in sql developer for a procedure or a function

    hi
    how to to find last updated date in sql developer for a procedure or a function.
    i m using sql developer version in 1.2

    I think you are in the wrong forum...
    Anyway you can try
    select * from
    all_objects o
    where o.object_type in ('FUNCTION','PROCEDURE');
    you have there the created date, last DDL and timestamp

  • Any table for backup timings

    Hey , is there any table which gives us the time it took for a backup .....i am using rman catalog .
    thanks
    Pankaj

    I dont know if exists any table for this.
    But You can use the 'log' parameter.
    As:
    rman target=user/password@your_sid log='/home/oracle/log/full_backup.log'

  • Any table for the data in ODS, PSA, INFOCUBE

    Hi All,
          We are loading data to PSA and then to ODS and then to INFOCUBE , in such condition is there any table where we can check the number of data that can be loaded in each run into  PSA and then to ODS and then to INFOCUBE .
       When u check the data in the PSA you will see (Suppose):
                        Processing          PSA
                        Update Mode       Full update
                        Records Check    32 Records Received
    Now here it is showing the number of data loaded to PSA then there must be one table where it is loading the data ..
    Do anyone have the idea  about the table.
    Thanks,
    Gautam

    Hi,
    You can check the data in the PSA table and Active table of ODS.
    PB

  • How to extract data from monthly tables for annual balance chart?

    Hello Again!
    I am wanting to decide whether to enter all of my transactions into one table for the whole year or separate tables for each month. If I was to use one table for the whole year it would probably have in the region of 1000 entries, and as I understand it, Numbers doesn't work so well with such large tables. Also, as I will be mostly using Numbers on my iPad, where it runs slower, this may well slow things down considerably. Another reason for using Monthly Tables is that it would be easier to search.
    Having said this, I am using the following method to construct balance charts for my accounts which seems to depend on having just one table for all transactions for the year. Here is a sample of the transactions table:
    which updates the balance for each account after each new transaction is entered.
    Then I use the following table for creating the balance charts:
    It uses the following formula to return the balance at the end of each week for each account (this is the formula for Account 1) which then is displayed in the chart.
    =LOOKUP(A2,$Week Number,All Transactions :: Account 1)
    If I was to use the Monthly Tables method it is not obvious to me how I would create the Weekly Balance Table, given that I would need to draw data from 12 different tables, and that some of these Tables would contain the same Week Number (for weeks that overlap months).
    I would be grateful for any advice on achieving the result I am looking for by the most efficient method.
    Thanks
    Nick
    P.S. Hopefully this is the last question for a while!

    I wasn't urging you to keep an annual table but to spit it on an easier to rule basis.
    Split it in chuncks of exactly 35 days starting from the first one of the 'year' in operation
    Doing that everything will be easier
    the index of a day will be calculated by
    =DATEDIF(B,D,"D")+1
    The index of the 'custom_week' will be calculated by :
    =1INT((DATEDIF(B,D,"D")1)/7)
    So, it would be easy to gather datas from a given 'custom_week'.
    Yvan KOENIG (VALLAURIS, France) jeudi 5 août 2010 10:22:25

  • Last Transaction Date Report

    hi
    I'm trying to run a report in order to audit our database of suppliers (over 1000) (supplier records managed in symmetry)
    I need to see against every supplier the last date that we paid them so that I can identify the ones not used in the last 2yrs and disable them.
    the closest report I'm getting is one that shows every payment date for every supplier and is so large that I'm running out of space in excel when exporting the report.
    Any advice on what items to select and parameters to set in order to get this report would be much appreciated!!!!!

    My suggestion is to use the vendors table (PO_VENDORS) and the checks table (AP_CHECKS_ALL). Bring in vendor id, vendor name, and check date. Use a Last_Value function on check date to return the last check date for the vendor. See if that might work out. Or if having trouble with that, define the join in the business area between the vendors table and the checks table to be an outer join on detail, that will return master rows with no detail and master rows with matching detail. Take out check date from the format and add sum of amount to the format. Then edit for a check date (say >= '01-Jan-2008') that if you don't have any activity for after that date, then you want to get rid of those vendors. Run the workbook and any vendor with no activity will show as a NULL value for sum of check amounts (so have to add Amount(SUM) from the checks table to the workbook item list). Vendors with activity after that check date will show a numeric amount (might be 0 if in and out). You can then add a condition to filter for amount IS NULL and get the list of vendors that you want to look at disabling. Worked like a charm when I tested that here.
    John Dickey
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:13 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:19 PM
    Edited by: John Dickey, McCarthy on Nov 3, 2009 12:22 PM

Maybe you are looking for

  • Select list and date picker on one line  -  is this a bug?

    I'm using: Application Express 3.2.0.00.27 Is the following a bug? If so, how do I get it reported so it will be fixed in a future release of APEX? If not, how do I do it so it ends up the way I want? 1. create blank page 2. create html region 3. cre

  • 5th G. Ipod 60GBs, Major Problem

    Hello everyone, I own a 3 or more years old 5th G. Ipod, with 60GBs, i wasn´t having any problems until today, my friend took my ipod and connected to his pc, then HE DISCONNECTED it, i am not sure if he safely removed or he forced it... anyways.. no

  • How to populate last 10 records from data base table

    Hi, My requirement is to populate last 10 transfer order items confirmed from LTAP. as the table is too large there is no point to fetch all the records and filter them... Please let me know better way (in terms of performace) to get last 10 records

  • Fri Mar 05 00:21:21 CET 2010 to UTC

    Hey For my Last.fm scrobbler I need to provide a timestamp in UTC: The time the track started playing, in UNIX timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone, and is required.Howev

  • Crash now domain.site2 file is gone.

    iWeb crashed on me last night - frozen then it was gone. Restarted computer and clicked on iWeb, it said: Can't open file "~/Library/Application Support/iWeb/Domain.sites2." OK, went to Time Machine to restore to what was there 2 weeks ago. And it is