05-03-2006 2:17 PM
Hi all,
Please help me know the function module to find the no. of working days in a factory calendar for a particular period?
Thanking you all in advance,
Chandra Sekhar
05-03-2006 2:18 PM
05-03-2006 2:18 PM
05-03-2006 2:20 PM
05-03-2006 2:28 PM
05-03-2006 2:33 PM
hi,
Get the next 'n'th working day where n = xv_days
CALL FUNCTION 'FKK_ADD_WORKINGDAY'
EXPORTING
i_date = xv_date
i_days = xv_days
i_calendar1 = gc_factory_cal
IMPORTING
e_date = yv_new_date.
Check if day passed is a holiday
CALL FUNCTION 'ISU_CHECK_HOLIDAY'
EXPORTING
i_date = xv_date
i_calendar1 = gc_factory_cal
IMPORTING
e_x_no_workingday = flg_non_work
e_x_is_holiday = flg_hol
EXCEPTIONS
not_found = 1
calendar_error = 2
OTHERS = 3.
Hi use this function module ur problem will be solved.
<b>Please close the thread if the problem is solved & mark Helfull answers</b>
Regards