Function to create change log for any table

Hi
There is some FM which give me information what was changed in ztable for actually process.

I got.
It is BAL

Similar Messages

  • Create change log for Z tables in XD02/XD03

    I have added a new tab, to customer master screen. The new screen under that tab has 4 fields,
    those 4 fields are inserted into Z table.
    Can you please give me the sequence of steps so that system will show change history with Z fields?
    I checked that fields are set for change document.
    I have created change document using SCDO.
    How to use method GET_FIELDNAME_FOR_CHANGEDOC of CL_IM_V_CUSTOMER_ADD_D_CS class and method GET_CHANGEDOC_FOR_OWN_TABLES of CL_IM_V_CUSTOMER_ADD_DATA class?

    Hi,
    I have a similar problem with MK02 (vendor master).
    I tried with appending a user field to LFA1.
    I hand over the table and fieldname (LFA1-Z....) in parameter E_FIELDNAME of method VENDOR_ADD_DATA_CS.GET_FIELDNAME_FOR_CHANGEDOC .
    With method GET_CHANGEDOC_FOR_OWN_TABLES of BAdI VENDOR_ADD_DATA I provide the objectclass 'KRED' to the standard program.
    However, there is no change document created for changes on the appended field. If I change one of the standard fields the change document is created.
    Do I have to put my own coding for change document creation somewhere in the BADI methods?
    Any idea?
    Thanks,
    Holger
    Edited by: Holger Probst on Apr 28, 2010 1:30 PM

  • Creating change log for sales order

    hi all,
    i want to create change log for any given sales order if it exists.
    can any one tell me how to do that??

    Hi Gouri,
    CDHDR and CDPOS are the tables for all change history.
    CDHDR contains the details such as who made the change, when, using what tcode and the change type ie. update, delete.
    CDPOS contains the field name which was changed, its old value and its new value.
    The change document object is VERKBELEG for sales documents.
    The object value is the SD document number with leading zeros.
    The following link will be also useful.
    http://www.sap-img.com/ab024.htm
    Regards,
    Nitin.

  • How do we chcek change Logs for any stndrd transaction

    Hi gurus,
    Are there any tables to check change Logs for any SAp standard t-code ?
    Thanks
    Kylie

    ALex ,
    For eg :if its a t-code related to Purchasing : then Purchase Order and it's corresponding item level details are retrieved.
    But i m thinking in a different way: i need to check LOGS of a t-code which might have a transport request
    following such a transport request i can get the USER details who migrtaed the changes of t-code (for eg:ME23n)
    from SAP QA to SAP PROD.
    Thanx
    Kylie
    Edited by: kylietisha on May 31, 2010 8:15 AM

  • Creating Change Log For Transaction Code

    Hi All,
    I used to the transaction code SCDO to create the change log for a  Z table which I have created to maintain the data.
    User can run the transaction code for the Maitence View of Ztable and can make the entry.
    Now I have created a change FM ZTABLE_WRITE_DOCUMENT using ZCDO. I would like to know how to link this to a transaction code so that any changes done to the table contents will be recorded.
    Thanks & Regards,
    Nagaraj Kalbavi

    Hi Bala,
    In which program, you mean to say table Maitenance Generator program. I feel this has to be done in transaction code AUT01. But I am not sure, I just need a glance on it.
    Thanks & Regards,
    Nagaraj Kalbavi

  • Activate change logs for the table V_T007K

    Hi,
    Change log check box is activated in table and change logs is activated in system. But still I am not able to view any change logs recorded for the table V_T007K using SCU3 transaction.
    I tried by changing some data and than checked the SCu3 transaction. nothing is recorded against the table.
    Please let me know what needs to be done to capture the change logs for the changes done to the data in the table V_T007k table.
    Thanks in Advance.
    Thanks & Regards,
    Madhuri.

    Hi
    The table u mentioned V_T007k  is not a transparent table
    .its a view only for views u cant track changes.
    But only for transparent tables u can only track changes thru SCU3
    Also u can find the changes in a table from SAP TABLE
    CDHDR and CDPOS.
    if helpful reward me points.
    Regards
    Manas Ranjan Panda

  • Change logs for Z table.

    Hi All,
    I am trying  to fetch the old value and new value for the z table field.Change log is activated for the Z table. but i dont know how to fetch the change logs.
    SCU3 is the standard transaction to see the change logs for all the tables.
    Is there any table where the change logs values are maintained?
    Does anyone know how to get the change log value?
    Thanks in advance.
    Regards,
    Amruta.

    Hello,
    If for a specific set of tables no change documents are triggered by SAP you can always setup your own Change Document Object with transaction SCDO.
    Of course you need to be careful with this transactions (how big is the table data, how many changes, etc...).
    Table logging is something else, they are stored in table DBTABLOG and can be analysed via SCU3.
    For table logging you need extra system parameters to be set, they are explained in SAP Note:
    Note 1916 - Logging table changes in R/3
    Pay attention with table logging because a lot of tables are logged in DBTABLOG once you activate the parameter, this can have a major impact on performance.
    To have an idea what other tables will be logged, check tcode SE16 on table DD09L and put an 'X' in field PROTOKOLL, result will be thousands of tables.
    In your specific scenario I think it is best you go for the change documents with SCDO.
    Wim Van den Wyngaert

  • How To See Change Log For A Table Entry

    Hi Experts,
    One entry is created in a table. I want to know, when that entry was created/ changed.
    Is there a way to find it out.
    PLZ NOTE: Table doesn't contain any DATE field.
    Regards

    Hi,
    or else do like this...
    In order to maintain the log changes the main pre reuisite is to checkmark the checkbox in dataelement of table filed.
    To do this...
    goto transaction SE11>enter ur table name>cleck on fields tab>cleick on dataelement->click on Furthercharacterstics tab-->select the checkbox'Change Document'.
    If u dont select dis the u cannot see the log entry of the particuylar field..Do like this for each dataelement for each table field...selecting all the fields is not mandatory..u can choose the table field u want to see the log report..
    Once u done with dat...
    Goto SCDO transaction> click on create>give a name change doc startwith Z or Y only>Follow the prodedure and in-->name of table field>enter u r TABLE NAME->click on individual field checkbox.--->insertentries..
    Once u done with dis..
    Goto SE16->enter CHDIR or CDPOS->press ENTER->enter u r object id>F8
    U can see the new and old value of a table entry.....

  • Activating change documents for standard tables

    Hi all,
    Can someone please tell me how I can activate change documents for a standard table.
    I created a change document object in SCDO and included the standard table I am working with. This table does not have "LOG DATA CHANGES' enabled in its technical settings. I checked the data element of the field I am interested in and it has "Change Document" enabled.
    Is there any way to activate change documents for a std table without writing code to create change documents? 
    Thanks.

    Hi,
    Check this transaction SCU3, this is to activate the change logs for the tables.
    Regards,
    Satish

  • Change Logs for TCODE -- FILE

    Hi Friends,
        Please help me in finding the change logs  for the TCODE  FILE,
        i.e  The changes made to the Logical paths
       I had tried  Utilities---->change logs , but unfortunately i cannot find any changes logs
       But there are changes made to the logical paths in my system but i cannot see them in change logs
    thanks
    chandrasekhar j

    rec/client is a profile parameter, you can view the settings in transaction RZ10.  However I find program RSPARAM more useful, the report lists all system parameters with their default and altered value.  Also if you double-click on a parameter you can get to the full help text for its meaning.
    The parameter essentially switches on table change logging for configuration tables (based on the technical settings of the table) and has to be set before the changes are made.
    Hope this helps.
    Nick

  • Change log for Distribution model and partner profile

    Hello All,
    Could any one please suggest how to get teh change log of the distribution model and partner profiles in SAP.
    Thank you!
    Arvind

    Hello,
    The documentation says what distribution model is used for. My question is can we have change log for any change in the distribution model like user, time and date.
    In production system if distribution model and partner profiles are changed by someone to a destination which should not be used, then how can we trace who has changed it.
    I hope I am able to explain.
    Arvind

  • Change Log for a Ztable

    Hello,
    I have a requirement to get the change log of a Ztable and i have check the LOG Table change in Technical setting and also maintained respective entries in RZ11 with help of Basis.
    But still i am not able to see the changes thorugh SCu3 Tcode.
    I have seen FM /BEV2/ED_READ_DBLOG but was not able to use the same to track DGTABLOG changes.
    Kindly suggest and view.
    Thanks
    Ritesh

    Go to AUT10, press F9.
    Then enter the table name in field Table Name.
    Then press execute.
    Also check the blog Find Changes Logs for a table using SM30
    **Edited by: Dëv Päträ

  • Is there any Security or Change Log for Shockwave Player 12.1.3.153 available?

    I haven't seen so far any Security or Change Log for Shockwave Player 12.1.3.153. Given the Update ID SW12-13153 this seems to be an ordinary update (not a security hotfix with the prefix APSB...). Has anyone seen a change log?
    Thanks.

    As always: no.  The last Security Bulletin issued for Shockwave Player was http://helpx.adobe.com/security/products/shockwave/apsb14-10.html (March 13, 2014).

  • Change log for CRM service order

    Dear Experts,
      I've created log profile in CRM under IMG path Customer Relationship Management->Basic Functions-> Change log with protocolo " Changed document "  & segment " PRICING_I ". This log profile is attached to transaction type service order.
    Basic idea is to capture the changes made on the pricing in service order. Now with this setup where can i see the trace of changes done in service order. Is there any table that fills with the log  ? 
    Basically i'm trying to find log DB table for pricing with this setup.Can anyone pls suggest me to resolve the issue.
    Regards
    Devika.S

    Hi,
    there are no change logs for CUMULAT_H object because this is only a temporary object in CRM Order buffer. Check for example the function module CRM_CUMULAT_H_READ_OB. You will find out the this module does not read the CUMULATE_H from the DB cumulates the values by reading the item values.  Because of that you will also see that in view CRMV_OBJECTS the change document relevance is not maintained for this object.
    So you will not a change entry for CUMULAT_H in CDHDR/CDPOS. As a workaround for your requirement you can read the changes of CRMD_PRICING_I-NET_VALUE from the change document tables or write a change entry on save into a customer field and/or table.
    Regards
    Nicolai

  • Change Log for Purchase Order

    Dear all,
    Just today, we've found out that one of our buyers always change the PO quantity when the supplier deliver more than they should.
    Before we do something like lock her access or even remove her from current position, we'd like to know how often and how much is the impact of her actions.
    We know that we can see the changes from the change log for every single PO; but if we want to know the changes from several hundreds PO ... looking at the log one by one may not a good idea .. LOL ..
    Do you have any experience with this or any idea on where (the tables) I can take a look ?
    Thanks,
    Markus

    Hi Markus,
    The details of  the 'Show History' function, for the  Purcahse Order, is contained in the ADOC (header information) and the AD01 (Row information). These two tables contain the exact same information as the OPOR and POR1 (Purchase Order header and row tables).  However, the history of all marketing documents in the database is saved in this table so there is a need to filter this table based on the Purchase Order documents only.
    What I would suggest is to create a query based on the ADOC and ADO1 and filter it based on the field 'ObjType' (Field Name is 'Object type'). The object type for the Purchase Order is '22'. As each update to a document is saved in the table there is a need to distinguish each version of the document. This is done with the 'Loginstanc' field in the both the ADOC and the ADO1, so this may help you with the query. After that the query can be filtered for any field that is visible in the Purchase Orders.
    There are other childeren tables of the ADOC which you may need. To find these, when in the Query Generator, open the 'Choose from List' to obtain the list of tables. Then in the 'Find' field type the letters 'ADO' this will bring all the tables starting with 'ADO' to the top of the list.
    One final thing, each update to a document is recorded to a usersign. Obtain the user sign of the user in question by running a query on the OUSR table and look at the figure in the field 'Internal_K' for that user. This is the number that will then be visible in the field 'UserSign' in the ADOC table.
    I hope this helps
    Noreen

Maybe you are looking for