Hi guys,
I have questions, all related to the topic of log data changes. You should know that, in ABAP Dictionary, we can checkbox the option "Log data changes" in the technical settings of custom tables. In the ALV report given by transaction SCU3 (Analysis of changed customizing objects and tables), if you set table name, you can see the transactions that have modified the custom table, date, time, and the users that have changed the table too. And if you go to S_AUT01 transaction, and choose a custom table, you will see that some fields of that table are checked in the ALV shown there, but some others are not. So the 1st question is if logging of data changes can be done only for some fields (the marked fields in the column LOGGING in S_AUT01 report) or if the logging is something that affects the data element, and so, all the tables that have fields defined with that data element. Do you know?
Table DBTABLOG is used to log the table's content changes. This table is increasing size contents very fast in the system I work on. It contains the data changes information for the custom table, like the transaction code, and others. Program RSTBPDEL is a standard utility and it is used to delete rows of DBTABLOG. Unfortunatelly it only contains 2 parameters: "End date" and "Tables". Do you know any other standard program or application intended to delete DBTABLOG with more select options, specially transaction code? I saw the code of RSTBPDEL and seems simple. I think I can create a Z program based on it with the select options desired by my customer, do you think it is a good idea in case no other program is found?
Finally do you know a BADI, user exit or some kind of enhancement to manipulate data to be entered in the table log? Maybe we want only to track changes if SM30 transaction was used, only for specific custom tables.
Guys, if you think I am violating rules since I posted 3 questions in 1 single post, let me know. If it is unfair, only consider the first question. I will create new posts for the 2 and 3 question if it is so.
Thanks!