‎2009 Oct 29 12:14 PM
Hi Friends,
actually my client requriment is need to update the system time(sy-datum) and user name (sy-uname) automatically when ever the user enters the new record by using the sm30(with out enter the sy-name and sy-datum information). after click on save button,
the record should be update with the sy-datum and sy-uanme.
in this case, i have created the one custom table and maininted the table maintance genarator.
also i have created the table events(5. Creating Entry).
The above case is working fine.
Now my user required one more future,
when ever user delete the sy-datum or user name values in the exising record, that time he needs the sy-datum and sy-uname automatic updation in the table(zsample)
Can you please tell me the event name in table event.
can you please guide me how to pass the sy-datum and sy-uname to the custom table fields(zsample-date and zsample-time).
Thanks
Charan.
Moderator message - Duplicate post locked
Edited by: Rob Burbank on Oct 29, 2009 9:23 AM
‎2009 Oct 29 12:23 PM
Hi,
this is another option (different from the table events approach):
http://wiki.sdn.sap.com/wiki/display/stage/ABAP-DataChangeTrackerforCustom+Tables
http://sample-code-abap.blogspot.com/2008/02/applying-change-document-technique-on.html
Best regards.
Edited by: Pablo Casamayor on Oct 29, 2009 1:24 PM