Skip to Content
0
Former Member
Jul 18, 2005 at 03:26 PM

date range

11 Views

Hi folks,

here is the scenario..

SELECT-OPTIONS wdate FOR SY-DATUM.

suppose I enter the date range as 7/11/05 (wdate-low) and 7/17/05 (end date - wdate-high)

w_date = wdate-high.

  • write: 'the current date', w_date.

write: w_date to to_date ddmmyy.

I need to determine the from_date which is 120 days subtracted from the to_date in this case it should be

4/17/2005

How should I be doing that?

thanks

Santhosh