To keep a log of table entries : One of the practice is
1.) Add three fields at the end of the table
a.) Name - sy-uname
b.) Date - sy-datum
c.) Time - sy-uzeit
2.) Create the table maintenance generator program.
3.) Get the name of the table maintenance program SAPLZ(table name).
4.) GO to SE51 with this program name and add two performs in PBO and PAI module respectively.
5.) In PBO section add the perform for restriction of table entries , just before the endloop.
MODULE restrict_zzz OUTPUT.
LOOP AT SCREEN.
CHECK SCREEN-GROUP1 = 'ZZZ'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
ENDMODULE. " restrict_zzz OUTPUT
6.) In PAI section add the perform for capturing the relevant data( name/date/time).
MODULE add_details INPUT.
zabb-uname = sy-uname.
zabb-datum = sy-datum.
ZABB-UZEIT = SY-UZEIT.
ENDMODULE. " add_details INPUT
7.) GO to SE51 --> Element List ---> Mod/Group functions--->IN group 1 field for our additional fields add "ZZZ".
p.s : This tip contributed by Satinder pal Singh.