cancel
Showing results for 
Search instead for 
Did you mean: 

second working day of a month

Former Member
0 Kudos

hello abaper,

Cud u pls tel me how to get second working date of any month

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Check this FM:

BKK_GET_NEXT_WORKDAY

It returns the next working day based on the provided factory calender.

If the date entered (or today) is a workingday, it returns today

Hope its helps

Former Member
0 Kudos

Function group Function group short text

**********************************************************************************

Function Module Name Short text for function module

**********************************************************************************

CATSXT_UTIL

CATSXT_GET_HOLIDAYS

DTCO

CHECK_HOLIDAY

COLLECT_HOLIDAY_DT

FB00

BKK_CHECK_HOLIDAY

HRFBN00GENERAL Function Group for FBN FMs

HR_FBN_GET_HOLIDAY_PLAN_COST Display FlexBen Holiday Cost in IT0377

HRFBN00MISCEL Function Group for Misce. Plans FBN

HR_FBN_UPDATE_HOLIDAY_QUOTA Anmeldung eines Mitarbeiters für Sonstige Pläne

HRPAYBE_SRD_UN05

HR_BE_DAQ_UN05_NATUDAY_HOLIDAY Get nature of day

HR_BE_UN05_PUBLIC_HOLIDAY Get replacement day for public holiday falling on a day-

off

HRPAYDETM01

HR_DE_CHECK_HOLIDAY

HR_DE_GET_HOLIDAY

HR_DE_REMOVE_HOLIDAY_FROM_LIST

HRTIM00FORMS

HR_FORMS_READ_HOLIDAYS

RHBD

RH_REQUEST_ON_BEFOREHOLIDAYS

RH_REQUEST_ON_HOLIDAYS

RPTM

RP_GET_REMAINING_HOLIDAY

SALP_UI User Interface for PerfDB

SALP_UI_F4_HOLIDAY f4-help for holiday & factory calendar

SCA5 Calendar: Additional functions

HOLIDAY_CALENDAR_GET

HOLIDAY_GET

SCAL Calendar functions

HOLIDAY_CHECK_AND_GET_INFO Calendar function: Public holiday check with information

SCTR Transport public holiday texts

HOLIDAYTEXT_CORRECT_KEY

HOLIDAYTEXT_FIND_OUT_RULES

SFT1 CHDO HOLIDAY => Gen. by RSSCD000

HOLIDAY_WRITE_DOCUMENT CHDO HOLIDAY => Gen. by RSSCD000

SFT2 CHDO HOLIDAYCAL => Gen. by RSSCD000

HOLIDAYCAL_WRITE_DOCUMENT CHDO HOLIDAYCAL => Gen. by RSSCD000

WSAF

WSAF_OUTBOUND_PUBHOLIDAYS

try these...

ALSO

Date, Month and Popup Related Function Modules

Date/Month Related Function Modules:

DATE_COMPUTE_DAY u2013 Finds day of the month

DATE_CONV_EXT_TO_INT - user formatted date is converted to system date

DATE_GET_WEEK - convert date into year + week format

DATE_TO_DAY u2013 gives weekday from date

DATE_IN_FUTURE u2013 takes number of days and date - gives future date in user format and system format

MONTH_PLUS_DETERMINE u2013 add or subtract month from a date

RH_GET_DATE_DAYNAME - return the day based on the date provied

DATE_COMPUTE_DAY

DATE_TO_DAY

RP_CALC_DATE_IN_INTERVAL_SG u2013 add/subtract year/month/days from a date

DAY_ATTRIBUTES_GET

WEEK_GET_FIRST_DAY u2013 take input as YYYYWW and it gives first day of the week.

MONTH_NAMES_GET u2013 language is only parameter. Returns internal table with months.

MONTH_PLUS_DETERMINE u2013 subtract months from date

Former Member
0 Kudos

Hi,

Any way the month starts with 1 right and if you have saturday and sunday is holiday put the condition and check whether 1st of the month is coming as saturaday or sunday or monday or friday. u hav to check for 4 conditions. before that find out the day of the date 1st.

if 1st is saturday or friday then the second wrkng date 'll be 4th.

elseif 1st is on sunday then the second wrkng day 'll be 3rd.

elseif 1st is monday then second wrkng day 'll be 2nd.

Thanks,

Arunprasad.P