2008 Sep 20 3:01 PM
Dear Pals,
Please let me know, how to create New Calander to configure to suit Indian working days and holidays.
Regards
Madhu Vaddi
2008 Sep 20 3:16 PM
Hi,
try this function modules
1>
BKK_ADD_WORKINGDAY
IMPORTING
VALUE(I_DATE) TYPE SY-DATUM
VALUE(I_DAYS) TYPE I
VALUE(I_CALENDAR1) TYPE TFACD-IDENT OPTIONAL
VALUE(I_CALENDAR2) TYPE TFACD-IDENT OPTIONAL
EXPORTING
VALUE(E_DATE) TYPE SY-DATUM
VALUE(E_RETURN) TYPE SY-SUBRC
2>
FKK_ADD_WORKINGDAY
IMPORTING
VALUE(I_DATE) TYPE SY-DATUM
VALUE(I_DAYS) TYPE I
VALUE(I_CALENDAR1) TYPE TFACD-IDENT OPTIONAL
VALUE(I_CALENDAR2) TYPE TFACD-IDENT OPTIONAL
EXPORTING
VALUE(E_DATE) TYPE SY-DATUM
VALUE(E_RETURN) TYPE SY-SUBRC
3>
WDKAL_DATE_ADD_FKDAYS
IMPORTING
VALUE(I_DATE) LIKE SY-DATLO
VALUE(I_FKDAY) LIKE MDCAL-FKDAY
VALUE(I_FABKL) LIKE TFACD-IDENT
EXPORTING
VALUE(E_DATE) LIKE SY-DATLO
VALUE(E_FKDAY) LIKE MDCAL-FKDAY
EXCEPTIONS
ERROR
and also try this t-code for creating calender SCAL
These tables can also help
TFACD Factory calendar definition
TFACS Factory calendar (display)
thank u
regards
chinni
2008 Sep 21 3:10 AM
2008 Sep 22 8:14 AM
2008 Sep 22 8:22 AM