Track any changes made to the database.

HI All,
I've been assigned the task, where I need to track down any changes made to that schema objects, pl/sql objects and. Now, is there any procedure or package which can make it possible.
hare krishna
Alok

I actually want to track all the changes in one perticualr schema. tables,
indxes , views and pl/sql objects.Okay, I'm going to presume that means you want to track DDL changes in the nominated schema.
the proper way to do this is not to track DDL changes in the nominated schema. Instead you set up a source control repository external to the database and store all the DDL scripts (i.e. files) there. If anybody wants to make a change to an object they have to check out the relevant script(s) and make the changes there. Once they have completed their changes they check the script back in. All builds of live (i.e. UAT and Production) systems must be done using scripts from the SC repository.
This may sound complicated and some people who have been used to a more cowboy approach will complain. But it is the only sensible way to manage change in a database. I have the scars to prove it. Listen to the voice of experience.
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/

Similar Messages

  • I cannot save any changes made in the Preferences box. I go to Edit, then Preferences. When the window opens, I can check or uncheck boxes in the General window BUT, there are no Cancel or OK buttons at the bottom of the window. HELP!!

    There are no "Cancel" or "OK" buttons at the botton of my "Preferences" box that allow me save any changes that I might mak in the "General" window.  The box opens without problem and changes can be made in the "General" window however, these changes cannot be saved.  If I close the window with the "X" in the upper right hand corner and then reopen it, any changes made are lost.  I'm running Windows XP and would appreciate any help that I can get.

    I would like to change the "When you insert a CD:" option
    Oh good, that one's pretty straightforward. When you make that change in the pane, the OK is the active button. For example, I just quickly changed mine to "Import CD and Eject", and you can see that the OK button is blue in my screenshot:
    ... so to make that setting stick, all you need to do is to hit your "Enter" key, and that should press the OK.
    Unfortunately, I don't have any music in the iTunes library on the PC I'm working from at the moment. So I can't check my "Automatically download album artwork" checkbox.
    Ed, could you check for us which item is active after changing that setting? (If it's the OK button, then hitting enter should press the invisible button, just like "When you insert a CD".)
    Changing "Import Settings" is trickier, because after you get out of the "Import Settings" subdialog, the "Import Settings" button is active. So you then have to hit the tab key precisely five times (to get OK active again) and then hit Enter to get Import Settings changes to stick.

  • Changes made to the database are not being affected in Toplink work bench..

    Hi,
    Im recently encountering the following problem with Toplink mapping work bench.
    The cchanges are not visible when I make any changes to the underlying database tables and retrieve that tables into mapping work bench .
    The retrived table information still contains old information and the new fields added are not seen and the old fields which were deleted are not deleted.
    Is there any cache associated with TOplink..if so How can I flush that cache so that i always end up with the latest DDL s in my Toplink
    Thanx in advance...
    Regards
    Mahi

    You need to explicitly refresh the tables. In the Mapping Workbench, select or multi-select the tables you'd like to refresh, right click on them and choose "refresh".
    IF you are doing that, and not seeing the changes, then the most likely issue is that you are connecting to a different database and/or using a different JDBC login.
    - Don

  • How to track changes made to the standard objects by SAP during upgrade ?

    Hi All,
    Can any one of you please let me know if there is any straight forward method to find any change made to the standard objects by SAP in different versions ?
    Like for eg, during upgrade from 4.6c to ECC 6.0.
    Thanks in advance.

    > For eg , if SAP has made any change in the standard  transaction IE02,  in ECC 6.0 how will we come to know those changes?
    There are two sources for that:
    The "Solution Browser" (http://solutionbrowser.erp.sap.fmpmedia.com/) which lists the differences between source and destination release and the release notes (http://service.sap.com/releasenotes). You'd need to read here all those from 4.6 to ERP 6.0 (so 4.7, ECC 5.0 and ERP 6.0) to find out the behaviour changes.
    Markus

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • Tracking changes made to the finance quotation(CRMD_ORDER) line item

    Hi All,
    I want to track or identify changes made to the line item of a Finance quotation in Transaction CRMD_ORDER. User may change any where(any tab) at line item level.
    I found that CRM_ORDER_READ function module has one import parameter IV_ONLY_CHANGED_OBJ. I tried to make use of this, but could not identify the changes.
    Appreciate if anyone can provide me a better solution.
    Thanks in advance.
    Regards,
    Prasad

    Hi Anirban,
    I'm developing some program, i need some FM or sample code to findout the changes made to the line item. Not in the GUI.
    Thanks and Regards,
    Prasad

  • How to track changes made in the ERD in oracle designer

    I want to track all changes made in my ERD in oracle 10g designer. Please suggest how to achieve it.
    use case: An ERD was approved in design phase. Few changes were made by development team and now in Implementation phase I need to track what all changes were made from say 3-Jan-12 to 3-Mar-2012
    Edited by: 909570 on Mar 5, 2012 1:14 PM
    To add here:
    Designer Version is 10.1.2.0.2.
    1. In my project versioning of ER is not being used so ER Version diff is not an option for me.
    2. In Reports, there are options for getting all entities, attributes which are created/modified in a period. But it seems it is not giving me correct results.
    Edited by: 909570 on Mar 5, 2012 1:14 PM

    Since versioning if off, there is no way to track changes.
    You can get a rough overview of possible changes by looking at the audit attributes (date created, date modified) in the properties palette, but that is already mentioned in your point 2.
    Basically, developers should comment what they added/modified.

  • Tracking the changes made to the custom table  field value

    Hi all,
           can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
    Example: if i changed the  value of field  'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.

    -> try TA: SCU3
    regards Andreas

  • How to track any change at sharepoint site level

    Hi,
    I want to achieve is,
    create an event receiver or workflow for a SharePoint Site so that any change made @ site level or site collection level which in turn may include any change at any list,library, everything @ site/site collection level----a mail should get fired to a certain
    sharepoint group(Administrative).
    I found that  we can do this with "Change Log" but how?
    Is it a list or library or what else?
    How could i fire a mail when a new item gets added to it?

    As an aside, you're asking for SharePoint to send an email to your administrators every time for every change. Given the number of changes in a typical SharePoint farm, this approach can lead to your administrators being flooded with emails. Some mail transfer
    agents also have protections against this sort of activity and could drop mails to prevent your administrators from being spammed.
    You should consider this if you plan to use these mails for auditing purposes. Another approach would be to log these changes to a database to ensure you don't lose anything.
    SharePoint already has built-in auditing capabilities that you could leverage as well; most 3rd party SharePoint administrative suites include audit reporting.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • FI user is unable to track these payments made against the PO unless he maintains a manual reference

    Dear Experts,
    I have a requirement as below -
    Usually when a Purchase Officer makes a Downpayment request in F-47, and the Finance user posts the downpayment using F-48, the transaction is visible in the PO History.
    But if the payment is not a down-payment and if the payment is actually an outgoing payment (sometimes partial payments) posted using F-53, the transaction is not available in PO history..
    That is to say that the FI user is unable to track these payments made against the PO unless he maintains a manual reference.
    Can you please suggest the dataflow for this so that these transactions are visible in the PO history and if we need to make any changes in order to achieve the link between the payment and the PO.
    Kindly share your valuable ideas how we can achieve this requirement.

    Hi Rahul,
    PO history never update, if DP not made against PO. Normal payments always with respect to Invoices not PO number's. It may possible one invoice posted agaisnt several PO's also. Technically there is no feasible to update normal payments in PO history. You may go for one single report where you can get PO wise payment details. Simple Z report can help you.
    Use mentioned FI tables to develop the same.
    1. RSEG table to get Invoice Number & PO number's
    2. BKPF table to get FI document ,Year with above invoice number ( AWKEY in BKPF table)
    3. BSAK table to get payment details along with payment document (Clearing document)
    4. BSIK table to get partial payment details and DP details.
    Please note no standard report available
    Regards
    Mani

  • How to keep track of changes made to PO

    CAn anybody help me in resolving the issue of implementing Version Management. Once the PO has released fr release strategy, any changes made to PO after that should get notified to the user. Also if the changes are related to Pricing ten release strtegy should agin be set for that PO.
    Expecting reply soon.
    Regards,
    Anup.

    its time cosuming process :
    check table CDHRD/CDPOS tables to keep track of changes.
    Regards
    Prabhu

  • "An autonomous transaction does not see any changes made by main transact"

    Hi,
    I'm trying to reproduce the "An autonomous transaction does not see any changes made by main transaction" reffered on :
    Oracle® Database Application Developer's Guide - Fundamentals
    10g Release 2 (10.2)
    Part Number B14251-01
    chapter 2 SQL Processing for Application Developers
    Paragraph : Autonomous TransactionsI set up a simple case...
    create table emp_ as select * from emp
    begin
      update emp_ set hiredate=hiredate+100 where empno=7934;
    end;
    create or replace trigger trg_emp_
    after insert or update on emp_
    for each row
    declare
        pragma autonomous_transaction;
        emp_var emp.hiredate%type;
      begin
        select hiredate
          into emp_var
          from emp_
        where empno=:new.empno;
        dbms_output.put_line('empno: '||:new.empno);
        dbms_output.put_line('old hiredate: '||:old.hiredate);
        dbms_output.put_line('new hiredate: '||:new.hiredate);
      end;Prior to any change...
    SQL> select empno,hiredate from emp_;
    EMPNO HIREDATE
    5498 21/4/1982
    5499 11/10/1981
    5411 10/10/1981
    5410 10/10/1982
    7369 17/12/1980
    7499 20/2/1981
    7521 22/2/1981
    7566 2/4/1981
    7654 28/9/1981
    7698 1/5/1981
    7782 9/6/1981
    7788 19/4/1987
    7839 17/11/1981
    7844 8/9/1981
    7876 23/5/1987
    7900 3/12/1981
    7902 3/12/1981
    7934 23/1/1982After the change...
    SQL> begin
      2    update emp_ set hiredate=hiredate+100 where empno=7934;
      3  end;
      4  /
    empno: 7934
    old hiredate: 23/01/82
    new hiredate: 03/05/82
    PL/SQL procedure successfully completedAccording to the Oracle doc the select of the autonomous transaction should not see the change made to the hiredate column of the table in the main transaction(in the anonymous block)....
    What may i do wrong..????
    Thank you,
    Sim

    Simon:
    As Tubby pointed out, your dbms_output commands do not display the value you selected in the trigger. Your trigger based demonstration needs to be more like:
    SQL> SELECT * FROM t;
            ID DT
             1 05-SEP-2009
             2 17-JUL-2009
    SQL> CREATE TRIGGER t_ai
      2     AFTER INSERT OR UPDATE ON t
      3     FOR EACH ROW
      4  DECLARE
      5     PRAGMA AUTONOMOUS_TRANSACTION;
      6     l_dt t.dt%TYPE;
      7  BEGIN
      8     SELECT dt INTO l_dt
      9     FROM t
    10     WHERE id = :new.id;
    11     DBMS_OUTPUT.Put_Line ('ID: '||:new.id);
    12     DBMS_OUTPUT.Put_Line ('Old dt: '||:old.dt);
    13     DBMS_OUTPUT.Put_Line ('New dt: '||:new.dt);
    14     DBMS_OUTPUT.Put_Line ('Aut dt: '||l_dt);
    15  END;
    16  /
    Trigger created.
    SQL> UPDATE t SET dt = sysdate WHERE id = 2;
    ID: 2
    Old dt: 17-JUL-2009
    New dt: 25-OCT-2009
    Aut dt: 17-JUL-2009
    1 row updated.So, the automomous transaction select did not see the changed value of dt.
    I know you are just trying to understand automomous transactions here and would never do sometihg like this in production right? :-)
    Your trigger, as written, has some interesting side effects because of the automomous transaction. For example:
    SQL> INSERT INTO t VALUES(3, sysdate - 25);
    INSERT INTO t VALUES(3, sysdate - 25)
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "OPS$ORACLE.T_AI", line 5
    ORA-04088: error during execution of trigger 'OPS$ORACLE.T_AI'
    SQL> UPDATE t SET id = 3 where trunc(dt) = TO_DATE('05-Sep-2009', 'dd-mon-yyyy');
    UPDATE t SET id = 3 where trunc(dt) = TO_DATE('05-Sep-2009', 'dd-mon-yyyy')
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "OPS$ORACLE.T_AI", line 5
    ORA-04088: error during execution of trigger 'OPS$ORACLE.T_AI'John

  • Tracking records change made by another user or session

    How does oracle forms track records change made by other user or session?

    I think the question is, how does Forms know to issue the error "FRM-40654: Record changed by another user. Re-query to see change".
    I don't know exactly how Forms knows this. But in the past I have found that if a column has changed on the record, which you are not querying in this forms block, then you don't get the error. So Forms is perhaps comparing all the database values for the queried record, against the values that Forms has queried?
    When you attempt to lock the record from Forms, you'll see that Forms issues a statement
    SELECT <all the db columns in the block>
    FROM <wherever>
    FOR UPDATE OF <all the db columns in the block which are not query only>
    Even so, in the database, that statement doesn't know what the values are that the Form has already queried. So Forms must be doing something else.
    Hope this helps, it's a bit of a black box area I guess.

  • Report for abserving changes made to the customer master and moniter

    Report for abserving changes made to the customer master and moniter and detail
    Please send with t. code.

    Hi Dhari,
    Well the requirement seems very simple but its not as simple as it looks.
    i have an idea not sure whether it gonna work or not. you need to build a history cube as if i understand your requirement then for any selected period you wanna see the change in wage type or pay rate for each employee if any.
    1. pick up an cube that builds on emp transaction data.
    2. add the 0empoyee Md, wage type and pay rate from MD to the cube and fill the cube
    3.so now every day or in scheduled time interval the MD will load and the corresponding the TD will be loaded to the cube.
    4. create a info object say indicator and add it to the cube
    5.while loading the data to the cube everyday in tranformation check if for same employee there is a change or not in the wage type and pay rate. If so set the indicator to 1.
    4.now build one more cube for holding the changed records from this cube and call it say zhrchange
    5. now pull the date, year and related emplyee information for the emplyee to the zhrchange for those with indicator 1.
    6. before the next load happen, rememrbe to set the indicator to 0 before checking the conditoin in the transformation routine , so that only if the conditoin satisfy then only it will be 1 else it will be 0.
    now the cube zhrchange has all the changed records with time stamp and you can base your query on that to get the changed values in specific time period
    hope this helps.

  • How to find out the changes made to the customized table entries

    Hi Team
    i want to know the changes made to the customized table. i have a 'Z' table in my production system, in that table i would like to know whether any table entry is deleted or not. if at all there is any deletion happened, i want to know who had done it.
    So i request you to please let me know the procedure for the same.
    Thanks
    Raj

    Hi Nagaraju,
                       Go to Table Maintenance (SM30)- Display mode-- Utilities-- change Logs. Give the Date range. before giving the date range click on display status , this will show you If the display is active or not. Kindly please let me know If you need any more information on this.
    Regards
    Ram Pedarla

Maybe you are looking for

  • Share calendar between users on the SAME mac

    How can I share a single calendar (and address book) between users on the SAME mac? Thanks.

  • File name in UTL_FILE

    I'll have to open files for reading from Unix and parse them and Update the DB in Oracle 8i. I am using V_file := UTL_FILE.FOPEN(V_dir, V_fileName, 'r'); BUT, the quistion is I'll have date ant time in my file name like file_name_date_time. How CAN I

  • How Come Some Clips Need To Be Rendered

    Hi, I have several projects open, one is from standard def DV tapes and the other is from a FCP learning tutorial. When doing 3 way color correcting the project from the DV tapes needs to be rendered after changes while the tutorial files don't need

  • ABAP program on process chain

    Hi,     I'm trying to create an ABAP program in the process chain. I Know how to do this, so the problem that I'm having is that I need to know <b>WHO is</b> the process chain that is call me because this same ABAP program can we caller from another

  • Airplay sound not via iTunes

    hello, I am not an expert in all those Airplay devices. I appreciate your help. I want to buy below Soundlink System with Airplay (just came out so no help so far online) and connect it to iMac and mobile devices. iMac can play music from this speake