I am having a requirement here. I am maintaining some entries in a table using sm30 transaction code. I had written some code in order to populate the created by, changed by, date and time fields when ever an entry is made or changed.
But when I am copying an existing entry into a new one..then change the values...the created by, time and date fields and having the values of the original records and only the changed by, date and time fields are been populated.
I want to populate the created by, date and time fields even when a record is copied.
'action-status' code is same though when a record is changed or copied. Please suggest.