Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default table field values

Former Member
0 Likes
304

Hi all,

I have a new table with date and time fields.

When a user wants to add a new record (I have made a view) I would like to give default date and time values.

how do I do that?

Greetings Fred.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
276

How are you entering data into the table, if programmitcally, then you can add the data for those extra fields before saving the data.

If you are using standard table maint. SM30, you can make use of the events of the table main.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-87652872...

Regard,s

Ravi

note - Please mark all the helpful answers

2 REPLIES 2
Read only

Former Member
0 Likes
277

How are you entering data into the table, if programmitcally, then you can add the data for those extra fields before saving the data.

If you are using standard table maint. SM30, you can make use of the events of the table main.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-87652872...

Regard,s

Ravi

note - Please mark all the helpful answers

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
276

Hi,

You need to table maintenace events for this purpose.

Check this link for more information.

http://help.sap.com/saphelp_47x200/helpdata/en/a7/51365d407a11d1893b0000e8323c4f/frameset.htm

Message was edited by:

Jayanthi Jayaraman