Track changes on 'Z' tables

Hi,
We have a requirement that to track changes on our Z tables. Could any one help me in process of doing this ?
Thank you,
Surya

HI,
  U Read follow this for clarifies u r doubt..........
As with business objects, we recommend that you activate the logging of changes to table data for those tables that are critical or susceptible to audits. (See the SAP – Audit Guidelines R/3 FI, in Section 4.3.5, for examples of important tables. This document is available at
http://www.sap.com/germany/aboutSAP/revis/infomaterial.asp. You must also explicitly activate this logging. Note the following: 
·        You must start the SAP System with the rec/client profile parameter set. This parameter specifies whether the SAP System logs changes to table data in all clients or only in specific clients. We recommend setting this parameter to log all clients in your productive system.
·        In the technical settings (use transaction SE13), set the Log data changes flag for those tables that you want to have logged.
If both of these conditions are met, the database logs table changes in the table DBTABPRT. (Setting the Log data changes  flag only does not suffice in recording table changes; you must also set the rec/clientparameter.)
You can view these logs using the transaction SCU3.
Although we do deliver pre-defined settings, you generally have to modify them to meet your own requirements. Use the report RSTBHIST to obtain a list of those tables that are currently set to be logged. Use transaction SE13 to change the Log data changes flag for these or other tables.
For more information, also see SAP Notes 1916 and 112388.
regards,
sudheer.

Similar Messages

  • Custom change document is not tracking changes for SAP tables

    Hi gurus,
    I have created a custom change document for tables EKBE and KONV. But the change document is not tracking changes in BDCP table for changes in EKBE or KONV.
    Please help me out.........

    HI,
    Use this link for change pointers concept.
    change pointers
    let me know if u have any issue.
    ~linganna

  • How to track changes on the table not using triggers

    Hi,
    I would like to track DML changes on the tables. As I have many tables it is not efficient to write triggers.
    Is there any setup I can do at database level.
    I am using 11g R2.
    Thanks

    thanks fran.
    I would like to know old and new data in case of updates. This method will not show me.are you sure??
    SQL> sho parameter audit_trail
    NAME                                 TYPE        VALUE
    audit_trail                          string      DB, EXTENDED
    SQL> audit select, insert, update on fran.test1;
    AuditorÝa terminada correctamente.
    SQL> conn fran/fran
    Conectado.
    SQL> select * from test1;
    ninguna fila seleccionada
    SQL> insert into fran.test1 values('EX',2);
    1 fila creada.
    SQL> update fran.test1 set object_id=3 where object_id=2;
    1 fila actualizada.
    SQL> commit;
    Confirmaci¾n terminada.
    SQL> conn / as sysdba
    Conectado.
    SQL> select sqltext from aud$ where sqltext is not null;
    SQLTEXT
    select * from test1
    insert into fran.test1 values('EX',2)
    update fran.test1 set object_id=3 where object_id=2If you want more data, FGA is your goal
    I have read some where on flashback database ..
    would this create a replica table with old changesflashback database is to set the current data like in the past. I mean:
    SQL> conn / as sysdba
    Conectado.
    SQL> alter table fran.test1 enable row movement;
    Tabla modificada.
    SQL> drop table fran.test1;
    Tabla borrada.
    SQL> select * from fran.test1;
    select * from fran.test1
    ERROR en lÝnea 1:
    ORA-00942: la tabla o vista no existe
    SQL> flashback table fran.test1 to before drop;
    Flashback terminado.
    SQL> select * from fran.test1;
    OBJECT_NAME                    OBJECT_ID
    EX                             3

  • How to track changes to config tables?

    Hi,
    I would like to track the changes that have been done to the config tables and would like to know the name of the transport request which might have done this?
    My SAP is on ECC 5.0
    Can some one please help?
    Thanks
    Vijay

    Hello Vijay,
    In SPRO transaction, you have an option to view change logs , you can use this option.
    In SPRO->SAP Reference IMG and then drill down to the customizing you are interested in.
    Click on that node and click on the Change Log button.
    The rest is self explanatory.
    Later when you find the table name of the affected config.
    You can take the table name and search for the object in transaction SE03 -> Objects in Request -> Search for Objects in Request
    Regards,
    Siddhesh

  • Tracking changes in database tables

    Hi,
    I have a couple of database tables on which more than 20 people work each day, throughout the day. I have the requirement of tracking each and every change made on any row of the table.
    For example, If a user accesses a specific row, and updates, or deletes it, i need to keep a track of the userid of the user who did it.
    Is that possible?

    Hi Bharat,
    If they are Z tables i.e custom tables then you can incorporate two more fields userid and time. Now goto Table maintanence generator through SE11.Then select Environment->Modification->events. Now in the next screen select F4 for first field to select the event i.e when your code has to be executed.Then give a new form name and click on editor icon. write your code here. When ever a user changes any record his name will be included in user id and sy-uzeit in time field. This way you can track who has changed the record. Other option is activating table changes recording by selecting "LogChanges " check box in technical settings of table.and profile parameter rec/client should also be switched on. Then you can see your table changes in SCU3 transaction. Hope this helps.
    Regards,
    Kalyan.

  • Tracking changes to a table

    Folks,
    I want to find out as to who has updated/inserted a table. I tried to put the following into a database trigger for that table:
    SELECT NVL(s.osuser, 'Unknown'),
    NVL(s.username, 'Unknown'),
    NVL(s.terminal, 'Unknown'),
    NVL(s.serial#, 0)
    FROM v$session s, v$sqlarea a, v$process p
    WHERE s.type = 'USER'
    AND s.username = (SELECT user FROM DUAL)
    AND a.address = s.sql_address
    AND a.hash_value = s.sql_hash_value
    AND s.paddr = p.addr;
    But the above statement does not work in the trigger (zero records found) though it works at sql prompt.
    Does anyone know how to make this work in a database trigger?

    Hi,
    You can audit update/insert onto a table :
    See columns of table all_def_audit_opts :
    ALT AUD COM DEL GRA IND INS LOC REN SEL UPD REF EXE
    These correspond to the following object options respectively:
    alter, audit, comment, delete, grant, index, insert, lock, rename, select, update, reference and execute .
    SQL> connect system/manager
    SQL> audit select on scott.emp by session;
    SQL> select * from dba_obj_audit_opts
    where owner='SCOTT' and OBJECT_NAME='EMP';
    OWNER OBJECT_ OBJECT_TY ALT AUD COM DEL GRA IND INS LOC REN SEL UPD REF EXE
    SCOTT EMP TABLE -/- -/- -/- -/- -/- -/- -/- -/- -/- S/S -/- -/- -/-
    SQL> connect scott/tiger
    SQL> select * from emp;
    SQL> connect t/tl
    SQL> select * from scott.emp;
    => ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> connect system/manager
    SQL> select * from scott.emp;
    Results of auditing:
    SQL> connect system/manager
    SQL> select username, priv_used, ses_actions from dba_audit_object where obj_name='EMP' and owner='SCOTT';
    USERNAME PRIV_USED SES_ACTIONS
    SYSTEM SELECT ANY TABLE ---------S---
    T ---------F---
    SCOTT ---------S---
    Hope this help you.
    Nicolas.

  • How to track changes in a custom table

    HI all,
       Requirement is
    1. In custom table instead of using table maintence generator ALV gird has to be display to see table entries. But where i have to write the code when user press CONTENTS button?
    2. In alv gird there shuld be one button which shows the change history of selected record and modify the content of selected record. For track changes i have registered custom table name in SCDO. so that changes made will reflect in CDPOS/CDHDR.
    but how can i track changes thru dis table? i didnt find field contents of custom table in CDPOS/CDHDR tables?
    Please help me with these Ques.

    Hello,
    SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
    They all use the standard function Module
      call function 'CHANGEDOCUMENT_READ_HEADERS'
    call function 'CHANGEDOCUMENT_READ_POSITIONS'
    so with these you can get the changed records
    Let me know if this helps you
    Thanks and Regards
    Pushkar Joshi

  • How to track changes to longtexts (in tables STXH, STXL) ?

    Hello everybody,
    I need to track changes made to the long texts in sales orders.
    Reading change documents tables (CDHDR, CDPOS) does not work for the long texts tables STXH, STXL as no relevant data is written.
    Only the latest entry is stored in STXH and STXL.
    Where to look for changes made to the text tables ?
    Many thanks and kind regards,
    Chris.

    Hello Carsten,
    Thanks for the tip, it was very helpful !
    kind regards,
    Krzysztof.

  • How do I get pages to track changes in tables

    I downloaded he new pages for iPad and edited a word document.  I switched track changes on but it did not track any changes I made in the tables on the text outside of tables.  How can I resolve this?

    I downloaded the new pages for iPad and edited a word document.  I switched track changes on but it did not track any changes I made in the tables only for the text outside of tables.  How can I resolve this?

  • Track Changes colors not working when story contains table

    Can anyone duplicate this problem/bug, or let me know if it is just my machine?
    Steps to reproduce
    Make sure your Edit > Preferences > Story Editor has non-black text colors defined for Added Text, Deleted Text, and Moved Text.
    Create document, and draw a text box
    Inside the text box, Right-click > Fill with Placeholder Text
    With the cursor in the text box, turn on Track Changes and Show Changes from the Track Changes pallette:
    Open the Story Editor with Ctrl/Cmd-Y
    Cut/paste, delete, and insert some text.
    Confirm colors appear in Story Editor as defined in step 1:
    Now insert a table anywhere in the story. For me, all non-black text coloring (bg stays fine) disappears:
    Is this an InDesign bug, or something I'm experiencing on my own machine? I've been able to duplicate the issue in InDesign CS6, InDesign CC and InCopy CC on my Win7 Pro 64-bit machine.

    I'd recommend filing a bug report here to make sure it gets reported:
    Adobe - Feature Request/Bug Report Form

  • InCopy track changes in tables

    Does anyone know if any plugins allow you to track changes in tables, I have ctrl changes but can't get it to track changes I make to a table.
    I would like to be able to track when I add or delete a row or a whole table.
    Any help appreciated.

    I downloaded the new pages for iPad and edited a word document.  I switched track changes on but it did not track any changes I made in the tables only for the text outside of tables.  How can I resolve this?

  • Tracking the changes in HRP tables for sending thru IDOC

    Hi ALL,
    We are planning to send iDoc to another SAP system with HR Data from different HRP tables. HRP1000,HRP1001,HRP1005,HRP1008,HRP1013,HRP1050 etc
    If we change any PA infotypes they are linked to pernr and we can easily track the changes but if there is any change in HRP tables how do we track the changes and send them thru idoc.
    Thanks
    Bala Duvvuri

    Kiran,
    I am planning to use tocde PFAL  for both inital loads and delta loads of HR data to other system .Can i get all the changes for HRP tables in PFAL without custom programming?
    Let me explain with an example.
    I changed the text for one of the org units and I can see the changes in HRP1000.but how will i send this data to another SAP system using PFAL ,how will i track those changes.
    I heard that we can enable change pointers on each and every field in all the infotypes,so when i change the org unit text and  it is one of the field in PA0001 of every employee a change pointer is triggered .is that true
    Thanks
    Bala Duvvuri
    Edited by: Bala Duvvuri on May 16, 2010 8:33 AM

  • How do you copy and paste track changes material in Pages from one point in a document to another and keep both the old text along with the track changed thus far in the new pasted location?

    Depending on whether track changes is on/paused, Pages thinks the pasted material is either all new and thus highlights it as a big track change or just copies the old material along with the edits as plain text so that I cannot see my track changes. I need to be able to copy and paste in the same document and still be able to see the older text along with the changes to certain sections thus far. Is this possible? I need a step-by-step "talk to me like I'm five" instructional if what I would like can be done.
    Thanks for any help!
    Message was edited by: C.M.W.

    What version of Pages?
    What OS, iOS or OSX?
    Are you sure you have the Table selected and not a cell or just contents?
    Peter

  • How to track changes when a contact updates contacts address section?

    I'm creating a workflow to create an integration event when a contact updates its contacts address section (number/street, address2, address3 city, state, zip).
    Record Type: Contact
    Trigger Event: When Modified record saved
    Workflow Rule Condition: None
    Action Type: Integration Event
    When I go to configure the workflow action, I don't see the address on the track changes list. How do I specifiy the address section to be tracked when it's modified?
    Thanks

    The best way would be to create a trigger in the database that would update the history table whenever the data was changed. The next best would be to use a stored procedure. I would not try to do this with server side scripting.

  • How to track changes on Infoprovider?

    Hi Gurus,
    Could you please provide the steps of how to track changes on Infoprovider? I had 4 Infocubes (belonging to the same info area) that contains compressed data - but now when I tried to display the data, all the cube are empty - no data were aechived.
    I would like to track any actions that were made on those cubes.
    Thanks

    thanks Kumar for helping me out here
    I tried RSD_CUBE_LOG_DELE function module - It came out "no logs found in the database"
    I tried tables RSDRDLOGHEADER and RSDDSTATDELE which provide me deletion informations like user name... but since we have partially archived those specific infoproviders in the same period of time where I think eveything was gone from cube, I am not able to related when and who the data that were not archived were deleted from Infocube
    Under manage Infocube --> archiving tab, all the created archiving request are only for certain dates (below 2006). I know that we had data above 2006.
    Kindly provide additional inputs.
    Thanks

Maybe you are looking for