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: 

Function module for date

Former Member
0 Kudos

Hi,

Is there any function module available which can "Check if the current day is the first working day of the week based on factory calander id " ?

Thanks in advance.

2 REPLIES 2

Former Member
0 Kudos

Hi,

try these .

CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'

EXPORTING

DATE = DATE_1

FACTORY_CALENDAR_ID = FACCALID

IMPORTING

FACTORYDATE = FAC_DATE_1 .

FAC_DATE_2 = ABS( FAC_DATE_1 + BIZ_DAYS ).

CALL FUNCTION 'FACTORYDATE_CONVERT_TO_DATE'

EXPORTING

factorydate = FAC_DATE_2

factory_calendar_id = FACCALID

IMPORTING

DATE = DATE_2

Regards

Mudit

former_member585060
Active Contributor
0 Kudos

Hi,

Try

DATE_CHECK_WORKINGDAY

Regards

Bala Krishna