Application Development 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: 

defaulting a field in SE11

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

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!