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: 

regarding modulepool programming

Former Member
0 Kudos

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

Former Member
0 Kudos

elias

Simply add 30 to the date.

my_date = sy-datum + 30.

3 REPLIES 3

Former Member
0 Kudos

elias

Simply add 30 to the date.

my_date = sy-datum + 30.

Former Member
0 Kudos

Hi,

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

madhavi

Former Member
0 Kudos

data: my_date type sy-datum.

my_date = sy-datum + 30.

after updating your data table

clear: my_date

reward if useful