‎2007 May 24 11:44 PM
I am trying to include the current system date into a database view. This field must always reflect the current date that the view is queried.
Is there a system table with the system date that I can include in this view.
Thank you.
‎2007 May 24 11:47 PM
‎2007 May 24 11:54 PM
‎2007 May 25 12:21 AM
Hi Sudeep,
You cannot create a field which has a pre defined value(current date as in your case).
You maust write logic in the program that enters the data into that table/view to default the sy-datum whenever a new record is created.
For example if you use a table maintenance generator for the view, you have to proceed this way:
Regards,
Ravi
‎2007 May 25 12:32 AM
System date is a runtime value and not stored in any table. You will have to write your own logic to fill that column with system date. Use maintenance generator's events feature(SE54).