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: 

Automatica change of date over the selection screen without any coding

Former Member
0 Kudos

Hi,

My requirement is that the date field over the selection screen should automatically change after a week/period on the basis of some calculation, I did by coding but client is not agree

for any type of coding.

Does there is any way to solve this without coding?

Regards

Prince

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can can take the type of the Date field as

Parameters: date type sy-datum DEFAULT Sy-datum.

sy-datum is current system date.

In this Case in selection-screen always display the Current date.

If you want Date of 1 week later then in INITIALIZATION write

date = sy-datum + 7.

Hope it will help you.

Regards,

Sujit

Former Member
0 Kudos

Hi,

Go to the variants of the program. in the date fields, "Selection variable" select 'D - Dynamic date calculation'. In the field: 'Name of variable (Input only Using F4)' select appropriate requirement, like current date or current date +/- ??? days or as needed.

Regards,

Subramanian

0 Kudos

This can be done using the variant of the program. DO NOT WRITE CODE IN ANY PROGRAM EVENT.