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.....
Similar Messages
-
How to get change log for z-fields in VBAk(Sales order)
Hi All,
Please help me in this.
My requirement is get the change log for z-fields in sales order.
In the sales order header level we have one tab Additioanl data.
In this we have z-fields, if we change any of the field value, it is accepting the same and updating in data base as well.
But it is not appearing in change log<. I.e. Environment->changes.
How to get the change log for the z-fields.
In data element level enable the check box of change document.
Please help me in this.
Thanks in advance
Jaya,GHi Jaya,
For this you need to do some coding. Here is a link which tells you, step by step procedure how to activate Change log for the Z tables.
THe Object that you need to use for Sales Document is VERKBELEG
[https://wiki.sdn.sap.com/wiki/display/ABAP/Maintaining%20Change%20Log%20for%20Database%20Tables]
Hope this helps..
This is Primarily a Technical Consultant Job. Take his help before you make any changes.
Thnks
Srini -
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 -
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 -
How to save change log for a particular standard table in ZTABLE
Hi Experts,
Wouldlike to make one ztable in R3 which should record changes made( say particualr field) in standard SAP DB table ( say TXPDAT). I think that there has to beway to do it.
Could you please share the way to achieve it?
Will appreciate a quick reply.
Thank you
Best RegardsHi,
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..... -
How to find changes done for a table
Hi All,
We have a customized trasparent table , for which table log is not maintained. There is a change in data for this table and we want to find out who has done the changes and when .
We are using SAP R/3 4.6c with Oracle 8.1.7
Please let us know if there is any way to sort this out .
Regards,
BNHello Nayak,
as you told us that it is a customizing table .. there should not be many changes.
If you don't activate the table log ... then you can only go over the logminer of oracle (it is much easier, if you know a timeframe in which the data maybe changed):
http://www.oracle-base.com/articles/8i/LogMiner.php
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1154.htm#i1408263
=> TIMESTAMP
=> TABLE_NAME
=> SESSION_INFO
=> SQL_REDO
=> SQL_UNDO
You will not see which user has done the change but you will find the abap program and with that information you can go to ST03n and have a look which user called this program.
Regards
Stefan -
How to use change document for AUSP table in MM02?
Hi All,
I am working with MM02. When I change the characteristic value in classification view, I want that change to be logged in CDHDR table.
I have created a change document object for AUSP table and generated update program for that. Now that program needs to be called in some <b>badi</b> or <b>exit</b> which can be called upon saving in MM02 after changing the values in classification view.
Can anybody give me some idea where can I call that program.
Any help wud be appreciated.
Regards,
PragyaHi
You have 2 possible solutions to meet this requirement.
Option 1: Implement point # 3 of SAP OSS Note 943559
Option 2: This is a workaround solution to skip standard SAP check for activation of change documents of Classification system and allow entries to be written into CDHDR and CDPOS table through MM01 / MM02 / CL20N tcode
Solution: Implement an implicit enhancement inside include program 'LCLVFF10', at end of subroutine 'FILL_REDUN' i.e. line number '337'.
Here modify the entry of table 'REDUN' where OBTAB = 'MARA' and set the flag 'AEBLGZUORD' equal 'X'. This will activate the change document creation for Change Object 'CLASSIFY' in CDHDR and CDPOS tables.
Sample Code
LOOP AT redun WHERE obtab EQ 'MARA'.
redun-aeblgzuord = 'X'.
ENDLOOP. -
How to get change log for fields if change document flag is not maintained?
Hi experts,
My requirement is display the change log details for the transaction FAGLGA32.
In this transaction we have the Field Groups block.if any change is happened for field group we need to capture the change.
the field for the field group is RKAL1-FGFLG1 and the data element is FGFLG.
In the data element FGFLG, the flag CHANGE DOCUMENT is not maintained.
How to get the change log details for the fields for which the change document flag is not maintained at data element level?
Regards,
Rameshdo a modification for the data element or try Audit Trail (depends on your release)
Audit Trail (electronic records) / Tx AUT10, AUT01, XX-PROJ-ELR, OSS 564743,517613,564645
Note 1058984 - FAQ: Audit Trail (Transactions AUT01-AUT10)
http://help.sap.com/erp2005_ehp_03/helpdata/DE/fc/89683c1b5fb712e10000000a114084/frameset.htm
cheers
carsten -
SOST - transmission requests- How to see the log in a table
We see the messages and the log in SOST for a background job.
We want to see the log contents in a related table.
We checked table SOOD but can not see the log details.
Is there any way to see / extract log details by giving the user ID , created date and job name?
Regards,Hi
If you are using the Extending classic, you can see the output details in the SOST. suppose if you want to check whether the PO send to vendor or not viea email.
BR
Satish -
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 -
SAP Authorization: unable to see change logs for role assignments
Hi ,
please do help us in this regards .
When trying to find the changes update to certain role . We are unable to see that changes/ hope the changes are note gettng updated.
we recive the message " NO CHAGE DOCUMENT FOUND TO MATCH SPECIFIED CRITERIA"
MESSAGE NO .CD887.
Please let us know how can this be sorted.
Best Regards,
Rahul.Hi,
As per your query you can get this info in suim and when you modify any role the you have to activate this.
Anil -
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 -
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 jrec/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 -
Hi Guys,
Can anybody tell me how to see action logs for sales documents?Also i want to know how to change sales doc type...( i know we can mention in vov8...alt.sales doc types...how to get that(configure) list(in my system list is empty).What i am supposed to do from va01 side?
Points for sure
Thanks
RamaChandraChange logs
Go to the order in VA03 and in the menu
Environment----Changes
Here you can mention the line item and see the change logs.
You can sort the logs based on header, item, sch.line, date etc
It will also show you the old value and new value, changed by and the changed time.
Alternate sales doc type
In VOV8 you can mention the alternate sales docu type
Once this is done, come to VA01 and give hte original dcument number
Once you enter teh screen to enter the sold to party, at the header level, there will be radio button to select the other sales document also. If you want you can now select the other doc type.
That radio button enabling you to select the other doc type will be near to the Requested Delivery date field at the header level.
Here you can select the other document type.
Hope this helps.
Reward if this helps. -
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
RiteshGo 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ä
Maybe you are looking for
-
Can I buy a television 32 inch for a mac mini and have a good image quality?
Hello I want to buy a tv 32 inch for work with videos, the image on tv will be good ?
-
CR XI R2: Database logon failed. Database Vendor Error Code: 1005
Hi: I am trying to incorporate Crystal Reports XI R2 with in-house application - Windows platform, Oracle9i, Websphere Studio Application Development 5.1, and JVM 1.4.2 with OCI8 driver and JNDI connection. I am not getting any error while running it
-
How to pass parameter to webtemplate
hi, i have a requiremnet in this way. i have two i views in first iview i have all the states in india. when i user clicks on ka-karnataka i want to filter the analysis item showing all the districts in karnataka this analysis item is in the web temp
-
Growl & Notification Center conflict on Firefox: how do I remove growl ghost files?
Hi everyone, I'm exeperiecing un unpleasent issue with Firefox. Not working appearing in Notification Center!!!!! - I have the latest version of Firefox, so I'm sure it's supported. - I had Growl 1.2, which is the most updated version of the "non-App
-
Lightroom 5.3 will not import files
Suddenly getting message "Some import operations were not performed" and "The following files were not imported becsuse they could not be read" followed by a list of the files selected for import. Was working fine the day before. Using Mac with OS X