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 create New Calander

Former Member
0 Kudos

Dear Pals,

Please let me know, how to create New Calander to configure to suit Indian working days and holidays.

Regards

Madhu Vaddi

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

Tcode: SCAL

Former Member
0 Kudos

Hi Madhu,

Check this thread with same topic:

Regards,

Chandra Sekhar