‎2021 Aug 03 9:09 PM
I need to make a program that gets the log of all changes, deletions and insertions in an sm30 because here in our company the flag option doesn't work does anyone know how I can do this for tables?
‎2021 Aug 04 3:56 AM
Hi Ronaldo,
In order to store the change log history, you can write a custom event in the Table Maintenance View to log the change history after saving the table entries:
Please refer documentation about Extended Table Maintenance Events: Event 02: After Saving the Data in the Database
Read the full documentation: https://help.sap.com/saphelp_470/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
Thanks & Stay Safe
~Kaushalya
‎2021 Aug 03 9:25 PM
Is the "flag option" the table logging option in the technical settings of the table? Why does your company refuse to enable it if they need it?
If you really don't have the choice, use the "after save" dialog event (02) to write the changes to a custom table. You can find examples in the forum, search:
SM30 event 02 TOTAL site:sap.com
‎2021 Aug 03 9:42 PM
if for your tables Log data changes flag is checked(in technical settings), then you can check standard SAP Log I guess
‎2021 Aug 04 3:56 AM
Hi Ronaldo,
In order to store the change log history, you can write a custom event in the Table Maintenance View to log the change history after saving the table entries:
Please refer documentation about Extended Table Maintenance Events: Event 02: After Saving the Data in the Database
Read the full documentation: https://help.sap.com/saphelp_470/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
Thanks & Stay Safe
~Kaushalya