2006 May 13 12:11 PM
using select-options, i have to write 1st date of the current date as low and last date of the current month as high value.Can u help me out??
2006 May 13 12:14 PM
1st date of current month as lower value and last date of current month as higher value.
1st date of current month as lower value and last date of current month as higher value.
2006 May 13 12:14 PM
1st date of current month as lower value and last date of current month as higher value.
2006 May 13 12:21 PM
select-options: s_date for sy-datum.
initialization.
s_date-sign = 'I'.
s_date-option = 'BT'.
s_date-low = sy-datum.
call function 'LAST_DAY_OF_MONTHS'
exporting
day_in = sy-datum
importing
LAST_DAY_OF_MONTH = s_date-high
EXCEPTIONS
DAY_IN_NO_DATE = 1.
append s_date.
2006 May 13 12:28 PM
the lower date value must be the first date of the current month,but here u mentioned it as current date??
2006 May 13 12:30 PM
Hi,
Make small change to the code...
select-options: s_date for sy-datum.
DATA date LIKE sy-datum.
initialization.
s_date-sign = 'I'.
s_date-option = 'BT'.
date = sy-datum.
date+6(2) = '01'.
s_date-low = date.
call function 'LAST_DAY_OF_MONTHS'
exporting
day_in = sy-datum
importing
LAST_DAY_OF_MONTH = s_date-high
EXCEPTIONS
DAY_IN_NO_DATE = 1.
append s_date.Ps: Reward helpful posts.
Regards,
Wenceslaus.
2006 May 13 12:30 PM
lv_firstdate = sy-datum.
lv_firstdate+6(2) = '01'.
s_date-low = lv_firstdate.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |