08-29-2007 1:09 PM
08-29-2007 1:15 PM
Hi,
use the FM " DATE_TO_DAY".
Copy paste the program below..
<b>
parameters : p_date type sydatum.
data: Lv_day type DTRESR-WEEKDAY.
CALL FUNCTION 'DATE_TO_DAY'
EXPORTING
date = p_date
IMPORTING
WEEKDAY = lv_day
.
write lv_day.</b>
rewards if useful,
regards,
nazeer
08-29-2007 1:16 PM
Hi,
Use FM <b>DATE_TO_DAY</b>.
<b>Reward Points for useful answers</b>
Regards,
Amit
08-29-2007 1:17 PM
Hi bhabni,
1. I understand you want to detect the DAY - monday, tuesday etc..
for a date.
2. Then we can use the FM - DAY_ATTRIBUTES_GET.
regards,
amit m.