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: 

How to see particular day in report Ex: 12.08.2007 is friday

Former Member
0 Kudos

How to see particular day in report Ex: 12.08.2007 is Friday

3 REPLIES 3

former_member588853
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Use FM <b>DATE_TO_DAY</b>.

<b>Reward Points for useful answers</b>

Regards,

Amit

Former Member
0 Kudos

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.