Application Development and Automation 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: 
Read only

Function module for date

Former Member
0 Likes
439

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
Read only

Former Member
0 Likes
406

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

Read only

former_member585060
Active Contributor
0 Likes
406

Hi,

Try

DATE_CHECK_WORKINGDAY

Regards

Bala Krishna