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

regarding modulepool programming

Former Member
0 Likes
556

hai sdn members,

goodday,

i have developed a gui screen ,in that screen i have a date field ,in that field i have to update the data in such a way that , the given date should 30days to the present date and save it in data base , can any one suggest me coding

thanks.

Shaik.Elias

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
535

elias

Simply add 30 to the date.

my_date = sy-datum + 30.

3 REPLIES 3
Read only

Former Member
0 Likes
536

elias

Simply add 30 to the date.

my_date = sy-datum + 30.

Read only

Former Member
0 Likes
535

Hi,

Simply we have to add 30 to the Present date what u are entering.

madhavi

Read only

Former Member
0 Likes
535

data: my_date type sy-datum.

my_date = sy-datum + 30.

after updating your data table

clear: my_date

reward if useful