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: 

No.of.Working days in factory calendar

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

LucianoBentiveg
Active Contributor
0 Kudos

Try HOLIDAY_GET.

4 REPLIES 4

LucianoBentiveg
Active Contributor
0 Kudos

Try HOLIDAY_GET.

Former Member
0 Kudos

hi sekhar

check this below link

u can also have a look into these links

i think it is useful for u

Regards

Naveen

Former Member
0 Kudos

Thank you guys....

Former Member
0 Kudos

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