Hi frnds,
I have checked ur solution but my requirement is like i have to use ranges which i have tried the same way as u suggested and got it.
now i m in confusion that how shuld use these ranges in parameters.
and eventually use these in the select statement where condition.
what i have done i m putting through.
<code>
ranges : date1 for sy-datum,
date2 for sy-datum.
date1-sign = 'I'.
date1-option = 'BT'.
date1-low = sy-datum + 1. "tommorrows date
date1-high = sy-datum + 60. "60 days later.
APPEND date1.
date2-sign = 'I'.
date2-option = 'BT'.
date2-low = date1-low + 61. "61days after of tomorrow
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
months = '6'
olddate = date2-low
IMPORTING
NEWDATE = date2-high.
APPEND date2.
so any help frnd.
regards,
satish