2008 Jul 29 8:04 PM
Hi,
I have a table which contains the fields USER_NAME and DATE_CHANGED_AT.
here's what i want to do:
When we use se16 to enter data into the table, i want these fields to have default values .
user_name should contain the currently logged in user.
date_changed_at should contain todays date.
The aim is to eventually have these fields contain the person who last changed the row and the date when it was changed.
It doesnt matter if se16 doesnt contain it and we have a way of defaulting these values thru the table creation process.
something similar to the mandt field. When we create the table data, MANDT field is pre-populated.
Any thoughts?
Regards
Vandana
2008 Jul 29 8:10 PM
Hi,
I have a table which contains the fields USER_NAME and DATE_CHANGED_AT.
here's what i want to do:
When we use se16 to enter data into the table, i want these fields to have default values .
user_name should contain the currently logged in user.
date_changed_at should contain todays date.
The aim is to eventually have these fields contain the person who last changed the row and the date when it was changed.
It doesnt matter if se16 doesnt contain it and we have a way of defaulting these values thru the table creation process.
something similar to the mandt field. When we create the table data, MANDT field is pre-populated.
Any thoughts?
Regards
Vandana
2008 Jul 29 8:10 PM
2008 Jul 29 8:19 PM
Hi Ravi,
I agree that it is not a good practice...
but is there no direct way to do this..
Regards
Vandana
2008 Jul 29 8:21 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |