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

Screens

Former Member
0 Likes
488

I need to give current date into a date field by default.How do I do it?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
466

Hi,

1) pass SY-DATUM to that field,

2) or declare the Field Default SY-DATUM

regards

Sudheer

I need to give current date into a date field by default.How do I do it?

2 REPLIES 2
Read only

Former Member
0 Likes
467

Hi,

1) pass SY-DATUM to that field,

2) or declare the Field Default SY-DATUM

regards

Sudheer

Read only

Former Member
0 Likes
466

If it is in the selection screen give that in the initilization event.

INITILIZATION.

p_date = sy-datum.

If it in the Screen pass that in the PBO module.

If ws_date is initial.

ws_date = sy-datum.

endif.