01-08-2009 6:37 AM
Dear experts,
Greetings.
My requirement is to default a date field in my table. When we create entries in SE11 like MANDT field my date field should also be defaulted to today's date. Kindly suggest me how to achieve this.
Thanks and regards
Sathya
01-08-2009 6:43 AM
Hi,
For eg : You have a table maintenance generator for your table.
Then go to the Function Group and then find out the screen where your generator is placed
Now in the PAI there will be chain and endchain ( inside this the fields will be available ).
One important thing is in your screen , the field attribute for the date field should be Invisible.
Now in chain and endchain, module XXXXX.
go and update the table-date = sy-datum.
then automatically it will update the current date in your data base.
SO where ever the table is getting updated you need to follow these steps.
Regards,
Venkatesh
01-08-2009 6:43 AM
Hi,
For eg : You have a table maintenance generator for your table.
Then go to the Function Group and then find out the screen where your generator is placed
Now in the PAI there will be chain and endchain ( inside this the fields will be available ).
One important thing is in your screen , the field attribute for the date field should be Invisible.
Now in chain and endchain, module XXXXX.
go and update the table-date = sy-datum.
then automatically it will update the current date in your data base.
SO where ever the table is getting updated you need to follow these steps.
Regards,
Venkatesh
01-08-2009 3:09 PM
01-16-2009 10:08 PM
Hi,
Please create a Table Maintenance Event for this. You can default today's date in your date field using TME. Hope this helps!
Thanks!