2006 May 08 9:50 PM
can any one provide me function module for getting fiscal year week numbers ? if no function module please let me know work around.
Thanks!
Lakshmikandh
can any one provide me function module for getting fiscal year week numbers ? if no function module please let me know work around.
Thanks!
Lakshmikandh
2006 May 08 9:54 PM
What do you mean by fiscal year week numbers? The number of the current week in the current fiscal year?
2006 May 08 9:58 PM
2006 May 08 10:04 PM
Hi guys,
Thanks for the reply. lets say, fiscal year start with mar 06 first week will be Week # 1, if i would like to findout week # for May 06, how do i find out ?
2006 May 08 10:05 PM
Also see
GET_WEEK_INFO_BASED_ON_DATE
call function 'DATE_GET_WEEK'
exporting
date = sy-datum
importing
week = year_week
EXCEPTIONS
DATE_INVALID = 1
OTHERS = 2
Hope thisll give you idea!!
<b>P.S award the points.!!! !!!</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"
2006 May 08 10:14 PM
hi,
Use FM <b>'DATE_GET_WEEK'</b>...
parameter D1 LIKE SCAL-DATE.
Data w like scal-week.
CALL FUNCTION <b>'DATE_GET_WEEK'</b>
EXPORTING
date = D1
IMPORTING
WEEK = W
EXCEPTIONS
DATE_INVALID = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write W+4(2).
Regards,
Santosh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |